Input validation error in libtASN1 - CVE-2016-4008

 

Input validation error in libtASN1 - CVE-2016-4008

Published: April 17, 2019


Vulnerability identifier: #VU18291
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:P/U:Green
CVE-ID: CVE-2016-4008
CWE-ID: CWE-20
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 insufficient validation of user-supplied input within the _asn1_extract_der_octet() function in lib/decoding.c when parsing certificates. A remote attacker can supply a specially crafted certificate file and crash the affected application.

Successful exploitation of the vulnerability requires that ASN1_DECODE_FLAG_STRICT_DER flag is not used.


How to mitigate CVE-2016-4008

Install updates from vendor's website.

Sources