Input validation error in libtASN1 - CVE-2016-4008
Published: April 17, 2019
Vulnerability details
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.
Affected software
Gentoo Linux
Fedora
libtasn1 (Alpine package)
libtasn1-6 (Debian package)
libtasn1
mingw-libtasn1
IBM Tivoli Storage Manager
How to mitigate CVE-2016-4008
libtasn1 (Alpine package) - update to 3.6-r3
libtasn1-6 (Debian package) - update to 4.2-3+deb8u2
libtasn1 - addressed in versions 4.8-1.fc22, 4.8-1.fc23, 4.8-1.fc24
mingw-libtasn1 - update to 4.12-1.el7
IBM Tivoli Storage Manager - update to 7.1.1.300
External References
- http://git.savannah.gnu.org/gitweb/?p=libtasn1.git;a=commit;h=a6e0a0b58f5cdaf4e9beca5bce69c09808cbb625
- http://git.savannah.gnu.org/gitweb/?p=libtasn1.git;a=commit;h=f435825c0f527a8e52e6ffbc3ad0bc60531d537e
- http://lists.fedoraproject.org/pipermail/package-announce/2016-April/182299.html
- http://lists.fedoraproject.org/pipermail/package-announce/2016-April/182907.html
- http://lists.fedoraproject.org/pipermail/package-announce/2016-April/183221.html
- http://lists.opensuse.org/opensuse-updates/2016-06/msg00047.html
- http://lists.opensuse.org/opensuse-updates/2016-06/msg00097.html
- http://www.debian.org/security/2016/dsa-3568
- http://www.openwall.com/lists/oss-security/2016/04/11/3
- http://www.ubuntu.com/usn/USN-2957-1
- http://www.ubuntu.com/usn/USN-2957-2
- https://lists.gnu.org/archive/html/help-libtasn1/2016-04/msg00009.html
- https://security.gentoo.org/glsa/201703-05