CVE-2023-24535 json
Panic when parsing invalid messages in google.golang.org/protobuf
published 2023-03-14 3 y ago modified 2026-09-10 1 mo ago also GHSA-hw7c-3rfg-p46j , GO-2023-1631 , EUVD-2023-1039
- cvss
- 7.5
- version 3.1, CNA
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 1.1%
- EPSS 1.1% chance of exploitation in 30 days, percentile 65%
- public exploits
- 0
- none known
Summary
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.
Patch / fix
- go google.golang.org/protobuf 1.29.1
- google.golang.org/protobuf google.golang.org/protobuf/encoding/prototext 1.29.1
- google.golang.org/protobuf google.golang.org/protobuf/internal/encoding/text 1.29.1
- go.dev/cl/475995 patch
Vendor advisories
What the vendors themselves say about their products: affected, fixed or not affected, and what to do.
red hat product security vex CVE-2023-24535 updated cvss 7.5
golang/Protobuf: panic when parsing an incomplete number
-
Red Hat Cost Management Metrics Operator costmanagement/costmanagement-metrics-rhel8-operator Red Hat Cryostat 2 cryostat-tech-preview/cryostat-rhel8-operator Red Hat OpenShift Serverless openshift-serverless-1-cli openshift-serverless-1-cli, openshift-serverless-1-serving openshift-serverless-1-serving, openshift-serverless-1-eventing openshift-serverless-1-eventing Red Hat 3scale API Management Platform 2 3scale-amp2/3scale-rhel7-operator, 3scale-amp2/apicast-rhel7-operator, 3scale-amp2/3scale-rhel7-operator-metadata, 3scale-amp2/apicast-rhel7-operator-metadata Red Hat Advanced Cluster Management for Kubernetes 2 multicloud-operators-foundation Red Hat Enterprise Linux 7 podman, skopeonot affected: vulnerable code not present
+2 more productsfewer
Red Hat Enterprise Linux 8 podman, skopeo, grafana, grafana-loki, podman-tests, skopeo-tests, +19 more Red Hat Enterprise Linux 9 grafana, grafana-selinux
Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf
CISA SSVC
- Exploitation
- none
- Automatable
- yes
- Technical impact
- partial
- Assessed
- 22 mo ago
Exploit prediction
1.09% chance of exploitation in the next 30 days, higher than 65% of all scored CVEs (FIRST EPSS, 2026-11-08).
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| CISA ADP | 3.1 | 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
| NVD | 3.1 | 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
| CNA | 3.1 | 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
| GitHub | 3.1 | 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| go | google.golang.org/protobuf | >=1.29.0, <1.29.1 |
1.29.1 |
Affected products
- google.golang.org/protobuf google.golang.org/protobuf/encoding/prototext
- google.golang.org/protobuf google.golang.org/protobuf/internal/encoding/text
Classification
- Weakness
-
- CWE-125 Out-of-bounds Read
References
-
go.dev
/cl/475995
web, patch
-
github.com
/golang/protobuf/issues/1530
web, issue-tracking, report
-
pkg.go.dev
/vuln/GO-2023-1631
web, third-party-advisory
-
nvd.nist.gov
/vuln/detail/CVE-2023-24535
advisory
-
github.com
/golang/protobuf
package
Sources
- CVE List CVE-2023-24535
- GitHub Advisory GHSA-hw7c-3rfg-p46j
- NVD CVE-2023-24535
- OSV GO-2023-1631
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.