First published: Fri Jun 08 2018(Updated: )
GnuPG before version 2.2.8 does not properly sanitize original filenames of signed or encrypted messages allowing for the insertion of line feeds and other control characters. An attacker could exploit this by injecting such characters to craft status messages and fake the validity of signatures. External Reference: <a href="https://lists.gnupg.org/pipermail/gnupg-announce/2018q2/000425.html">https://lists.gnupg.org/pipermail/gnupg-announce/2018q2/000425.html</a> Upstream Issue: <a href="https://dev.gnupg.org/T4012">https://dev.gnupg.org/T4012</a> Upstream Patches: <a href="https://dev.gnupg.org/rG2326851c60793653069494379b16d84e4c10a0ac">https://dev.gnupg.org/rG2326851c60793653069494379b16d84e4c10a0ac</a> <a href="https://dev.gnupg.org/rG210e402acd3e284b32db1901e43bf1470e659e49">https://dev.gnupg.org/rG210e402acd3e284b32db1901e43bf1470e659e49</a> <a href="https://dev.gnupg.org/rG13f135c7a252cc46cff96e75968d92b6dc8dce1b">https://dev.gnupg.org/rG13f135c7a252cc46cff96e75968d92b6dc8dce1b</a>
Credit: cve@mitre.org
Affected Software | Affected Version | How to fix |
---|---|---|
redhat/gnupg2 | <2.2.8 | 2.2.8 |
Red Hat Enterprise Linux Desktop | =6.0 | |
Red Hat Enterprise Linux Desktop | =7.0 | |
Red Hat Enterprise Linux Server | =6.0 | |
Red Hat Enterprise Linux Server | =7.0 | |
Red Hat Enterprise Linux Server | =7.6 | |
Red Hat Enterprise Linux Server | =7.5 | |
Red Hat Enterprise Linux Server | =7.6 | |
Red Hat Enterprise Linux Server | =7.6 | |
Red Hat Enterprise Linux Workstation | =6.0 | |
Red Hat Enterprise Linux Workstation | =7.0 | |
Ubuntu | =12.04 | |
Ubuntu | =14.04 | |
Ubuntu | =16.04 | |
Ubuntu | =17.10 | |
Ubuntu | =18.04 | |
Ubuntu | =18.10 | |
Ubuntu | =19.04 | |
Debian Linux | =8.0 | |
Debian Linux | =9.0 | |
GnuPG 2 (Gnu Privacy Guard) | <2.2.8 | |
debian/enigmail | 2:2.2.4-0.3 | |
debian/gnupg1 | 1.4.23-1.1 1.4.23-3 | |
debian/gnupg2 | 2.2.27-2+deb11u2 2.2.40-1.1 2.4.7-15 2.4.7-17 |
Sign up to SecAlerts for real-time vulnerability data matched to your software, aggregated from hundreds of sources.
CVE-2018-12020 is considered a moderate severity vulnerability as it can lead to signature forgery.
To fix CVE-2018-12020, update GnuPG to version 2.2.8 or later.
CVE-2018-12020 affects GnuPG versions prior to 2.2.8 and numerous distributions including Red Hat and Debian.
CVE-2018-12020 is an input validation vulnerability related to improper sanitization of filenames.
Yes, CVE-2018-12020 can potentially be exploited remotely through crafted messages that utilize the vulnerability.