CVE-2018-12020

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
Link Resource
https://lists.gnupg.org/pipermail/gnupg-announce/2018q2/000425.html Mailing List Vendor Advisory
https://dev.gnupg.org/T4012 Patch Vendor Advisory
http://openwall.com/lists/oss-security/2018/06/08/2 Mailing List Third Party Advisory
https://www.debian.org/security/2018/dsa-4224 Third Party Advisory
https://www.debian.org/security/2018/dsa-4223 Third Party Advisory
https://www.debian.org/security/2018/dsa-4222 Third Party Advisory
http://www.securitytracker.com/id/1041051 Broken Link
https://usn.ubuntu.com/3675-1/ Third Party Advisory
http://www.securityfocus.com/bid/104450 Broken Link
https://usn.ubuntu.com/3675-2/ Third Party Advisory
https://usn.ubuntu.com/3675-3/ Third Party Advisory
https://access.redhat.com/errata/RHSA-2018:2181 Third Party Advisory
https://access.redhat.com/errata/RHSA-2018:2180 Third Party Advisory
https://help.ecostruxureit.com/display/public/UADCE725/Security+fixes+in+StruxureWare+Data+Center+Expert+v7.6.0 Third Party Advisory
http://www.openwall.com/lists/oss-security/2019/04/30/4 Mailing List Third Party Advisory
http://seclists.org/fulldisclosure/2019/Apr/38 Mailing List Third Party Advisory
http://packetstormsecurity.com/files/152703/Johnny-You-Are-Fired.html Third Party Advisory VDB Entry
https://usn.ubuntu.com/3964-1/ Third Party Advisory
https://github.com/RUB-NDS/Johnny-You-Are-Fired/blob/master/paper/johnny-fired.pdf Technical Description Third Party Advisory
https://github.com/RUB-NDS/Johnny-You-Are-Fired Technical Description Third Party Advisory
https://lists.debian.org/debian-lts-announce/2021/12/msg00027.html Mailing List Third Party Advisory
Configurations

Configuration 1

cpe:2.3:o:redhat:enterprise_linux_desktop:7.0:*:*:*:*:*:*:*
cpe:2.3:o:redhat:enterprise_linux_workstation:7.0:*:*:*:*:*:*:*
cpe:2.3:o:redhat:enterprise_linux_server:7.0:*:*:*:*:*:*:*
cpe:2.3:o:redhat:enterprise_linux_desktop:6.0:*:*:*:*:*:*:*
cpe:2.3:o:redhat:enterprise_linux_server:6.0:*:*:*:*:*:*:*
cpe:2.3:o:redhat:enterprise_linux_workstation:6.0:*:*:*:*:*:*:*
cpe:2.3:o:redhat:enterprise_linux_server_eus:7.5:*:*:*:*:*:*:*
cpe:2.3:o:redhat:enterprise_linux_server_tus:7.6:*:*:*:*:*:*:*
cpe:2.3:o:redhat:enterprise_linux_server_eus:7.6:*:*:*:*:*:*:*
cpe:2.3:o:redhat:enterprise_linux_server_aus:7.6:*:*:*:*:*:*:*
cpe:2.3:o:canonical:ubuntu_linux:16.04:*:*:*:lts:*:*:*
cpe:2.3:o:canonical:ubuntu_linux:14.04:*:*:*:lts:*:*:*
cpe:2.3:o:canonical:ubuntu_linux:12.04:*:*:*:esm:*:*:*
cpe:2.3:o:canonical:ubuntu_linux:17.10:*:*:*:*:*:*:*
cpe:2.3:o:canonical:ubuntu_linux:18.04:*:*:*:lts:*:*:*
cpe:2.3:o:canonical:ubuntu_linux:18.10:*:*:*:*:*:*:*
cpe:2.3:o:canonical:ubuntu_linux:19.04:*:*:*:*:*:*:*
cpe:2.3:o:debian:debian_linux:8.0:*:*:*:*:*:*:*
cpe:2.3:o:debian:debian_linux:9.0:*:*:*:*:*:*:*
cpe:2.3:a:gnupg:gnupg:*:*:*:*:*:*:*:*

Information

Published : 2018-06-08 09:29

Updated : 2022-04-18 05:30


NVD link : CVE-2018-12020

Mitre link : CVE-2018-12020

Products Affected
No products.
CWE