Affected versions
Ubuntu14.04:LTS/gnupg2
- Affected versions
- <2.0.22-3ubuntu1.4
- Fixed version
- 2.0.22-3ubuntu1.4
Ubuntu14.04:LTS/gnupg
- Affected versions
- <1.4.16-1ubuntu2.5
- Fixed version
- 1.4.16-1ubuntu2.5
Ubuntu16.04:LTS/enigmail
- Affected versions
- *
- Fixed version
- Not reported
Ubuntu16.04:LTS/gnupg2
- Affected versions
- <2.1.11-6ubuntu2.1
- Fixed version
- 2.1.11-6ubuntu2.1
Ubuntu16.04:LTS/gnupg
- Affected versions
- <1.4.20-1ubuntu3.2
- Fixed version
- 1.4.20-1ubuntu3.2
Ubuntu18.04:LTS/enigmail
- Affected versions
- *
- Fixed version
- Not reported
Ubuntu18.04:LTS/gnupg2
- Affected versions
- <2.2.4-1ubuntu1.1
- Fixed version
- 2.2.4-1ubuntu1.1
Ubuntu18.04:LTS/python-gnupg
- Affected versions
- <0.4.1-1ubuntu1.18.04.1
- Fixed version
- 0.4.1-1ubuntu1.18.04.1
Ubuntu20.04:LTS/enigmail
- Affected versions
- *
- Fixed version
- Not reported
Ubuntu22.04:LTS/enigmail
- Affected versions
- *
- Fixed version
- Not reported
- Affected versions
- <0.3.6-1ubuntu0.1~esm1
- Fixed version
- 0.3.6-1ubuntu0.1~esm1
- Affected versions
- <0.3.8-2ubuntu0.1~esm1
- Fixed version
- 0.3.8-2ubuntu0.1~esm1
UbuntuPro:18.04:LTS/gnupg1
- Affected versions
- <1.4.22-3ubuntu2+esm1
- Fixed version
- 1.4.22-3ubuntu2+esm1
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.
Links
- https://dev.gnupg.org/T4012
- https://git.gnupg.org/cgi-bin/gitweb.cgi?p=gnupg.git;a=commit;h=210e402acd3e284b32db1901e43bf1470e659e49
- https://git.gnupg.org/cgi-bin/gitweb.cgi?p=gnupg.git;a=commit;h=2326851c60793653069494379b16d84e4c10a0ac
- https://lists.gnupg.org/pipermail/gnupg-announce/2018q2/000425.html
- https://neopg.io/blog/gpg-signature-spoof/
- https://sourceforge.net/p/enigmail/forum/announce/thread/b948279f/
- https://ubuntu.com/security/CVE-2018-12020
- https://ubuntu.com/security/notices/USN-3675-1
- https://ubuntu.com/security/notices/USN-3675-2
- https://ubuntu.com/security/notices/USN-3675-3
- https://ubuntu.com/security/notices/USN-3964-1
- https://ubuntu.com/security/notices/USN-4839-1
- https://ubuntu.com/security/notices/USN-9100-1
- https://www.cve.org/CVERecord?id=CVE-2018-12020

