CVE-2018-12020

EUVD-2018-4011
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
NISTPrimary
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
Base Score
CVSS 3.x
EPSS Score
Percentile: 85%
Affected Products (NVD)
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
bookworm
2.2.40-1.1
fixed
bullseye
2.2.27-2+deb11u2
fixed
bullseye (security)
2.2.27-2+deb11u2
fixed
sid
2.2.45-2
fixed
trixie
2.2.44-1
fixed
Ubuntu logo
Ubuntu Releases
Ubuntu Product
Codename
enigmail
artful
ignored
bionic
needed
cosmic
ignored
disco
ignored
eoan
ignored
focal
needed
groovy
ignored
hirsute
ignored
impish
ignored
jammy
needed
kinetic
ignored
lunar
not-affected
mantic
not-affected
noble
dne
trusty
dne
xenial
needed
gnupg
artful
dne
bionic
dne
cosmic
dne
disco
dne
eoan
dne
focal
dne
groovy
dne
hirsute
dne
impish
dne
jammy
dne
kinetic
dne
lunar
dne
mantic
dne
noble
dne
trusty
Fixed 1.4.16-1ubuntu2.5
released
xenial
Fixed 1.4.20-1ubuntu3.2
released
gnupg1
artful
ignored
bionic
needed
cosmic
ignored
disco
ignored
eoan
not-affected
focal
not-affected
groovy
not-affected
hirsute
not-affected
impish
not-affected
jammy
not-affected
kinetic
not-affected
lunar
not-affected
mantic
not-affected
noble
not-affected
trusty
dne
xenial
dne
gnupg2
artful
Fixed 2.1.15-1ubuntu8.1
released
bionic
Fixed 2.2.4-1ubuntu1.1
released
cosmic
Fixed 2.2.8-1ubuntu1
released
disco
Fixed 2.2.8-1ubuntu1
released
eoan
Fixed 2.2.8-1ubuntu1
released
focal
Fixed 2.2.8-1ubuntu1
released
groovy
Fixed 2.2.8-1ubuntu1
released
hirsute
Fixed 2.2.8-1ubuntu1
released
impish
Fixed 2.2.8-1ubuntu1
released
jammy
Fixed 2.2.8-1ubuntu1
released
kinetic
Fixed 2.2.8-1ubuntu1
released
lunar
Fixed 2.2.8-1ubuntu1
released
mantic
Fixed 2.2.8-1ubuntu1
released
noble
Fixed 2.2.8-1ubuntu1
released
trusty
Fixed 2.0.22-3ubuntu1.4
released
xenial
Fixed 2.1.11-6ubuntu2.1
released
python-gnupg
artful
ignored
bionic
Fixed 0.4.1-1ubuntu1.18.04.1
released
cosmic
Fixed 0.4.1-1ubuntu1.18.10.1
released
disco
not-affected
eoan
not-affected
focal
not-affected
groovy
not-affected
hirsute
not-affected
impish
not-affected
jammy
not-affected
kinetic
not-affected
lunar
not-affected
mantic
not-affected
noble
not-affected
trusty
Fixed 0.3.6-1ubuntu0.1~esm1
released
xenial
Fixed 0.3.8-2ubuntu0.1~esm1
released
References