Bug 2214960 (CVE-2023-24535)

Summary: CVE-2023-24535 golang/Protobuf: panic when parsing an incomplete number
Product: [Other] Security Response Reporter: Vipul Nair <vinair>
Component: vulnerabilityAssignee: Red Hat Product Security <security-response-team>
Status: CLOSED NOTABUG QA Contact:
Severity: medium Docs Contact:
Priority: medium    
Version: unspecifiedCC: aazores, abishop, amasferr, augol, bbaude, chazlett, dsimansk, dwalsh, eaguilar, ebaron, gparvin, grafana-maint, jkang, jkurik, jligon, jnovy, jpallich, kaycoth, lball, lsm5, matzew, mboddu, mheon, mkudlej, mmagr, mrunge, nathans, njean, nobody, owatkins, pahickey, pjindal, pthomas, rhos-maint, rhuss, scox, sfroberg, skontopo, stcannon, teagle, tjochec, tsweeney, umohnani
Target Milestone: ---Keywords: Security
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: protobuf 1.29.1 Doc Type: If docs needed, set a value
Doc Text:
A flaw was found in the golang implementation of the protobuf protocol. This issue occurs when parsing a text-format message which contains a potential number consisting of a minus sign, one or more characters of whitespace, and no further input, which will cause a panic.
Story Points: ---
Clone Of: Environment:
Last Closed: 2023-07-04 07:01:30 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:    
Bug Blocks: 2214923    

Description Vipul Nair 2023-06-14 08:51:55 UTC
Parsing invalid messages can panic. Parsing a text-format message which contains a potential number consisting of a minus sign, one or more characters of whitespace, and no further input will cause a panic.

https://pkg.go.dev/vuln/GO-2023-1631
https://github.com/golang/protobuf/issues/1530
https://go.dev/cl/475995

Comment 5 Product Security DevOps Team 2023-07-04 07:01:26 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-2023-24535