CVE-2018-12020
gnupg - security update
7.5
HIGH
CVSS 3.1
EPSS 1.7%
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.
How to fix CVE-2018-12020
To remediate CVE-2018-12020, upgrade the affected package to a fixed version below.
- —upgrade to 2.2.8-r0 or later
- —upgrade to 1.4.22-r1 or later
- —upgrade to 2:2.0.7-1 or later
- —upgrade to 1.4.18-7+deb8u5 or later
- —upgrade to 1.4.22-5 or later
- —upgrade to 1.4.21-4+deb9u1 or later
- —upgrade to 2.2.8-1 or later
- —upgrade to 2.0.26-6+deb8u2 or later
- —upgrade to 0.3.9-1+deb9u1 or later
Is CVE-2018-12020 being exploited?
Low — EPSS is 1.7%, meaning exploitation activity has not been observed at scale.
Affected packages (9)
- from 0, < 2.2.8-r0
- from 0, < 1.4.22-r1
- from 0, < 2:2.0.7-1
- from 0, < 1.4.18-7+deb8u5
- from 0, < 1.4.22-5
- from 0, < 1.4.21-4+deb9u1
- from 0, < 2.2.8-1
- from 0, < 2.0.26-6+deb8u2
- from 0, < 0.3.9-1+deb9u1
CVSS scores
| Source | Version | Severity | Vector |
|---|---|---|---|
| osv | CVSS 3.1 | HIGH7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N |