Vulnerability in Gnupg
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.
EPSS: 0.087 (94.5th percentile) — read the EPSS interpretation.
CVSS v3 metric
CVSS v3 base score 7.5 (High). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N.
Affected products
- Gnupg
- Canonical Ubuntu_linux — versions 12.04, 14.04, 16.04
- Debian Debian_linux — versions 8.0, 9.0
- Redhat Enterprise_linux_desktop — versions 6.0, 7.0
- Redhat Enterprise_linux_server — versions 6.0, 7.0
- Redhat Enterprise_linux_server_aus — versions 7.6
- Redhat Enterprise_linux_server_eus — versions 7.5, 7.6
- Redhat Enterprise_linux_server_tus — versions 7.6
- Redhat Enterprise_linux_workstation — versions 6.0, 7.0
- N/a — versions n/a
Weakness classification (CWE)
Public proof-of-concept exploits
References
- cve@mitre.org (x_refsource_UBUNTU, vendor-advisory, Third Party Advisory)
- cve@mitre.org (x_refsource_REDHAT, vendor-advisory, Third Party Advisory)
- cve@mitre.org (Mailing List, x_refsource_MISC, Vendor Advisory)
- cve@mitre.org (Mailing List, Third Party Advisory, x_refsource_MISC)
- cve@mitre.org (vendor-advisory, Third Party Advisory, x_refsource_DEBIAN)
- cve@mitre.org (x_refsource_REDHAT, vendor-advisory, Third Party Advisory)
- cve@mitre.org (x_refsource_CONFIRM, Third Party Advisory)
- cve@mitre.org (vendor-advisory, Third Party Advisory, x_refsource_DEBIAN)
- cve@mitre.org (vdb-entry, Broken Link, x_refsource_BID)
- cve@mitre.org (vendor-advisory, Third Party Advisory, x_refsource_DEBIAN)
Frequently asked questions
- What is CVE-2018-12020?
- CVE-2018-12020 is a high-severity vulnerability in Gnupg, classified under Use of Incorrectly-Resolved Name or Reference. CVSS score: 7.5/10. Published 2018-06-08.
- How severe is CVE-2018-12020?
- High severity. CVSS v3 base score is 7.5 out of 10.
- Is CVE-2018-12020 known to be exploited?
- 6 public proof-of-concept repositories are indexed. Not currently listed in the CISA KEV catalog.