Incorrect Calculation of Buffer Size Affecting gnupg2 package, versions *


0.0
low

Snyk CVSS

    Attack Complexity High

    Threat Intelligence

    EPSS 0.43% (75th percentile)
Expand this section
NVD
5.5 medium
Expand this section
Red Hat
2.9 low

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk ID SNYK-CENTOS7-GNUPG2-1942430
  • published 26 Jul 2021
  • disclosed 13 Feb 2015

How to fix?

There is no fixed version for Centos:7 gnupg2.

NVD Description

Note: Versions mentioned in the description apply only to the upstream gnupg2 package and not the gnupg2 package as distributed by Centos. See How to fix? for Centos:7 relevant fixed versions and status.

kbx/keybox-search.c in GnuPG before 1.4.19, 2.0.x before 2.0.27, and 2.1.x before 2.1.2 does not properly handle bitwise left-shifts, which allows remote attackers to cause a denial of service (invalid read operation) via a crafted keyring file, related to sign extensions and "memcpy with overlapping ranges."