Use of Incorrectly-Resolved Name or Reference

Affecting gnupg package, versions <2.2.8-r0

Report new vulnerabilities
Do your applications use this vulnerable package? Test your applications

NVD Description

Note: Versions mentioned in the description apply to the upstream gnupg package. See Remediation section below for Alpine:3.8 relevant versions.

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.

Remediation

Upgrade Alpine:3.8 gnupg to version 2.2.8-r0 or higher.

References

CVSS Score

7.5
high severity
  • Attack Vector
    Network
  • Attack Complexity
    Low
  • Privileges Required
    None
  • User Interaction
    None
  • Scope
    Unchanged
  • Confidentiality
    None
  • Integrity
    High
  • Availability
    None
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N
CVE
CVE-2018-12020
CWE
CWE-706
Snyk ID
SNYK-ALPINE38-GNUPG-340534
Disclosed
08 Jun, 2018
Published
08 Jun, 2018