CVE-2018-12020: canonical ubuntu_linux
Vulnerability summary
CVE-2018-12020 is a high (CVSS 7.5) vulnerability in canonical ubuntu_linux. EPSS estimates a 8.25% chance of exploitation in the next 30 days, higher than 94.8% of scored vulnerabilities.
Advisory lineage
Upstream 0 · Downstream 12 · Related 10Timeline
- 08-06-2018PublishedVulnerability first disclosed.
- 05-08-2024Last modifiedVulnerability information updated.
Description
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.
CVSS metrics
8 scores · 7 sources · 3 versions- OSV · AlpineEcosystem advisory · calculated7.5HighCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N
- OSV · UbuntuEcosystem advisory · calculated7.5HighCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N
- OSV · DebianEcosystem advisory · calculated7.5HighCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N
- OSV · WolfiEcosystem advisory · calculated7.5HighCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N
- OSV · ChainguardEcosystem advisory · calculated7.5HighCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N
EPSS trend
Probability
8.25%
Chance of exploitation in the next 30 days
Percentile
95%
Versus all other CVEs
30-day change
-0.30 pp
From 8.55% on 19-09-2026
Known exploited
Compare KEV catalogsNot in any of the 3 tracked catalogs.
Public exploits
0 foundNo public exploits indexed.
Weaknesses
CWE · root causeAffected systems
Suse17 products
- gpg2&distro=SUSE Enterprise Storage 4< 2.0.24-9.3.1
- gpg2&distro=SUSE Linux Enterprise Desktop 12 SP3< 2.0.24-9.3.1
- gpg2&distro=SUSE Linux Enterprise Module for Basesystem 15< 2.2.5-4.3.1
- gpg2&distro=SUSE Linux Enterprise Point of Sale 11 SP3< 2.0.9-25.33.42.3.1
- gpg2&distro=SUSE Linux Enterprise Server 11 SP3-LTSS< 2.0.9-25.33.42.3.1
Redhat9 products
- enterprise_linux_desktop6.0 | 7.0
- enterprise_linux_server6.0 | 7.0
- enterprise_linux_server_aus7.6
- enterprise_linux_server_eus7.5 | 7.6
- enterprise_linux_server_tus7.6
Mageia6 products
- gnupg< 1.4.19-1.4.mga5
- gnupg2< 2.0.27-1.2.mga5
- python-gnupg< 0.3.6-4.1.mga5
- gnupg< 1.4.23-1.mga6
- gnupg2< 2.1.21-3.1.mga6
Ubuntu5 products
- enigmailAll versions (No fix recorded)
- gnupg< 1.4.16-1ubuntu2.5 | < 1.4.20-1ubuntu3.2
- gnupg1All versions (No fix recorded)
- gnupg2< 2.2.4-1ubuntu1.1 | < 2.0.22-3ubuntu1.4 | < 2.1.11-6ubuntu2.1
- python-gnupg< 0.3.6-1ubuntu0.1~esm1 | < 0.3.8-2ubuntu0.1~esm1 | < 0.4.1-1ubuntu1.18.04.1
Debian4 products
- gnupg< 1.4.18-7+deb8u5
- gnupg1< 1.4.22-5 | < 1.4.21-4+deb9u1
- gnupg2< 2.2.8-1 | < 2.0.26-6+deb8u2 | < 2.1.18-8~deb9u2
- debian_linuxEOL8.0 | 9.0
Alpine2 products
- gnupg< 2.2.8-r0 | < 2.1.12-r1 | < 2.1.15-r1 | < 2.2.3-r1
- gnupg1< 1.4.22-r1
Canonical1 product
- ubuntu_linuxEOL12.04 | 14.04 | 16.04 | 17.10 | 18.04 | 18.10 | 19.04
Chainguard1 product
- gnupgAll versions (No fix recorded)
Gnupg1 product
- gnupg< 2.2.8
Wolfi1 product
- gnupgAll versions (No fix recorded)
10 vendors · 47 products
References
49 links- access.redhat.com/errata/RHSA-2018:2180Vendor AdvisoryX Refsource REDHATThird Party AdvisoryAdvisory
- lists.gnupg.org/pipermail/gnupg-announce/2018q2/000425.htmlX Refsource MISCMailing ListVendor AdvisoryWEBARTICLEREPORTAdvisory
- openwall.com/lists/oss-security/2018/06/08/2X Refsource MISCMailing ListThird Party AdvisoryAdvisory
- access.redhat.com/errata/RHSA-2018:2181Vendor AdvisoryX Refsource REDHATThird Party AdvisoryAdvisory
Show all 49 references
- www.openwall.com/lists/oss-security/2019/04/30/4Mailing ListX Refsource MLISTThird Party AdvisoryAdvisory
- packetstormsecurity.com/files/152703/Johnny-You-Are-Fired.htmlX Refsource MISCThird Party AdvisoryVDB EntryAdvisory
- github.com/RUB-NDS/Johnny-You-Are-FiredX Refsource MISCTechnical DescriptionThird Party AdvisoryAdvisory
- github.com/RUB-NDS/Johnny-You-Are-Fired/blob/master/paper/johnny-fired.pdfX Refsource MISCTechnical DescriptionThird Party AdvisoryAdvisory
- lists.debian.org/debian-lts-announce/2021/12/msg00027.htmlMailing ListX Refsource MLISTThird Party AdvisoryAdvisory