CVEfocus › CVE database › CVE-2023-24535

CVE-2023-24535Panic when parsing invalid messages in google.golang.org/protobuf

CVSS 7.5 HighEPSS 1.2% (higher than 68% of CVEs)Published 2023-06-08Updated 2025-01-06Assigner: Go

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.

What to do

Fixed builds are available from Go: see the table below for the fixed version per release.

Ubuntu has not shipped a fix for every release yet.

Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.

curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \
  -H "Content-Type: text/plain" --data-binary @inventory.txt

Vendor status at a glance

1Fixed
1Fix pending
4Under investigation
7Will not fix
33Not affected

Status by vendor and release

From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.

ReleasePackageStatusFixed versionAdvisory
Ubuntu 26.10golang-github-golang-protobuf-1-5Fix pendingUBUNTU-CVE-2023-24535
Ubuntu 26.04golang-github-golang-protobuf-1-5Under investigationUBUNTU-CVE-2023-24535
Ubuntu 26.04google-guest-agentNot affected
vulnerable_code_not_present
Ubuntu 25.10golang-github-golang-protobuf-1-3Will not fix
google-guest-agent contains a vendored copy of golang-goprotobuf Introduced by: https://go-review.googlesource.com/c/protobuf/+/473015 Fixed by:…
UBUNTU-CVE-2023-24535
Ubuntu 25.10golang-github-golang-protobuf-1-5Will not fix
google-guest-agent contains a vendored copy of golang-goprotobuf Introduced by: https://go-review.googlesource.com/c/protobuf/+/473015 Fixed by:…
UBUNTU-CVE-2023-24535
Ubuntu 25.10google-guest-agentNot affected
vulnerable_code_not_present
Ubuntu 24.04golang-github-golang-protobuf-1-3Under investigationUBUNTU-CVE-2023-24535
Ubuntu 24.04golang-github-golang-protobuf-1-5Under investigationUBUNTU-CVE-2023-24535
Ubuntu 24.04google-guest-agentNot affected
vulnerable_code_not_present
Ubuntu 22.04golang-goprotobufUnder investigationUBUNTU-CVE-2023-24535
Ubuntu 22.04google-guest-agentNot affected
vulnerable_code_not_present
Ubuntu 20.04golang-goprotobufWill not fix
google-guest-agent contains a vendored copy of golang-goprotobuf Introduced by: https://go-review.googlesource.com/c/protobuf/+/473015 Fixed by:…
UBUNTU-CVE-2023-24535
Ubuntu 18.04golang-goprotobufWill not fix
google-guest-agent contains a vendored copy of golang-goprotobuf Introduced by: https://go-review.googlesource.com/c/protobuf/+/473015 Fixed by:…
UBUNTU-CVE-2023-24535
Ubuntu 16.04golang-goprotobufWill not fix
google-guest-agent contains a vendored copy of golang-goprotobuf Introduced by: https://go-review.googlesource.com/c/protobuf/+/473015 Fixed by:…
UBUNTU-CVE-2023-24535
Ubuntu 16.04google-guest-agentWill not fix
google-guest-agent contains a vendored copy of golang-goprotobuf Introduced by: https://go-review.googlesource.com/c/protobuf/+/473015 Fixed by:…
Ubuntu 14.04golang-goprotobufWill not fix
google-guest-agent contains a vendored copy of golang-goprotobuf Introduced by: https://go-review.googlesource.com/c/protobuf/+/473015 Fixed by:…
Red Hat Enterprise Linux 9grafanaNot affected
Red Hat Enterprise Linux 9grafana-selinuxNot affected
Red Hat Enterprise Linux 8containers-commonNot affected
Red Hat Enterprise Linux 8grafanaNot affected
Red Hat Enterprise Linux 8grafana-azure-monitorNot affected
Red Hat Enterprise Linux 8grafana-cloudwatchNot affected
Red Hat Enterprise Linux 8grafana-elasticsearchNot affected
Red Hat Enterprise Linux 8grafana-graphiteNot affected
Red Hat Enterprise Linux 8grafana-influxdbNot affected
Red Hat Enterprise Linux 8grafana-lokiNot affected
Red Hat Enterprise Linux 8grafana-mssqlNot affected
Red Hat Enterprise Linux 8grafana-mysqlNot affected
Red Hat Enterprise Linux 8grafana-opentsdbNot affected
Red Hat Enterprise Linux 8grafana-postgresNot affected
Red Hat Enterprise Linux 8grafana-prometheusNot affected
Red Hat Enterprise Linux 8grafana-selinuxNot affected
Red Hat Enterprise Linux 8grafana-stackdriverNot affected
Red Hat Enterprise Linux 8podmanNot affected
Red Hat Enterprise Linux 8podman-catatonitNot affected
Red Hat Enterprise Linux 8podman-dockerNot affected
Red Hat Enterprise Linux 8podman-gvproxyNot affected
Red Hat Enterprise Linux 8podman-manpagesNot affected
Red Hat Enterprise Linux 8podman-pluginsNot affected
Red Hat Enterprise Linux 8podman-remoteNot affected
Red Hat Enterprise Linux 8podman-testsNot affected
Red Hat Enterprise Linux 8skopeoNot affected
Red Hat Enterprise Linux 8skopeo-testsNot affected
Red Hat Enterprise Linux 7podmanNot affected
Red Hat Enterprise Linux 7skopeoNot affected
Go librarygoogle.golang.org/protobufFixed1.29.1GHSA-hw7c-3rfg-p46j

What the vendor says

As published in the CVE record by Go, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.

References

About this page

Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.