CVE-2018-12020

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.
ProviderTypeBase ScoreAtk. VectorAtk. ComplexityPriv. RequiredVector
NISTNIST
7.5 HIGH
NETWORK
LOW
NONE
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N
mitreCNA
---
---
CVEADP
---
---
Base Score
CVSS 3.x
EPSS Score
Percentile: 79%
VendorProductVersion
redhatenterprise_linux_desktop
6.0
redhatenterprise_linux_desktop
7.0
redhatenterprise_linux_server
6.0
redhatenterprise_linux_server
7.0
redhatenterprise_linux_server_aus
7.6
redhatenterprise_linux_server_eus
7.5
redhatenterprise_linux_server_eus
7.6
redhatenterprise_linux_server_tus
7.6
redhatenterprise_linux_workstation
6.0
redhatenterprise_linux_workstation
7.0
canonicalubuntu_linux
12.04
canonicalubuntu_linux
14.04
canonicalubuntu_linux
16.04
canonicalubuntu_linux
17.10
canonicalubuntu_linux
18.04
canonicalubuntu_linux
18.10
canonicalubuntu_linux
19.04
debiandebian_linux
8.0
debiandebian_linux
9.0
gnupggnupg
𝑥
< 2.2.8
𝑥
= Vulnerable software versions
Debian logo
Debian Releases
Debian Product
Codename
enigmail
bullseye
2:2.2.4-0.3
fixed
gnupg1
bookworm
1.4.23-1.1
fixed
bullseye
1.4.23-1.1
fixed
sid
1.4.23-2
fixed
trixie
1.4.23-2
fixed
gnupg2
bullseye (security)
2.2.27-2+deb11u2
fixed
bullseye
2.2.27-2+deb11u2
fixed
bookworm
2.2.40-1.1
fixed
trixie
2.2.44-1
fixed
sid
2.2.45-2
fixed
Ubuntu logo
Ubuntu Releases
Ubuntu Product
Codename
enigmail
noble
dne
mantic
not-affected
lunar
not-affected
kinetic
ignored
jammy
needed
impish
ignored
hirsute
ignored
groovy
ignored
focal
needed
eoan
ignored
disco
ignored
cosmic
ignored
bionic
needed
artful
ignored
xenial
needed
trusty
dne
gnupg
noble
dne
mantic
dne
lunar
dne
kinetic
dne
jammy
dne
impish
dne
hirsute
dne
groovy
dne
focal
dne
eoan
dne
disco
dne
cosmic
dne
bionic
dne
artful
dne
xenial
Fixed 1.4.20-1ubuntu3.2
released
trusty
Fixed 1.4.16-1ubuntu2.5
released
gnupg1
noble
not-affected
mantic
not-affected
lunar
not-affected
kinetic
not-affected
jammy
not-affected
impish
not-affected
hirsute
not-affected
groovy
not-affected
focal
not-affected
eoan
not-affected
disco
ignored
cosmic
ignored
bionic
needed
artful
ignored
xenial
dne
trusty
dne
gnupg2
noble
Fixed 2.2.8-1ubuntu1
released
mantic
Fixed 2.2.8-1ubuntu1
released
lunar
Fixed 2.2.8-1ubuntu1
released
kinetic
Fixed 2.2.8-1ubuntu1
released
jammy
Fixed 2.2.8-1ubuntu1
released
impish
Fixed 2.2.8-1ubuntu1
released
hirsute
Fixed 2.2.8-1ubuntu1
released
groovy
Fixed 2.2.8-1ubuntu1
released
focal
Fixed 2.2.8-1ubuntu1
released
eoan
Fixed 2.2.8-1ubuntu1
released
disco
Fixed 2.2.8-1ubuntu1
released
cosmic
Fixed 2.2.8-1ubuntu1
released
bionic
Fixed 2.2.4-1ubuntu1.1
released
artful
Fixed 2.1.15-1ubuntu8.1
released
xenial
Fixed 2.1.11-6ubuntu2.1
released
trusty
Fixed 2.0.22-3ubuntu1.4
released
python-gnupg
noble
not-affected
mantic
not-affected
lunar
not-affected
kinetic
not-affected
jammy
not-affected
impish
not-affected
hirsute
not-affected
groovy
not-affected
focal
not-affected
eoan
not-affected
disco
not-affected
cosmic
Fixed 0.4.1-1ubuntu1.18.10.1
released
bionic
Fixed 0.4.1-1ubuntu1.18.04.1
released
artful
ignored
xenial
Fixed 0.3.8-2ubuntu0.1~esm1
released
trusty
Fixed 0.3.6-1ubuntu0.1~esm1
released
References