Integer overflow in UnRar - CVE-2012-6706

 

Integer overflow in UnRar - CVE-2012-6706

Published: September 25, 2017 / Updated: June 17, 2021


Vulnerability identifier: #VU8602
CSH Severity: High
CVSS v4: 8.4 [CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:A/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N]
CVE-ID: CVE-2012-6706
CWE-ID: CWE-190
Exploitation vector: Remote access
Exploit availability: Public exploit is available

Vulnerability details

The vulnerability allows a remote attacker to execute arbitrary code on the target system.

The vulnerability exists due to integer overflow when processing .rar archives in unrar 5.5.4. A remote unauthenticated attacker can create a specially crafted archive, trigger memory corruption and execute arbitrary code on the target system.

Successful exploitation of this vulnerability may result in complete compromise of vulnerable system.

Affected software

UnRar
Gentoo Linux
Arch Linux
Amazon Linux AMI
Fedora
SUSE Linux
Opensuse
clamav (Alpine package)
clamav

How to mitigate CVE-2012-6706

Update to version 5.5.5.

clamav (Alpine package) - update to 0.99.4-r0
clamav - addressed in versions 0.99.4-1.el6, 0.99.4-1.el7, 0.99.4-1.fc26, 0.99.4-1.fc27

Links to Public Exploits and PoC-codes

External References

Related Security Bulletins