Off-by-one Error Affecting libtasn1 package, versions <4.19-r0


Severity

Recommended
0.0
critical
0
10

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

Threat Intelligence

Exploit Maturity
Not Defined
EPSS
0.36% (73rd 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-ALPINE321-LIBTASN1-8484308
  • published6 Dec 2024
  • disclosed24 Oct 2022

Introduced: 24 Oct 2022

CVE-2021-46848  (opens in a new tab)
CWE-193  (opens in a new tab)

How to fix?

Upgrade Alpine:3.21 libtasn1 to version 4.19-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.21 relevant fixed versions and status.

GNU Libtasn1 before 4.19.0 has an ETYPE_OK off-by-one array size check that affects asn1_encode_simple_der.

CVSS Scores

version 3.1