CVE-2017-6891 json
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-ba…
published 2017-05-22 9 y ago modified 2026-06-17 4 mo ago also EUVD-2017-15945
- cvss
- 8.8
- version 3.1, NVD
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 5.6%
- EPSS 5.6% chance of exploitation in 30 days, percentile 92%
- public exploits
- 0
- none known
Summary
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.
Patch / fix
- libtasn1-6 Debian 14, Debian 13, Debian 12 4.10-1.1
debian advisories DEBIAN-CVE-2017-6891
- libtasn1-6 Ubuntu 14.04 LTS 3.4-3ubuntu0.5
- libtasn1-6 Ubuntu 16.04 LTS 4.7-3ubuntu0.16.04.2
ubuntu advisories UBUNTU-CVE-2017-6891
Ubuntu security data © Canonical Ltd., from https://github.com/canonical/ubuntu-security-notices via OSV; changed: normalised to fixed package versions per release. CC BY-SA 4.0
- libtasn1 SLES 12 SP2-BCL 3.7-13.7.1
- libtasn1 SLES for SAP 12 SP4, SLES for SAP 12 SP3, SLES 12 SP4 +5 more 4.9-3.10.1
- gnutls SLES for SAP 11 SP4, SLES 11 SP4, SLE Software Development Kit 11 SP4 +1 more 2.4.1-24.39.70.1
suse advisories SUSE-SU-2022:3797-1SUSE-SU-2019:1379-1SUSE-SU-2017:1886-1
- libtasn1 Alpine 3.3 4.7-r2
- libtasn1 Alpine 3.4 4.8-r1
- libtasn1 Alpine 3.5 4.9-r1
- libtasn1 Alpine 3.6 4.10-r1
alpine advisories ALPINE-CVE-2017-6891
Alpine secdb © Alpine Linux, from https://secdb.alpinelinux.org via OSV; changed: normalised to fixed package versions per release. CC BY-SA 4.0
Vendor advisories
What the vendors themselves say about their products: affected, fixed or not affected, and what to do.
red hat product security vex CVE-2017-6891 updated cvss 7.8
libtasn1: Stack-based buffer overflow in asn1_find_node()
-
Red Hat Enterprise Linux 6 libtasn1, libtasn1-tools Red Hat Enterprise Linux 7 libtasn1, libtasn1-tools Red Hat Enterprise Virtualization 3 mingw-virt-viewer, mingw32-virt-viewer, mingw64-virt-viewer Red Hat Satellite 6 libtasn1affected: no fix planned “Will not fix”
Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf
Exploit prediction
5.58% chance of exploitation in the next 30 days, higher than 92% of all scored CVEs (FIRST EPSS, 2026-11-08).
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| NVD | 3.1 | 8.8 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H |
| NVD | 2.0 | 6.8 | AV:N/AC:M/Au:N/C:P/I:P/A:P |
Affected products
- Flexera Software LLC GnuTLS libtasn1
Classification
- Weakness
-
- CWE-787 Out-of-bounds Write
References
-
secuniaresearch.flexerasoftware.com
/secunia_research/2017-11/
patch, third-party-advisory
-
security.gentoo.org
/glsa/201710-11
vendor-advisory, third-party-advisory
-
debian.org
/security/2017/dsa-3861
vendor-advisory, third-party-advisory
-
lists.opensuse.org
/opensuse-security-announce/2019-06/msg00018.html
vendor-advisory, broken-link
-
secuniaresearch.flexerasoftware.com
/advisories/76125/
permissions-required
- git.savannah.gnu.org /gitweb/?p=libtasn1.git%3Ba=commit%3Bh=5520704d075802df25ce4ffccc010ba1641bd484
-
securityfocus.com
/bid/98641
vdb-entry, third-party-advisory
-
securitytracker.com
/id/1038619
vdb-entry, third-party-advisory
-
lists.apache.org
/thread.html/rf4c02775860db415b4955778a131c2795223f61cb8c6a450893651e4%40%3Cissues.bookkeeper.apache.org%3E
mailing-list
-
lists.apache.org
/thread.html/r58af02e294bd07f487e2c64ffc0a29b837db5600e33b6e698b9d696b%40%3Cissues.bookkeeper.apache.org%3E
mailing-list
Sources
- CVE List CVE-2017-6891
- NVD CVE-2017-6891
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.