Bug 1412235 (CVE-2017-5335) - CVE-2017-5335 gnutls: Out of memory while parsing crafted OpenPGP certificate
Summary: CVE-2017-5335 gnutls: Out of memory while parsing crafted OpenPGP certificate
Keywords:
Status: CLOSED ERRATA
Alias: CVE-2017-5335
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Red Hat Product Security
QA Contact:
URL:
Whiteboard:
Depends On: 1411838 1411845 1413836 1413874
Blocks: 1386080 1411837 1415638
TreeView+ depends on / blocked
 
Reported: 2017-01-11 15:21 UTC by Andrej Nemec
Modified: 2020-02-14 18:26 UTC (History)
7 users (show)

Fixed In Version: gnutls 3.3.26, gnutls 3.5.8
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2018-09-13 06:46:07 UTC
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHSA-2017:0574 0 normal SHIPPED_LIVE Moderate: gnutls security, bug fix, and enhancement update 2017-03-21 12:23:04 UTC
Red Hat Product Errata RHSA-2017:2292 0 normal SHIPPED_LIVE Moderate: gnutls security, bug fix, and enhancement update 2017-08-01 12:39:15 UTC

Internal Links: 1422850

Description Andrej Nemec 2017-01-11 15:21:16 UTC
A vulnerability was found in gnutls. There was an insufficient error checking in the stream reading functions. While parsing a maliciously crafted OpenPGP certificate an out of memory error could occur.

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/49be4f7b82eba2363bb8d4090950dad976a77a3a

Comment 1 Andrej Nemec 2017-01-11 15:31:32 UTC
Created gnutls tracking bugs for this issue:

Affects: fedora-all [bug 1411838]

Comment 2 Andrej Nemec 2017-01-11 15:31:37 UTC
Created gnutls30 tracking bugs for this issue:

Affects: epel-6 [bug 1411845]

Comment 7 Nikos Mavrogiannopoulos 2017-01-17 12:15:25 UTC
Reproducer at: https://gitlab.com/gnutls/gnutls/commit/65ee81db857d3b44cec76aa94361abe5427430d8

Comment 8 Nikos Mavrogiannopoulos 2017-02-13 14:46:34 UTC
Maps to: https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=337

Comment 9 errata-xmlrpc 2017-03-21 09:05:02 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 6

Via RHSA-2017:0574 https://rhn.redhat.com/errata/RHSA-2017-0574.html

Comment 10 errata-xmlrpc 2017-08-01 08:50:00 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 7

Via RHSA-2017:2292 https://access.redhat.com/errata/RHSA-2017:2292


Note You need to log in before you can comment on or make changes to this bug.