synced 1 MIN AGO
01 Record

CVE-2023-24531

Output of "go env" does not sanitize values in cmd/go

CriticalPUBLISHEDCNA: Go
CNA base score9.8 CVSS v3.xCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

02 Description

Output of "go env" does not sanitize values in cmd/go

03 Exploitation and scoring

Exploitation
Assessed, none found. CISA's assessment recorded neither public exploit code nor evidence of exploitation when it was made.
SSVC decision
  • ExploitationnoneCISA recorded no public exploit code and no evidence of exploitation.
  • AutomatableyesAn attacker can reliably automate reconnaissance through exploitation, so this scales.
  • Technical ImpacttotalSuccessful exploitation gives total control of the vulnerable component.
CISA publishes the decision points, not a final SSVC decision. The decision also depends on mission and well-being impact, which is a property of your deployment rather than of the vulnerability.
EPSS probability
0.84% probability of exploitation activity in the next 30 days.
EPSS percentile
Equal to or higher than the score of 57.4% of scored records. A rank, not a probability.
NVD base score
9.8 (CVSS v3.x), scored by the NVD independently of the CNA.
NVD CVSS vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
NVD analysis status
Deferred. NVD last modified this record on 2026-06-17.
Red Hat severity
No Red Hat rating. Red Hat rates the CVEs that affect its products.

Exploit-prediction scores from FIRST. Independent scoring and analysis status from the NVD. Vendor severity from Red Hat. Exploitation assessment and catalog membership from CISA.

04 Metadata

Published
2024-07-02 19:51Z2 YR AGO
Last updated
2025-03-28 15:02Z1 YR AGO
Reserved
2023-01-25
Assigning CNA
Go
Record state
PUBLISHED
Severity
Critical (CVSS 9.8)
CNA CVSS vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Weaknesses
No CWE assigned
Data version
5.1
Document digest
7f68e5a475f6ab7e664cd3b2424ea3ffcaedfa21d8b62cb96cc423e9add4df8d

05 Affected products

VendorProductVersionsPlatforms
Go toolchaincmd/go0 to < 1.21.0-0—
gotoolchaincmd\/go0 to < 1.21.0-0—

06 References

07 Fixed in

Debian 12

  • golang-1.19
    No fix yet

Source: Debian Security Tracker, the Debian security team. Received through OSV.dev. Reformatted by exploit.cc.

Ubuntu 14.04 LTS

  • golang-1.10
    No fix yet

Source: Ubuntu, Canonical Ltd. Licensed under CC BY-SA 4.0. Received through OSV.dev. Reformatted by exploit.cc.

Ubuntu 16.04 LTS

  • golang-1.10
    No fix yet
  • golang-1.6
    No fix yet

Source: Ubuntu, Canonical Ltd. Licensed under CC BY-SA 4.0. Received through OSV.dev. Reformatted by exploit.cc.

Ubuntu 18.04 LTS

  • golang-1.10
    No fix yet
  • golang-1.8
    No fix yet
  • golang-1.9
    No fix yet

Source: Ubuntu, Canonical Ltd. Licensed under CC BY-SA 4.0. Received through OSV.dev. Reformatted by exploit.cc.

Ubuntu 20.04 LTS

  • golang-1.13
    No fix yet
  • golang-1.14
    No fix yet
  • golang-1.18
    Fixed in 1.18.1-1ubuntu1~20.04.3
  • golang-1.20
    No fix yet
  • golang-1.21
    No fix yet

Source: Ubuntu, Canonical Ltd. Licensed under CC BY-SA 4.0. Received through OSV.dev. Reformatted by exploit.cc.

Ubuntu 22.04 LTS

  • golang-1.17
    Fixed in 1.17.13-3ubuntu1.2
  • golang-1.18
    Fixed in 1.18.1-1ubuntu1.2
  • golang-1.20
    No fix yet
  • golang-1.21
    No fix yet

Source: Ubuntu, Canonical Ltd. Licensed under CC BY-SA 4.0. Received through OSV.dev. Reformatted by exploit.cc.

Ubuntu 24.04 LTS

  • golang-1.21
    No fix yet

Source: Ubuntu, Canonical Ltd. Licensed under CC BY-SA 4.0. Received through OSV.dev. Reformatted by exploit.cc.

Ubuntu Pro 16.04 LTS

  • golang-1.13
    No fix yet
  • golang-1.18
    Fixed in 1.18.1-1ubuntu1~16.04.6+esm1
    Available with Ubuntu Pro: https://ubuntu.com/pro

Source: Ubuntu, Canonical Ltd. Licensed under CC BY-SA 4.0. Received through OSV.dev. Reformatted by exploit.cc.

Ubuntu Pro 18.04 LTS

  • golang-1.13
    No fix yet
  • golang-1.16
    No fix yet
  • golang-1.18
    Fixed in 1.18.1-1ubuntu1~18.04.4+esm1
    Available with Ubuntu Pro: https://ubuntu.com/pro

Source: Ubuntu, Canonical Ltd. Licensed under CC BY-SA 4.0. Received through OSV.dev. Reformatted by exploit.cc.

Ubuntu Pro 20.04 LTS

  • golang-1.16
    No fix yet

Source: Ubuntu, Canonical Ltd. Licensed under CC BY-SA 4.0. Received through OSV.dev. Reformatted by exploit.cc.

Ubuntu Pro 22.04 LTS

  • golang-1.13
    No fix yet

Source: Ubuntu, Canonical Ltd. Licensed under CC BY-SA 4.0. Received through OSV.dev. Reformatted by exploit.cc.

A release or ecosystem missing from this list has no record here. It may be unaffected or not covered by the source. Source notices and licences.