Bug 1677048 (CVE-2019-3829) - CVE-2019-3829 gnutls: use-after-free/double-free in certificate verification
Summary: CVE-2019-3829 gnutls: use-after-free/double-free in certificate verification
Status: CLOSED NOTABUG
Alias: CVE-2019-3829
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: impact=moderate,public=20190327,repor...
Keywords: Security
Depends On: 1693211 1693285 1693286 1693210
Blocks: 1677050
TreeView+ depends on / blocked
 
Reported: 2019-02-13 21:01 UTC by Laura Pardo
Modified: 2019-06-08 23:51 UTC (History)
18 users (show)

(edit)
A double free flaw was found in the way the certificate verification API was implemented for gnutls. An attacker could cause a client or server application compiled against gnutls to crash by parsing a specially-crafted certificate.
Clone Of:
(edit)
Last Closed: 2019-04-05 06:42:27 UTC


Attachments (Terms of Use)

Description Laura Pardo 2019-02-13 21:01:56 UTC
A flaw was found in gnutls 3.5.8 or later. A use-after-free in multi-threaded-clients and a double-free vulnerability in single-threaded clients because _gnutls_x509_get_signature does not clear signature->data in the cleanup path.


Upstream bug:
https://gitlab.com/gnutls/gnutls/issues/694

Comment 1 Laura Pardo 2019-02-15 16:58:08 UTC
Acknowledgments:

Name: Tavis Ormandy (Google Project Zero)

Comment 2 Dhananjay Arunesh 2019-03-27 11:15:57 UTC
Created gnutls tracking bugs for this issue:

Affects: fedora-all [bug 1693210]


Created mingw-gnutls tracking bugs for this issue:

Affects: fedora-all [bug 1693211]

Comment 4 Laura Pardo 2019-03-27 14:50:02 UTC
External References:

https://www.gnutls.org/security-new.html#GNUTLS-SA-2019-03-27

Comment 5 Huzaifa S. Sidhpurwala 2019-04-05 06:42:27 UTC
Upstream patch: https://gitlab.com/gnutls/gnutls/commit/ad27713bef613e6c4600a0fb83ae48c6d390ff5b


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