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.
Published · last modified .
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.
EPSS exploit prediction
EPSS 0.082, 95.0th percentile (scored ); unchanged over 30 days. About EPSS.
Affected products
- Gnupg
- Canonical Ubuntu Linux — versions 12.04, 14.04, 16.04
- Debian Linux — versions 8.0, 9.0
- Red Hat Enterprise Linux Desktop — versions 6.0, 7.0
- Red Hat Enterprise Linux Server — versions 6.0, 7.0
- Red Hat Enterprise Linux Server Aus — versions 7.6
- Red Hat Enterprise Linux Server Eus — versions 7.5, 7.6
- Red Hat Enterprise Linux Server Tus — versions 7.6
- Red Hat Enterprise Linux Workstation — versions 6.0, 7.0
Weakness classification (CWE)
Public exploits and proof-of-concept code
Also mentioned in 6 other repositories (ARPSyndicate/cvemon, giterlizzi/secdb-feeds, hannob/pgpbugs, …). These reference the CVE in a list, notes or a scanner and are not exploit code for it.
References
- USN-3675-2 (vendor-advisory, Third Party Advisory)
- RHSA-2018:2180 (vendor-advisory, Third Party Advisory)
- lists.gnupg.org/pipermail/gnupg-announce/2018q2/000425.html (Mailing List, Vendor Advisory)
- openwall.com/lists/oss-security/2018/06/08/2 (Mailing List, Third Party Advisory)
- DSA-4222 (vendor-advisory, Third Party Advisory)
- RHSA-2018:2181 (vendor-advisory, Third Party Advisory)
- help.ecostruxureit.com/display/public/UADCE725/Security+fixes+in+StruxureWare+D… (Third Party Advisory)
- DSA-4224 (vendor-advisory, Third Party Advisory)
- www.securityfocus.com/bid/104450 (vdb-entry, Broken Link)
- DSA-4223 (vendor-advisory, Third Party Advisory)