synced 9 MIN AGO
01 Record

CVE-2023-29402

Code injection via go command with cgo 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

Code injection via go command with cgo 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
1.69% probability of exploitation activity in the next 30 days.
EPSS percentile
Equal to or higher than the score of 76.6% 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
Modified. NVD last modified this record on 2026-06-17.
Red Hat severity
Moderate. Red Hat's rating for its own products, not a CVSS rating.

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
2023-06-08 20:19Z3 YR AGO
Last updated
2025-02-13 16:49Z1 YR AGO
Reserved
2023-04-05
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
  • CWE-94Improper Control of Generation of Code ('Code Injection')Base
Data version
5.1
Document digest
a95bf422baf6001e8b4f0c036ac182b178a1d6a8abebbcd55f09737e09aedc77

05 Affected products

VendorProductVersionsPlatforms
Go toolchaincmd/go0 to < 1.19.10, 1.20.0-0 to < 1.20.5—

06 References

07 Fixed in

AlmaLinux 8

  • delve
    Fixed in 1.9.1-1.module_el8.8.0+3471+a62632a0
  • go-toolset
    Fixed in 1.19.10-1.module_el8.8.0+3571+89db2ae0
  • golang
    Fixed in 1.19.10-1.module_el8.8.0+3571+89db2ae0
  • golang-bin
    Fixed in 1.19.10-1.module_el8.8.0+3571+89db2ae0
  • golang-docs
    Fixed in 1.19.10-1.module_el8.8.0+3571+89db2ae0
  • golang-misc
    Fixed in 1.19.10-1.module_el8.8.0+3571+89db2ae0
  • golang-race
    Fixed in 1.19.10-1.module_el8.8.0+3571+89db2ae0
  • golang-src
    Fixed in 1.19.10-1.module_el8.8.0+3571+89db2ae0
  • golang-tests
    Fixed in 1.19.10-1.module_el8.8.0+3571+89db2ae0

Source: AlmaLinux, AlmaLinux OS. Copyright (c) 2023 AlmaLinux OS. Licensed under MIT License. Received through OSV.dev. Reformatted by exploit.cc.

AlmaLinux 9

  • go-toolset
    Fixed in 1.19.10-1.el9_2
  • golang
    Fixed in 1.19.10-1.el9_2
  • golang-bin
    Fixed in 1.19.10-1.el9_2
  • golang-docs
    Fixed in 1.19.10-1.el9_2
  • golang-misc
    Fixed in 1.19.10-1.el9_2
  • golang-race
    Fixed in 1.19.10-1.el9_2
  • golang-src
    Fixed in 1.19.10-1.el9_2
  • golang-tests
    Fixed in 1.19.10-1.el9_2

Source: AlmaLinux, AlmaLinux OS. Copyright (c) 2023 AlmaLinux OS. Licensed under MIT License. Received through OSV.dev. Reformatted by exploit.cc.

CloudLinux 8

  • delve
    Fixed in 1.9.1-1.module_el8.8.0+3471+a62632a0
  • go-toolset
    Fixed in 1.19.10-1.module_el8.8.0+3571+89db2ae0
  • golang
    Fixed in 1.19.10-1.module_el8.8.0+3571+89db2ae0
  • golang-bin
    Fixed in 1.19.10-1.module_el8.8.0+3571+89db2ae0
  • golang-docs
    Fixed in 1.19.10-1.module_el8.8.0+3571+89db2ae0
  • golang-misc
    Fixed in 1.19.10-1.module_el8.8.0+3571+89db2ae0
  • golang-race
    Fixed in 1.19.10-1.module_el8.8.0+3571+89db2ae0
  • golang-src
    Fixed in 1.19.10-1.module_el8.8.0+3571+89db2ae0
  • golang-tests
    Fixed in 1.19.10-1.module_el8.8.0+3571+89db2ae0

Derived from AlmaLinux 8. Partial coverage: only packages taken from AlmaLinux 8 are listed.

Source: CloudLinux errata, CloudLinux Inc. Derived from: AlmaLinux, AlmaLinux OS. Copyright (c) 2023 AlmaLinux OS. Licensed under MIT License. Received through OSV.dev. Reformatted by exploit.cc.

CloudLinux 9

  • go-toolset
    Fixed in 1.19.10-1.el9_2
  • golang
    Fixed in 1.19.10-1.el9_2
  • golang-bin
    Fixed in 1.19.10-1.el9_2
  • golang-docs
    Fixed in 1.19.10-1.el9_2
  • golang-misc
    Fixed in 1.19.10-1.el9_2
  • golang-race
    Fixed in 1.19.10-1.el9_2
  • golang-src
    Fixed in 1.19.10-1.el9_2
  • golang-tests
    Fixed in 1.19.10-1.el9_2

Derived from AlmaLinux 9. Partial coverage: only packages taken from AlmaLinux 9 are listed.

Source: CloudLinux errata, CloudLinux Inc. Derived from: AlmaLinux, AlmaLinux OS. Copyright (c) 2023 AlmaLinux OS. Licensed under MIT License. Received through OSV.dev. Reformatted by exploit.cc.

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

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

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.