CVE-2017-6891
Two errors in the "asn1_find_node()" function (lib/parser_aux.c) within GnuTLS libtasn1 version 4.10 can be exploited to cause a stacked-based buffer overflow by tricking a user into processing a specially crafted assignments file via the e.g. asn1Coding utility.
What to do
Fixed builds are available from Alpine, Debian, Ubuntu: see the table below for the fixed version per release.
Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.
curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \ -H "Content-Type: text/plain" --data-binary @inventory.txt
Vendor status at a glance
Status by vendor and release
From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.
| Release | Package | Status | Fixed version | Advisory |
|---|---|---|---|---|
| Ubuntu 16.04 | libtasn1-6 | Fixed | 4.7-3ubuntu0.16.04.2 | UBUNTU-CVE-2017-6891 |
| Ubuntu 14.04 | libtasn1-6 | Fixed | 3.4-3ubuntu0.5 | UBUNTU-CVE-2017-6891 |
| Debian 14 | libtasn1-6 | Fixed | 4.10-1.1 | DEBIAN-CVE-2017-6891 |
| Debian 13 | libtasn1-6 | Fixed | 4.10-1.1 | DEBIAN-CVE-2017-6891 |
| Debian 12 | libtasn1-6 | Fixed | 4.10-1.1 | DEBIAN-CVE-2017-6891 |
| Red Hat Enterprise Linux 7 | libtasn1 | Will not fix Will not fix | ||
| Red Hat Enterprise Linux 7 | libtasn1-devel | Will not fix Will not fix | ||
| Red Hat Enterprise Linux 7 | libtasn1-tools | Will not fix Will not fix | ||
| Red Hat Enterprise Linux 6 | libtasn1 | Will not fix Will not fix | ||
| Red Hat Enterprise Linux 6 | libtasn1-devel | Will not fix Will not fix | ||
| Red Hat Enterprise Linux 6 | libtasn1-tools | Will not fix Will not fix | ||
| Alpine Linux 3.6 | libtasn1 | Fixed | 4.10-r1 | ALPINE-CVE-2017-6891 |
| Alpine Linux 3.5 | libtasn1 | Fixed | 4.9-r1 | ALPINE-CVE-2017-6891 |
| Alpine Linux 3.4 | libtasn1 | Fixed | 4.8-r1 | ALPINE-CVE-2017-6891 |
| Alpine Linux 3.3 | libtasn1 | Fixed | 4.7-r2 | ALPINE-CVE-2017-6891 |
What the vendor says
As published in the CVE record by flexera, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.
- Flexera Software LLC GnuTLS libtasn1: affected: 4.10. Other versions may also be affected.
Vendor advisories:
- https://security.gentoo.org/glsa/201710-11 (vendor-advisory)
- http://www.debian.org/security/2017/dsa-3861 (vendor-advisory)
- http://lists.opensuse.org/opensuse-security-announce/2019-06/msg00018.html (vendor-advisory)
References
- https://security.gentoo.org/glsa/201710-11
- http://www.debian.org/security/2017/dsa-3861
- https://secuniaresearch.flexerasoftware.com/advisories/76125/
- https://secuniaresearch.flexerasoftware.com/secunia_research/2017-11/
- http://git.savannah.gnu.org/gitweb/?p=libtasn1.git%3Ba=commit%3Bh=5520704d075802df25ce4ffccc010ba1641bd484
- http://www.securityfocus.com/bid/98641
- http://www.securitytracker.com/id/1038619
- http://lists.opensuse.org/opensuse-security-announce/2019-06/msg00018.html
- https://lists.apache.org/thread.html/rf4c02775860db415b4955778a131c2795223f61cb8c6a450893651e4%40%3Cissues.bookkeeper.apache.org%3E
- https://lists.apache.org/thread.html/r58af02e294bd07f487e2c64ffc0a29b837db5600e33b6e698b9d696b%40%3Cissues.bookkeeper.apache.org%3E
About this page
Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.