Every CVE Search/ Get API key

CVE-2017-6891

Two errors in the "asn1_find_node()" function (lib/parser_aux.c) within GnuTLS libtasn1 version 4...

8.8 HighFix available

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.

Attack profile

How easy it is to exploit

Attack vector
Network
Complexity
Low
Privileges needed
None
User interaction
Required

What an attacker can affect

Confidentiality
High
Integrity
High
Availability
High

Exploit likelihood

5.58%Up 3.7 points since Apr 14, 2021
90%50%10%1%

What each source reports

NVD Score used 8.8

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.

Record
CVE-2017-6891
CVSS 3.1
8.8 HighCVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
CVSS 2.0
6.8 MediumAV:N/AC:M/Au:N/C:P/I:P/A:P
Weakness
CWE-787
Updated
2026-11-02
CVE List No score

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.

Record
CVE-2017-6891
Updated
2026-11-02
EUVDEUVD-2017-15945 No score

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.

Record
EUVD-2017-15945
Updated
2026-11-03
GitHub AdvisoriesGHSA-ch46-3x6h-7qrw 8.8

Two errors in the "asn1_find_node()" function (lib/parser_aux.c) within GnuTLS libtasn1 version 4...

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.

Record
GHSA-ch46-3x6h-7qrw
CVSS 3.0
8.8 HighCVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
Weakness
CWE-119, CWE-787
Updated
2026-11-02
OSVALPINE-CVE-2017-6891 8.8

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.

Record
ALPINE-CVE-2017-6891
CVSS 3.1
8.8 HighCVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
Updated
2026-11-02
OSV 8.8

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.

Record
CVE-2017-6891
CVSS 3.1
8.8 HighCVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
Updated
2026-11-02
Show 7 moreShow less
OSVDEBIAN-CVE-2017-6891 8.8

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.

Record
DEBIAN-CVE-2017-6891
CVSS 3.1
8.8 HighCVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
Updated
2026-11-02
OSVUBUNTU-CVE-2017-6891 8.8

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.

Record
UBUNTU-CVE-2017-6891
CVSS 3.1
8.8 HighCVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
CVSS 3.0
8.8 HighCVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
Updated
2026-11-02
OSVMGASA-2017-0159 No score

Updated libtasn1 packages fix security vulnerability

Jakub Jirasek of Secunia Research discovered that libtasn1 did not properly validate its input. This would allow an attacker to cause a crash by denial-of-service, or potentially execute arbitrary code, by tricking a user into processing a maliciously crafted assignments file (CVE-2017-6891).

Record
MGASA-2017-0159
Updated
2026-11-02
OSVSUSE-SU-2017:1886-1 No score

Security update for gnutls

