Integer Overflow or Wraparound Affecting gpg/libksba package, versions [,1.6.2)


Severity

Recommended
0.0
high
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
1.7% (78th 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 Integer Overflow or Wraparound vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-UNMANAGED-GPGLIBKSBA-3051284
  • published18 Oct 2022
  • disclosed17 Oct 2022
  • creditUnknown

Introduced: 17 Oct 2022

CVE-2022-3515  (opens in a new tab)
CWE-190  (opens in a new tab)

How to fix?

Upgrade gpg/libksba to version 1.6.2 or higher.

Overview

Affected versions of this package are vulnerable to Integer Overflow or Wraparound in the _ksba_ber_read_tl() function in ber-help.c, which could allow code execution when passed a too-long tag length value.

CVSS Base Scores

version 3.1