Integer Overflow or Wraparound Affecting libclamunrar package, versions <0.99-4ubuntu1


Severity

Recommended
medium

Based on Ubuntu security rating.

Threat Intelligence

Exploit Maturity
Proof of Concept
EPSS
10.11% (96th 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-UBUNTU1804-LIBCLAMUNRAR-284611
  • published22 Jun 2017
  • 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 Ubuntu:18.04 libclamunrar to version 0.99-4ubuntu1 or higher.

NVD Description

Note: Versions mentioned in the description apply only to the upstream libclamunrar package and not the libclamunrar package as distributed by Ubuntu. See How to fix? for Ubuntu:18.04 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].