Uncontrolled Recursion Affecting libtasn1 package, versions <4.13-r0


Severity

Recommended
0.0
high
0
10

Snyk's Security Team recommends NVD's CVSS assessment. Learn more

Threat Intelligence

EPSS
1.58% (82nd 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 Uncontrolled Recursion vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-ALPINE322-LIBTASN1-10277917
  • published31 May 2025
  • disclosed22 Jan 2018

Introduced: 22 Jan 2018

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

How to fix?

Upgrade Alpine:3.22 libtasn1 to version 4.13-r0 or higher.

NVD Description

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

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 Base Scores

version 3.1