CVE-2023-39323
Arbitrary code execution during build via line directives in cmd/go
02 Description
Arbitrary code execution during build via line directives 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.
- AutomatablenoAt least one step from reconnaissance to exploitation cannot be reliably automated.
- Technical ImpacttotalSuccessful exploitation gives total control of the vulnerable component.
- EPSS probability
- 1.92% probability of exploitation activity in the next 30 days.
- EPSS percentile
- Equal to or higher than the score of 79.7% of scored records. A rank, not a probability.
- NVD base score
- 8.1 (CVSS v3.x), scored by the NVD independently of the CNA.
- NVD CVSS vector
- CVSS:3.1/AV:N/AC:H/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-10-05 20:36Z3 YR AGO
- Last updated
- 2025-06-12 15:15Z1 YR AGO
- Reserved
- 2023-07-27
- Assigning CNA
- Go
- Record state
- PUBLISHED
- Severity
- High (CVSS 8.1)
- CNA CVSS vector
- CVSS:3.1/AV:N/AC:H/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
- 6a36fc5aef8b3427e5eabdbf441acbbcbd48d3b4ae110de135eccfb4ab91b073
05 Affected products
06 References
- go.devhttps://go.dev/issue/63211
- go.devhttps://go.dev/cl/533215
- groups.google.comhttps://groups.google.com/g/golang-announce/c/XBa1oHDevAo
- pkg.go.devhttps://pkg.go.dev/vuln/GO-2023-2095
- security.netapp.comhttps://security.netapp.com/advisory/ntap-20231020-0001/
- lists.fedoraproject.orghttps://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/KSEGD2IWKNUO3DWY4KQGUQM5BISRWHQE/
- lists.fedoraproject.orghttps://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/CLB4TW7KALB3EEQWNWCN7OUIWWVWWCG2/
- lists.fedoraproject.orghttps://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/XFOIBB4YFICHDM7IBOP7PWXW3FX4HLL2/
- security.gentoo.orghttps://security.gentoo.org/glsa/202311-09
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 20.04 LTS
- golang-1.18 Fixed in 1.18.1-1ubuntu1~20.04.3
- golang-1.20 Fixed in 1.20.3-1ubuntu0.1~20.04.1
- golang-1.21 Fixed in 1.21.1-1~ubuntu20.04.2
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.3
- golang-1.18 Fixed in 1.18.1-1ubuntu1.2
- golang-1.20 Fixed in 1.20.3-1ubuntu0.1~22.04.1
- golang-1.21 Fixed in 1.21.1-1~ubuntu22.04.2
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.18 Fixed in 1.18.1-1ubuntu1~16.04.6+esm1Available 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.18 Fixed in 1.18.1-1ubuntu1~18.04.4+esm1Available 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.
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.