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

Configuration 1 (hide)

OR cpe:2.3:o:redhat:enterprise_linux_desktop:6.0:*:*:*:*:*:*:*
cpe:2.3:o:redhat:enterprise_linux_desktop:7.0:*:*:*:*:*:*:*
cpe:2.3:o:redhat:enterprise_linux_server:6.0:*:*:*:*:*:*:*
cpe:2.3:o:redhat:enterprise_linux_server:7.0:*:*:*:*:*:*:*
cpe:2.3:o:redhat:enterprise_linux_server_aus:7.6:*:*:*:*:*:*:*
cpe:2.3:o:redhat:enterprise_linux_server_eus:7.5:*:*:*:*:*:*:*
cpe:2.3:o:redhat:enterprise_linux_server_eus:7.6:*:*:*:*:*:*:*
cpe:2.3:o:redhat:enterprise_linux_server_tus:7.6:*:*:*:*:*:*:*
cpe:2.3:o:redhat:enterprise_linux_workstation:6.0:*:*:*:*:*:*:*
cpe:2.3:o:redhat:enterprise_linux_workstation:7.0:*:*:*:*:*:*:*

Configuration 2 (hide)

OR cpe:2.3:o:canonical:ubuntu_linux:12.04:*:*:*:esm:*:*:*
cpe:2.3:o:canonical:ubuntu_linux:14.04:*:*:*:lts:*:*:*
cpe:2.3:o:canonical:ubuntu_linux:16.04:*:*:*:lts:*:*:*
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:*:*:*:*:*:*:*

Configuration 3 (hide)

OR cpe:2.3:o:debian:debian_linux:8.0:*:*:*:*:*:*:*
cpe:2.3:o:debian:debian_linux:9.0:*:*:*:*:*:*:*

Configuration 4 (hide)

cpe:2.3:a:gnupg:gnupg:*:*:*:*:*:*:*:*

History

18 Apr 2022, 17:30

Type Values Removed Values Added
References (MLIST) https://lists.debian.org/debian-lts-announce/2021/12/msg00027.html - (MLIST) https://lists.debian.org/debian-lts-announce/2021/12/msg00027.html - Mailing List, Third Party Advisory
References (SECTRACK) http://www.securitytracker.com/id/1041051 - Third Party Advisory, VDB Entry (SECTRACK) http://www.securitytracker.com/id/1041051 - Broken Link
References (BID) http://www.securityfocus.com/bid/104450 - Third Party Advisory, VDB Entry (BID) http://www.securityfocus.com/bid/104450 - Broken Link

28 Dec 2021, 23:15

Type Values Removed Values Added
References
  • (MLIST) https://lists.debian.org/debian-lts-announce/2021/12/msg00027.html -

Information

Published : 2018-06-08 21:29

Updated : 2023-12-10 12:30


NVD link : CVE-2018-12020

Mitre link : CVE-2018-12020

CVE.ORG link : CVE-2018-12020


JSON object : View

Products Affected

debian

  • debian_linux

redhat

  • enterprise_linux_server_eus
  • enterprise_linux_server_aus
  • enterprise_linux_server_tus
  • enterprise_linux_server
  • enterprise_linux_workstation
  • enterprise_linux_desktop

gnupg

  • gnupg

canonical

  • ubuntu_linux
CWE
CWE-706

Use of Incorrectly-Resolved Name or Reference