Resource Management Errors Affecting gnupg package, versions [2.0,2.0.17)


Severity

Recommended
0.0
medium
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
15.1% (95th percentile)

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 Learn

Learn about Resource Management Errors vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-UNMANAGED-GNUPG-2336135
  • published12 Jan 2022
  • disclosed5 Aug 2010
  • creditUnknown

Introduced: 5 Aug 2010

CVE-2010-2547  (opens in a new tab)
CWE-400  (opens in a new tab)

How to fix?

Upgrade gnupg to version 2.0.17 or higher.

Overview

Affected versions of this package are vulnerable to Resource Management Errors. Use-after-free vulnerability in kbx/keybox-blob.c in GPGSM in GnuPG 2.x through 2.0.16 allows remote attackers to cause a denial of service (crash) and possibly execute arbitrary code via a certificate with a large number of Subject Alternate Names, which is not properly handled in a realloc operation when importing the certificate or verifying its signature.

CVSS Base Scores

version 3.1