Bug 1212218 (CVE-2023-24535)

Summary: VUL-0: TRACKERBUG: CVE-2023-24535: google.golang.org/protobuf: panic leading to denial of service
Product: [Novell Products] SUSE Security Incidents Reporter: Thomas Leroy <thomas.leroy>
Component: IncidentsAssignee: Security Team bot <security-team>
Status: RESOLVED INVALID QA Contact: Security Team bot <security-team>
Severity: Normal    
Priority: P3 - Medium CC: stoyan.manolov
Version: unspecified   
Target Milestone: ---   
Hardware: Other   
OS: Other   
URL: https://smash.suse.de/issue/368858/
Whiteboard:
Found By: Security Response Team Services Priority:
Business Priority: Blocker: ---
Marketing QA Status: --- IT Deployment: ---
Bug Depends on:    
Bug Blocks: 1212219, 1212220    

Description Thomas Leroy 2023-06-12 08:01:01 UTC
CVE-2023-24535

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.

References:
http://web.nvd.nist.gov/view/vuln/detail?vulnId=CVE-2023-24535
https://www.cve.org/CVERecord?id=CVE-2023-24535
https://github.com/golang/protobuf/issues/1530
https://go.dev/cl/475995
https://pkg.go.dev/vuln/GO-2023-1631
Comment 1 Thomas Leroy 2023-06-12 08:02:33 UTC
A vulnerable version of google.golang.org/protobuf/encoding/prototext if embbeded in the following packages:

- openSUSE:Factory/golang-github-prometheus-prometheus,3,google.golang.org/protobuf/encoding/prototext,v1.29.0
- openSUSE:Factory/syft,3,google.golang.org/protobuf/encoding/prototext,v1.29.0
- openSUSE:Factory/syft,4,google.golang.org/protobuf/encoding/prototext,v1.29.0