Input validation error in GnuPG - CVE-2015-1607
Published: November 20, 2019 / Updated: July 17, 2020
Vulnerability details
The vulnerability allows a local non-authenticated attacker to perform a denial of service (DoS) attack.
kbx/keybox-search.c in GnuPG before 1.4.19, 2.0.x before 2.0.27, and 2.1.x before 2.1.2 does not properly handle bitwise left-shifts, which allows remote attackers to cause a denial of service (invalid read operation) via a crafted keyring file, related to sign extensions and "memcpy with overlapping ranges."
Affected software
Ubuntu
gnupg1 (Alpine package)
gnupg (Alpine package)
gnupg (Ubuntu package)
gnupg2 (Ubuntu package)
How to mitigate CVE-2015-1607
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
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=2183683bd633818dd031b090b5530951de76f392
- http://www.openwall.com/lists/oss-security/2015/02/13/14
- http://www.openwall.com/lists/oss-security/2015/02/14/6
- http://www.securityfocus.com/bid/72610
- http://www.ubuntu.com/usn/usn-2554-1/
- https://blog.fuzzing-project.org/5-Multiple-issues-in-GnuPG-found-through-keyring-fuzzing-TFPA-0012015.html
- https://lists.gnupg.org/pipermail/gnupg-announce/2015q1/000361.html
- https://lists.gnupg.org/pipermail/gnupg-announce/2015q1/000362.html
- https://lists.gnupg.org/pipermail/gnupg-announce/2015q1/000363.html