Off-by-one Error Affecting libtasn1-devel package, versions <0:4.16.0-8.el9_1


Severity

Recommended
medium

Based on Rocky Linux security rating.

Threat Intelligence

EPSS
2.84% (87th 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-ROCKY9-LIBTASN1DEVEL-3267298
  • published3 Feb 2023
  • 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 Rocky-Linux:9 libtasn1-devel to version 0:4.16.0-8.el9_1 or higher.
This issue was patched in RLSA-2023:0343.

NVD Description

Note: Versions mentioned in the description apply only to the upstream libtasn1-devel package and not the libtasn1-devel package as distributed by Rocky-Linux. See How to fix? for Rocky-Linux:9 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 Base Scores

version 3.1