Off-by-one in libtASN1 - CVE-2021-46848

 

Off-by-one in libtASN1 - CVE-2021-46848

Published: October 31, 2022


Vulnerability identifier: #VU68858
CSH Severity: Medium
CVSS v4.0: CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N/E:U/U:Green
CVE-ID: CVE-2021-46848
CWE-ID: CWE-193
Exploitation vector: Remote access
Exploit availability: No public exploit available
Vendor: GNU
Affected software:
libtASN1

Detailed vulnerability description

The vulnerability allows a remote attacker to perform a denial of service (DoS) attack.

The vulnerability exists due to an ETYPE_OK off-by-one error in asn1_encode_simple_der in Libtasn1. A remote attacker can pass specially crafted data to the application, trigger an off-by-one error and perform a denial of service (DoS) attack.


How to mitigate CVE-2021-46848

Install updates from vendor's website.

Sources