CVE-2017-5336: Buffer Overflow

Published Jan 11, 2017
·
Updated

A vulnerability was found in gnutls. A stack overflow could occur in opencdk in the cdkpkgetkeyid function. A memory corruption could occur when parsing a maliciously crafted OpenPGP certificate.

References:

http://seclists.org/oss-sec/2017/q1/51 https://gnutls.org/security.html#GNUTLS-SA-2017-2

Upstream patch:

https://gitlab.com/gnutls/gnutls/commit/5140422e0d7319a8e2fe07f02cbcafc4d6538732

Other sources

Stack-based buffer overflow in the cdkpkgetkeyid function in lib/opencdk/pubkey.c in GnuTLS before 3.3.26 and 3.5.x before 3.5.8 allows remote attackers to have unspecified impact via a crafted OpenPGP certificate.

Launchpad

Affected Software

14 affected componentsFixes available
redhat/gnutls<3.3.26
3.3.26
redhat/gnutls<3.5.8
3.5.8
openSUSE Leap=42.1
openSUSE Leap=42.2
GNU GnuTLS<=3.3.25
GNU GnuTLS=3.5.0
GNU GnuTLS=3.5.1
GNU GnuTLS=3.5.2
GNU GnuTLS=3.5.3
GNU GnuTLS=3.5.4
GNU GnuTLS=3.5.5
GNU GnuTLS=3.5.6
GNU GnuTLS=3.5.7
debian/gnutls28
3.7.1-5+deb11u53.7.1-5+deb11u73.7.9-2+deb12u43.8.9-2

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade redhat/gnutls to a version that resolves this vulnerability.

    Fixed in 3.3.26
  2. Upgrade

    Upgrade redhat/gnutls to a version that resolves this vulnerability.

    Fixed in 3.5.8
  3. Upgrade

    Upgrade debian/gnutls28 to a version that resolves this vulnerability.

    Fixed in 3.7.1-5+deb11u5Fixed in 3.7.1-5+deb11u7Fixed in 3.7.9-2+deb12u4Fixed in 3.8.9-2
  4. Upgrade

    Upgrade gnutls/gnutls to a version that resolves this vulnerability.

    Fixed in 3.3.26
  5. Upgrade

    Upgrade gnutls/gnutls to a version that resolves this vulnerability.

    Fixed in 3.5.8

Event History

Mar 24, 2017
CVE Published
via MITRE·03:00 PM
Data Sourced
via MITRE·03:00 PM
Description
Data Sourced
via NVD·03:59 PM
RemedyDescriptionSeverityWeaknessAffected Software
Jan 11, 2024
Data Sourced
via Launchpad·10:37 PM
Description
Sep 20, 2024
Data Sourced
via Ubuntu·01:15 AM
RemedyDescriptionSeverityAffected Software
Free Weekly Intel

Don't miss critical vulnerabilities

Join thousands of security professionals who receive our weekly digest of trending CVEs, zero-days, and exploited vulnerabilities.

No spam. Unsubscribe anytime.

Frequently Asked Questions

1

What is the severity of CVE-2017-5336?

CVE-2017-5336 is classified as a high severity vulnerability due to the potential for remote code execution and memory corruption.

2

How do I fix CVE-2017-5336?

To fix CVE-2017-5336, update GnuTLS to version 3.3.26 or later for Red Hat or to 3.7.1-5+deb11u5 or later for Debian.

3

What is affected by CVE-2017-5336?

CVE-2017-5336 affects versions of GnuTLS up to 3.3.25 and several specific Debian and openSUSE versions.

4

What types of attacks can exploit CVE-2017-5336?

CVE-2017-5336 can be exploited through parsing a specially crafted OpenPGP certificate, leading to stack overflow.

5

Is CVE-2017-5336 resolved in newer versions?

Yes, CVE-2017-5336 is resolved in GnuTLS versions 3.3.26, 3.5.8, and later, as well as in specific Debian updates.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203