This update for gnutls fixes the following issues:

  • GNUTLS-SA-2017-3 / CVE-2017-7869: An out-of-bounds write in OpenPGP certificate decoding was fixed (bsc#1034173)
  • CVE-2017-6891: A potential stack buffer overflow in the bundled libtasn1 was fixed (bsc#1040621)
  • An address read of 4 bytes past the end of buffer in OpenPGP certificate parsing was fixed (bsc#1038337)
Record
SUSE-SU-2017:1886-1
Updated
2026-11-02
OSVSUSE-SU-2019:1379-1 No score

Security update for libtasn1

This update for libtasn1 fixes the following issues:

Security issues fixed:

  • CVE-2018-1000654: Fixed a denial of service in the asn1 parser (bsc#1105435).
  • CVE-2017-6891: Fixed a stack overflow in asn1_find_node() (bsc#1040621).
Record
SUSE-SU-2019:1379-1
Updated
2026-11-02
OSVSUSE-SU-2022:3797-1 No score

Security update for libtasn1

This update for libtasn1 fixes the following issues:

Security issue fixed:

  • CVE-2018-1000654: Fixed a denial of service in the asn1 parser (bsc#1105435).
  • CVE-2017-6891: Added safety check to fix a stack overflow issue (bsc#1040621).
  • CVE-2021-46848: Fixed off-by-one array size check that affects asn1_encode_simple_der (bsc#1204690)
Record
SUSE-SU-2022:3797-1
Updated
2026-11-02
OSVUSN-3309-1 No score

libtasn1-6 vulnerability

Jakub Jirasek discovered that GnuTLS incorrectly handled certain assignments files. If a user were tricked into processing a specially crafted assignments file, a remote attacker could possibly execute arbirary code.

Record
USN-3309-1
Updated
2026-11-02

Affected products

Affected packages

Affected packages
PackageAffectedFixed
libtasn1
Alpine:v3.3
before 4.7-r2
4.7-r2
libtasn1
Alpine:v3.4
before 4.8-r1
4.8-r1
libtasn1
Alpine:v3.5
before 4.9-r1
4.9-r1
libtasn1
Alpine:v3.6
before 4.10-r1
4.10-r1
libtasn1-6
Debian:12
before 4.10-1.1
4.10-1.1
libtasn1-6
Debian:13
before 4.10-1.1
4.10-1.1
libtasn1-6
Debian:14
before 4.10-1.1
4.10-1.1
libtasn1-3
Debian:7
before 2.13-2+deb7u4, plus listed versions
2.13-22.13-2+deb7u12.13-2+deb7u22.13-2+deb7u3
2.13-2+deb7u4
libtasn1-6
Debian:8
before 4.2-3+deb8u3, plus listed versions
4.2-34.2-3+deb8u14.2-3+deb8u2
4.2-3+deb8u3
libtasn1
Mageia:5
before 4.2-4.2.mga5
4.2-4.2.mga5
Show 15 moreShow less
Affected packages
PackageAffectedFixed
gnutls
SUSE:Linux Enterprise Software Development Kit 11 SP4
before 2.4.1-24.39.70.1
2.4.1-24.39.70.1
gnutls
SUSE:Linux Enterprise High Availability Extension 11 SP4
before 2.4.1-24.39.70.1
2.4.1-24.39.70.1
gnutls
SUSE:Linux Enterprise Server 11 SP4
before 2.4.1-24.39.70.1
2.4.1-24.39.70.1
gnutls
SUSE:Linux Enterprise Server for SAP Applications 11 SP4
before 2.4.1-24.39.70.1
2.4.1-24.39.70.1
libtasn1
SUSE:Linux Enterprise Desktop 12 SP3
before 4.9-3.10.1
4.9-3.10.1
libtasn1
SUSE:Linux Enterprise Desktop 12 SP4
before 4.9-3.10.1
4.9-3.10.1
libtasn1
SUSE:Linux Enterprise Software Development Kit 12 SP3
before 4.9-3.10.1
4.9-3.10.1
libtasn1
SUSE:Linux Enterprise Software Development Kit 12 SP4
before 4.9-3.10.1
4.9-3.10.1
libtasn1
SUSE:Linux Enterprise Server 12 SP3
before 4.9-3.10.1
4.9-3.10.1
libtasn1
SUSE:Linux Enterprise Server for SAP Applications 12 SP3
before 4.9-3.10.1
4.9-3.10.1
libtasn1
SUSE:Linux Enterprise Server 12 SP4
before 4.9-3.10.1
4.9-3.10.1
libtasn1
SUSE:Linux Enterprise Server for SAP Applications 12 SP4
before 4.9-3.10.1
4.9-3.10.1
libtasn1
SUSE:Linux Enterprise Server 12 SP2-BCL
before 3.7-13.7.1
3.7-13.7.1
libtasn1-6
Ubuntu:14.04:LTS
before 3.4-3ubuntu0.5, plus listed versions
3.3-23.4-23.4-33.4-3ubuntu0.13.4-3ubuntu0.23.4-3ubuntu0.33.4-3ubuntu0.4
3.4-3ubuntu0.5
libtasn1-6
Ubuntu:16.04:LTS
before 4.7-3ubuntu0.16.04.2, plus listed versions
4.5-24.7-24.7-34.7-3ubuntu0.16.04.1
4.7-3ubuntu0.16.04.2

History

History
RecordedChangedSources
aliasesEUVD
first indexedCVE List, GitHub Advisories, NVD, OSV

Dates are when Every CVE recorded each change. Upstream dates may differ.

In short

CVE-2017-6891 is a high vulnerability (CVSS 8.8) in Flexera Software Llc Gnutls Libtasn1, published May 22, 2017. No source lists public exploit code. EPSS puts the chance of exploitation in the next 30 days at 5.58%, the 92nd percentile. Fixed in libtasn1 4.7-r2.

References

Show 29 moreShow less
MoveEnter Open