Integer Overflow or Wraparound Affecting clamav-data-empty package, versions <0:0.99.4-1.29.amzn1


Severity

Recommended
medium

Based on Amazon Linux security rating.

Threat Intelligence

Exploit Maturity
Mature
EPSS
3.76% (92nd percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-AMZN201803-CLAMAVDATAEMPTY-1712386
  • published27 Sept 2021
  • disclosed22 Jun 2017

Introduced: 22 Jun 2017

CVE-2012-6706  (opens in a new tab)
CWE-190  (opens in a new tab)

How to fix?

Upgrade Amazon-Linux:2018.03 clamav-data-empty to version 0:0.99.4-1.29.amzn1 or higher.
This issue was patched in ALAS-2018-976.

NVD Description

Note: Versions mentioned in the description apply only to the upstream clamav-data-empty package and not the clamav-data-empty package as distributed by Amazon-Linux. See How to fix? for Amazon-Linux:2018.03 relevant fixed versions and status.

A VMSF_DELTA memory corruption was discovered in unrar before 5.5.5, as used in Sophos Anti-Virus Threat Detection Engine before 3.37.2 and other products, that can lead to arbitrary code execution. An integer overflow can be caused in DataSize+CurChannel. The result is a negative value of the "DestPos" variable, which allows the attacker to write out of bounds when setting Mem[DestPos].