Use-after-free in GnuPG - CVE-2015-1606
Published: November 20, 2019 / Updated: July 17, 2020
Vulnerability details
The vulnerability allows a remote attacker to compromise vulnerable system.
The vulnerability exists due to a use-after-free error when processing a crafted keyring file. A remote attackers can cause a denial of service (invalid read and use-after-free).
Successful exploitation of the vulnerability may allow an attacker to compromise vulnerable system.
Affected software
Amazon Linux AMI
Debian Linux
Ubuntu
gnupg1 (Alpine package)
gnupg (Alpine package)
gnupg (Ubuntu package)
gnupg (Debian package)
gnupg2 (Ubuntu package)
How to mitigate CVE-2015-1606
gnupg1 (Alpine package) - update to 1.4.19-r0
gnupg (Alpine package) - update to 2.0.27-r0
gnupg (Ubuntu package) - addressed in versions 1.4.10-2ubuntu1.8, 1.4.11-3ubuntu2.9, 1.4.16-1ubuntu2.3, 1.4.16-1.2ubuntu1.2
gnupg (Debian package) - addressed in versions 1.4.10-4+squeeze7, 1.4.12-7+deb7u7
gnupg2 (Ubuntu package) - addressed in versions 2.0.17-2ubuntu2.12.04.6, 2.0.22-3ubuntu1.3, 2.0.24-1ubuntu2.2
External References
- http://git.gnupg.org/cgi-bin/gitweb.cgi?p=gnupg.git;a=commit;h=f0f71a721ccd7ab9e40b8b6b028b59632c0cc648
- http://www.debian.org/security/2015/dsa-3184
- http://www.openwall.com/lists/oss-security/2015/02/13/14
- http://www.openwall.com/lists/oss-security/2015/02/14/6
- http://www.securitytracker.com/id/1031876
- https://blog.fuzzing-project.org/5-Multiple-issues-in-GnuPG-found-through-keyring-fuzzing-TFPA-0012015.html