Buffer Overflow Affecting libtasn1 package, versions [,4.13)


Severity

Recommended
0.0
high
0
10

CVSS assessment made by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
1.27% (86th 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 IDSNYK-UNMANAGED-LIBTASN1-2397230
  • published26 Jan 2022
  • disclosed22 Jan 2018
  • creditUnknown

Introduced: 22 Jan 2018

CVE-2018-6003  (opens in a new tab)
CWE-674  (opens in a new tab)

How to fix?

Upgrade libtasn1 to version 4.13 or higher.

Overview

Affected versions of this package are vulnerable to Buffer Overflow. An issue was discovered in the _asn1_decode_simple_ber function in decoding.c in GNU Libtasn1 before 4.13. Unlimited recursion in the BER decoder leads to stack exhaustion and DoS.

CVSS Scores

version 3.1