Input validation error in GnuPG - CVE-2012-6085

 

Input validation error in GnuPG - CVE-2012-6085

Published: January 24, 2013 / Updated: August 11, 2020


Vulnerability identifier: #VU43156
CSH Severity: Medium
CVSS v4: 6.9 [CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:L/VA:L/SC:N/SI:N/SA:N]
CVE-ID: CVE-2012-6085
CWE-ID: CWE-20
Exploitation vector: Remote access
Exploit availability: No public exploit available

Vulnerability details

The vulnerability allows a remote non-authenticated attacker to manipulate or delete data.

The read_block function in g10/import.c in GnuPG 1.4.x before 1.4.13 and 2.0.x through 2.0.19, when importing a key, allows remote attackers to corrupt the public keyring database or cause a denial of service (application crash) via a crafted length field of an OpenPGP packet.


Affected software

GnuPG
Gentoo Linux
dev-libs/libgcrypt
app-crypt/gnupg

How to mitigate CVE-2012-6085

Install update from vendor's website.

dev-libs/libgcrypt - update to 1.5.3
app-crypt/gnupg - update to 2.0.22

External References

Related Security Bulletins