Use of Incorrectly-Resolved Name or Reference Affecting gnupg2 package, versions <2.2.8-1
Snyk CVSS
Threat Intelligence
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 ID SNYK-DEBIANUNSTABLE-GNUPG2-340433
- published 8 Jun 2018
- disclosed 8 Jun 2018
Introduced: 8 Jun 2018
CVE-2018-12020 Open this link in a new tabHow to fix?
Upgrade Debian:unstable
gnupg2
to version 2.2.8-1 or higher.
NVD Description
Note: Versions mentioned in the description apply only to the upstream gnupg2
package and not the gnupg2
package as distributed by Debian
.
See How to fix?
for Debian:unstable
relevant fixed versions and status.
mainproc.c in GnuPG before 2.2.8 mishandles the original filename during decryption and verification actions, which allows remote attackers to spoof the output that GnuPG sends on file descriptor 2 to other programs that use the "--status-fd 2" option. For example, the OpenPGP data might represent an original filename that contains line feed characters in conjunction with GOODSIG or VALIDSIG status codes.
References
- https://security-tracker.debian.org/tracker/CVE-2018-12020
- https://help.ecostruxureit.com/display/public/UADCE725/Security+fixes+in+StruxureWare+Data+Center+Expert+v7.6.0
- https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2018-12020
- https://www.debian.org/security/2018/dsa-4222
- https://www.debian.org/security/2018/dsa-4223
- https://www.debian.org/security/2018/dsa-4224
- http://packetstormsecurity.com/files/152703/Johnny-You-Are-Fired.html
- https://dev.gnupg.org/T4012
- https://github.com/RUB-NDS/Johnny-You-Are-Fired
- https://github.com/RUB-NDS/Johnny-You-Are-Fired/blob/master/paper/johnny-fired.pdf
- https://lists.gnupg.org/pipermail/gnupg-announce/2018q2/000425.html
- http://openwall.com/lists/oss-security/2018/06/08/2
- http://www.openwall.com/lists/oss-security/2019/04/30/4
- https://access.redhat.com/errata/RHSA-2018:2180
- https://access.redhat.com/errata/RHSA-2018:2181
- http://seclists.org/fulldisclosure/2019/Apr/38
- http://www.securityfocus.com/bid/104450
- http://www.securitytracker.com/id/1041051
- http://people.ubuntu.com/~ubuntu-security/cve/CVE-2018-12020
- https://usn.ubuntu.com/3675-1/
- https://usn.ubuntu.com/3675-2/
- https://usn.ubuntu.com/3675-3/
- https://usn.ubuntu.com/3964-1/
- https://lists.debian.org/debian-lts-announce/2021/12/msg00027.html