9.8

CVE-2023-24531: go toolchain cmd/go

CVSS: 9.8v3.1CriticalDeferred
AliasesUBUNTU-CVE-2023-24531DEBIAN-CVE-2023-24531CGA-22w6-4rg3-rh33
Published 02-07-2024Last modified 28-03-2025

Vulnerability summary

CVE-2023-24531 is a critical (CVSS 9.8) vulnerability in go toolchain cmd/go. EPSS estimates a 0.84% chance of exploitation in the next 30 days, higher than 57.1% of scored vulnerabilities.

Overall risk
70/100
0100
High · default modelHow is this calculated?
CVSS score
9.8/10
010
Critical · v3.1 (CVE.org)
EPSS score
0.84%
0%100%
Low · 0.00 pp in 30 days
KEVNot listedIn no KEV catalog
RansomwareNone recordedNo known use recorded
Public exploits0No public exploits recorded

Advisory lineage

Upstream 0 · Downstream 2 · Related 4

Timeline

  1. 02-07-2024
    PublishedVulnerability first disclosed.
  2. 28-03-2025
    Last modifiedVulnerability information updated.

Description

Command go env is documented as outputting a shell script containing the Go environment. However, go env doesn't sanitize values, so executing its output as a shell script can cause various bad bahaviors, including executing arbitrary commands or inserting new environment variables. This issue is relatively minor because, in general, if an attacker can set arbitrary environment variables on a system, they have better attack vectors than making "go env" print them out.

CVSS metrics

4 scores · 4 sources · 1 version

EPSS trend

Probability

0.84%

Chance of exploitation in the next 30 days

Percentile

57%

Versus all other CVEs

30-day change

0.00 pp

From 0.84% on 20-09-2026

20-09-202620-10-2026
EPSS score
0.84%

Known exploited

Compare KEV catalogs

Not in any of the 3 tracked catalogs.

Public exploits

0 found

No public exploits indexed.

Weaknesses

CWE · root cause

No weakness data has been published for this record.

Affected systems

Chainguard13 products
  • argo-workflows< 3.6.5-r2
  • go-1.20All versions (No fix recorded)
  • katib-earlystopping< 0.19.0-r31
  • katib-suggestion-goptuna-compat< 0.19.0-r40
  • katib-suggestion-hyperband< 0.19.0-r31
Wolfi13 products
  • argo-workflows< 3.6.5-r2
  • go-1.20All versions (No fix recorded)
  • katib-earlystopping< 0.19.0-r31
  • katib-suggestion-goptuna-compat< 0.19.0-r40
  • katib-suggestion-hyperband< 0.19.0-r31
Ubuntu11 products
  • golang-1.10All versions (No fix recorded)
  • golang-1.13All versions (No fix recorded)
  • golang-1.14All versions (No fix recorded)
  • golang-1.16All versions (No fix recorded)
  • golang-1.17< 1.17.13-3ubuntu1.2
Debian1 product
  • golang-1.19All versions (No fix recorded)
Go1 product
  • toolchain< 1.21.0-0
Go toolchain1 product

6 vendors · 40 products

References

12 links
Show all 12 references