Use of Incorrectly-Resolved Name or Reference Affecting gnupg2 package, versions <0:2.0.22-5.amzn2.0.2
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-AMZN2-GNUPG2-1663093
- published 27 Sep 2021
- disclosed 8 Jun 2018
Introduced: 8 Jun 2018
CVE-2018-12020 Open this link in a new tabHow to fix?
Upgrade Amazon-Linux:2
gnupg2
to version 0:2.0.22-5.amzn2.0.2 or higher.
This issue was patched in ALAS2-2018-1045
.
NVD Description
Note: Versions mentioned in the description apply only to the upstream gnupg2
package and not the gnupg2
package as distributed by Amazon-Linux
.
See How to fix?
for Amazon-Linux:2
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
- http://www.securityfocus.com/bid/104450
- https://help.ecostruxureit.com/display/public/UADCE725/Security+fixes+in+StruxureWare+Data+Center+Expert+v7.6.0
- http://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://seclists.org/fulldisclosure/2019/Apr/38
- http://openwall.com/lists/oss-security/2018/06/08/2
- 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://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://www.securitytracker.com/id/1041051
- 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