Bug 1922275 (CVE-2021-20232)

Summary: CVE-2021-20232 gnutls: Use after free in client_send_params in lib/ext/pre_shared_key.c
Product: [Other] Security Response Reporter: Pedro Sampaio <psampaio>
Component: vulnerabilityAssignee: Red Hat Product Security <security-response-team>
Status: CLOSED ERRATA QA Contact:
Severity: medium Docs Contact:
Priority: medium    
Version: unspecifiedCC: ansasaki, cfergeau, crypto-team, dueno, erik-fedora, fidencio, kaycoth, marcandre.lureau, mike, pemensik, rh-spice-bugs, rjones, security-response-team, tm
Target Milestone: ---Keywords: Security
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: gnutls 3.7.1 Doc Type: If docs needed, set a value
Doc Text:
A flaw was found in gnutls. A use after free issue in client_send_params in lib/ext/pre_shared_key.c may lead to memory corruption and denial of service.
Story Points: ---
Clone Of: Environment:
Last Closed: 2021-11-09 20:22:09 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On: 1927592, 1927593, 1927594, 1938149, 1938150    
Bug Blocks: 1922277, 1926237    

Description Pedro Sampaio 2021-01-29 15:15:43 UTC
A flaw was found in gnutls. A use after free issue in client_send_params in lib/ext/pre_shared_key.c may lead to memory corruption and other potential consequences.

References:

https://gitlab.com/gnutls/gnutls/-/issues/1151

Comment 3 Huzaifa S. Sidhpurwala 2021-03-12 09:56:38 UTC
Created gnutls tracking bugs for this issue:

Affects: fedora-all [bug 1938149]


Created mingw-gnutls tracking bugs for this issue:

Affects: fedora-all [bug 1938150]

Comment 4 Huzaifa S. Sidhpurwala 2021-03-12 09:59:47 UTC
External References:

https://www.gnutls.org/security-new.html#GNUTLS-SA-2021-03-10

Comment 6 Huzaifa S. Sidhpurwala 2021-03-12 10:07:11 UTC
Acknowledgments:

Name: GnuTLS project
Upstream: Ivan Nikolchev

Comment 7 Huzaifa S. Sidhpurwala 2021-03-12 10:11:54 UTC
Upstream commit: https://gitlab.com/gnutls/gnutls/-/commit/75a937d97f4fefc6f9b08e3791f151445f551cb3

Comment 8 errata-xmlrpc 2021-11-09 18:50:06 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 8

Via RHSA-2021:4451 https://access.redhat.com/errata/RHSA-2021:4451

Comment 9 Product Security DevOps Team 2021-11-09 20:22:06 UTC
This bug is now closed. Further updates for individual products will be reflected on the CVE page(s):

https://access.redhat.com/security/cve/cve-2021-20232