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


Severity

Recommended
medium

Based on Amazon Linux security rating.

Threat Intelligence

Exploit Maturity
Proof of Concept
EPSS
2.43% (85th 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 Learn

Learn about Integer Overflow or Wraparound vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-AMZN201803-CLAMAVMILTER-1711958
  • 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-milter 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-milter package and not the clamav-milter 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].