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.
openwall.com/lists/oss-security/2018/06/08/2
packetstormsecurity.com/files/152703/Johnny-You-Are-Fired.html
seclists.org/fulldisclosure/2019/Apr/38
www.openwall.com/lists/oss-security/2019/04/30/4
www.securityfocus.com/bid/104450
www.securitytracker.com/id/1041051
access.redhat.com/errata/RHSA-2018:2180
access.redhat.com/errata/RHSA-2018:2181
dev.gnupg.org/T4012
github.com/RUB-NDS/Johnny-You-Are-Fired
github.com/RUB-NDS/Johnny-You-Are-Fired/blob/master/paper/johnny-fired.pdf
help.ecostruxureit.com/display/public/UADCE725/Security+fixes+in+StruxureWare+Data+Center+Expert+v7.6.0
lists.debian.org/debian-lts-announce/2021/12/msg00027.html
lists.gnupg.org/pipermail/gnupg-announce/2018q2/000425.html
usn.ubuntu.com/3675-1/
usn.ubuntu.com/3675-2/
usn.ubuntu.com/3675-3/
usn.ubuntu.com/3964-1/
www.debian.org/security/2018/dsa-4222
www.debian.org/security/2018/dsa-4223
www.debian.org/security/2018/dsa-4224