CVE-2018-12020
Last modified
CVE-2018-12020 is a high-severity vulnerability rated 7.5/10 on the CVSS scale. 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 estimates a 8.65% chance of exploitation in the next 30 days.
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.
Metrics
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N
Weakness Enumeration
Affected Software
| Vendor | Product | Versions |
|---|---|---|
| Redhat | Enterprise Linux Desktop | 6.0 |
| Redhat | Enterprise Linux Desktop | 7.0 |
| Redhat | Enterprise Linux Server | 6.0 |
| Redhat | Enterprise Linux Server | 7.0 |
| Redhat | Enterprise Linux Server Aus | 7.6 |
| Redhat | Enterprise Linux Server Eus | 7.5 |
| Redhat | Enterprise Linux Server Eus | 7.6 |
| Redhat | Enterprise Linux Server Tus | 7.6 |
| Redhat | Enterprise Linux Workstation | 6.0 |
| Redhat | Enterprise Linux Workstation | 7.0 |
| Canonical | Ubuntu Linux | 12.04 |
| Canonical | Ubuntu Linux | 14.04 |
| Canonical | Ubuntu Linux | 16.04 |
| Canonical | Ubuntu Linux | 17.10 |
| Canonical | Ubuntu Linux | 18.04 |
| Canonical | Ubuntu Linux | 18.10 |
| Canonical | Ubuntu Linux | 19.04 |
| Debian | Debian Linux | 8.0 |
| Debian | Debian Linux | 9.0 |
| Gnupg | Gnupg | < 2.2.8 |
References
- http://openwall.com/lists/oss-security/2018/06/08/2Mailing List, Third Party Advisory
- http://packetstormsecurity.com/files/152703/Johnny-You-Are-Fired.htmlThird Party Advisory, VDB Entry
- http://seclists.org/fulldisclosure/2019/Apr/38Mailing List, Third Party Advisory
- http://www.openwall.com/lists/oss-security/2019/04/30/4Mailing List, Third Party Advisory
- http://www.securityfocus.com/bid/104450Broken Link
- http://www.securitytracker.com/id/1041051Broken Link
- https://access.redhat.com/errata/RHSA-2018:2180Third Party Advisory
- https://access.redhat.com/errata/RHSA-2018:2181Third Party Advisory
- https://dev.gnupg.org/T4012Patch, Vendor Advisory
- https://github.com/RUB-NDS/Johnny-You-Are-FiredTechnical Description, Third Party Advisory
- https://github.com/RUB-NDS/Johnny-You-Are-Fired/blob/master/paper/johnny-fired.pdfTechnical Description, Third Party Advisory
- https://lists.debian.org/debian-lts-announce/2021/12/msg00027.htmlMailing List, Third Party Advisory
- https://lists.gnupg.org/pipermail/gnupg-announce/2018q2/000425.htmlMailing 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-4222Third Party Advisory
- https://www.debian.org/security/2018/dsa-4223Third Party Advisory
- https://www.debian.org/security/2018/dsa-4224Third Party Advisory
- http://openwall.com/lists/oss-security/2018/06/08/2Mailing List, Third Party Advisory
- http://packetstormsecurity.com/files/152703/Johnny-You-Are-Fired.htmlThird Party Advisory, VDB Entry
- http://seclists.org/fulldisclosure/2019/Apr/38Mailing List, Third Party Advisory
- http://www.openwall.com/lists/oss-security/2019/04/30/4Mailing List, Third Party Advisory
- http://www.securityfocus.com/bid/104450Broken Link
- http://www.securitytracker.com/id/1041051Broken Link
- https://access.redhat.com/errata/RHSA-2018:2180Third Party Advisory
- https://access.redhat.com/errata/RHSA-2018:2181Third Party Advisory
- https://dev.gnupg.org/T4012Patch, Vendor Advisory
- https://github.com/RUB-NDS/Johnny-You-Are-FiredTechnical Description, Third Party Advisory
- https://github.com/RUB-NDS/Johnny-You-Are-Fired/blob/master/paper/johnny-fired.pdfTechnical Description, Third Party Advisory
- https://lists.debian.org/debian-lts-announce/2021/12/msg00027.htmlMailing List, Third Party Advisory
- https://lists.gnupg.org/pipermail/gnupg-announce/2018q2/000425.htmlMailing 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-4222Third Party Advisory
- https://www.debian.org/security/2018/dsa-4223Third Party Advisory
- https://www.debian.org/security/2018/dsa-4224Third Party Advisory
Timeline
- Published
- Last Modified
- Status
- Modified
Frequently Asked Questions
What is CVE-2018-12020?
How severe is CVE-2018-12020?
How do I fix CVE-2018-12020?
How Strix Helps
- How Strix found a critical auth bypass in etcdStrix autonomously discovered a critical authentication bypass in etcd, later designated CVE-2026-33413.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2018
- CVE-2018-12014In all android releases(Android for MSM, Firefox OS for MSM,…
- CVE-2018-12015In Perl through 5.26.2, the Archive::Tar module allows remot…
- CVE-2018-12016libephymain.so in GNOME Web (aka Epiphany) through 3.28.2.1 …
- CVE-2018-12018The GetBlockHeadersMsg handler in the LES protocol implement…
- CVE-2018-12019The signature verification routine in Enigmail before 2.0.7 …
- CVE-2018-1202Dell EMC Isilon versions between 8.1.0.0 - 8.1.0.1, 8.0.1.0 …
- CVE-2018-12021Singularity 2.3.0 through 2.5.1 is affected by an incorrect …
- CVE-2018-12022An issue was discovered in FasterXML jackson-databind prior …7.5
- CVE-2018-12023An issue was discovered in FasterXML jackson-databind prior …
- CVE-2018-12025The transferFrom function of a smart contract implementation…
- CVE-2018-12026During the spawning of a malicious Passenger-managed applica…
- CVE-2018-12027An Insecure Permissions vulnerability in SpawningKit in Phus…
Are you affected by CVE-2018-12020?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
