
CVE catalog
CVE-2023-39323
golang-1.19: CVE-2023-39323
- Severity
- High · CVSS 8.1
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H - Published
- Source
- [NVD] · [CVE record]
- EPSS
- 1.93% · Oct 25, 2026
Line directives ("//line") can be used to bypass the restrictions on "//go:cgo_" directives, allowing blocked linker and compiler flags to be passed during compilation. This can result in unexpected execution of arbitrary code when running "go build". The line directive requires the absolute path of the file in which the directive lives, which makes exploiting this issue significantly more complex.
Vulnerable and fixed packages
Distribution-reported package versions and fixes. These do not depend on matching against the OpenFactory package catalog.
| Distribution | Package | Release | Version | Status |
|---|---|---|---|---|
| Debian | golang-1.19 | bookworm | 1.19.8-2 | vulnerable |
| Suse | go1.20 | linux enterprise module for development tools 15 sp4 | 1.20.9-150000.1.26.1 | fixed |
| Suse | go1.20 | linux enterprise module for development tools 15 sp5 | 1.20.9-150000.1.26.1 | fixed |
| Opensuse | go1.20 | leap 15.4 | 1.20.9-150000.1.26.1 | fixed |
| Opensuse | go1.20 | leap 15.5 | 1.20.9-150000.1.26.1 | fixed |
| Ubuntu | golang-1.18 | pro | 1.18.1-1ubuntu1~18.04.3 | vulnerable |
| Ubuntu | golang-1.18 | pro | 1.18.1-1ubuntu1~18.04.4 | vulnerable |
| Ubuntu | golang-1.18 | pro | 1.18.1-1ubuntu1~18.04.4+esm1 | fixed |
| Ubuntu | golang-1.18 | 20.04 | 1.18.1-1ubuntu1~20.04.1 | vulnerable |
| Ubuntu | golang-1.18 | 20.04 | 1.18.1-1ubuntu1~20.04.2 | vulnerable |
| Ubuntu | golang-1.18 | 20.04 | 1.18.1-1ubuntu1~20.04.3 | fixed |
| Ubuntu | golang-1.20 | 20.04 | 1.20.3-1ubuntu0.1~20.04 | vulnerable |
| Ubuntu | golang-1.20 | 20.04 | 1.20.3-1ubuntu0.1~20.04.1 | fixed |
| Ubuntu | golang-1.21 | 20.04 | 1.21.1-1~ubuntu20.04.1 | vulnerable |
| Ubuntu | golang-1.21 | 20.04 | 1.21.1-1~ubuntu20.04.2 | fixed |
| Ubuntu | golang-1.17 | 22.04 | 1.17-1ubuntu2 | vulnerable |
| Ubuntu | golang-1.17 | 22.04 | 1.17.3-1ubuntu1 | vulnerable |
| Ubuntu | golang-1.17 | 22.04 | 1.17.3-1ubuntu2 | vulnerable |
| Ubuntu | golang-1.17 | 22.04 | 1.17.13-3ubuntu1 | vulnerable |
| Ubuntu | golang-1.17 | 22.04 | 1.17.13-3ubuntu1.2 | vulnerable |
| Ubuntu | golang-1.17 | 22.04 | 1.17.13-3ubuntu1.3 | fixed |
| Ubuntu | golang-1.18 | 22.04 | 1.18~beta1-0ubuntu1 | vulnerable |
| Ubuntu | golang-1.18 | 22.04 | 1.18~beta2-1ubuntu1 | vulnerable |
| Ubuntu | golang-1.18 | 22.04 | 1.18~beta2-1ubuntu2 | vulnerable |
| Ubuntu | golang-1.18 | 22.04 | 1.18~rc1-1ubuntu1 | vulnerable |
| Ubuntu | golang-1.18 | 22.04 | 1.18-1ubuntu1 | vulnerable |
| Ubuntu | golang-1.18 | 22.04 | 1.18.1-1ubuntu1 | vulnerable |
| Ubuntu | golang-1.18 | 22.04 | 1.18.1-1ubuntu1.1 | vulnerable |
| Ubuntu | golang-1.18 | 22.04 | 1.18.1-1ubuntu1.2 | fixed |
| Ubuntu | golang-1.20 | 22.04 | 1.20.3-1ubuntu0.1~22.04 | vulnerable |
| Ubuntu | golang-1.20 | 22.04 | 1.20.3-1ubuntu0.1~22.04.1 | fixed |
| Ubuntu | golang-1.21 | 22.04 | 1.21.1-1~ubuntu22.04.1 | vulnerable |
| Ubuntu | golang-1.21 | 22.04 | 1.21.1-1~ubuntu22.04.2 | fixed |
| Opensuse | go1.21 | tumbleweed | 1.21.2-1.1 | fixed |
| Suse | go1.21 | linux enterprise module for development tools 15 sp4 | 1.21.2-150000.1.9.1 | fixed |
| Suse | go1.21 | linux enterprise module for development tools 15 sp5 | 1.21.2-150000.1.9.1 | fixed |
| Opensuse | go1.21 | leap 15.4 | 1.21.2-150000.1.9.1 | fixed |
| Opensuse | go1.21 | leap 15.5 | 1.21.2-150000.1.9.1 | fixed |
| Opensuse | go1.20 | tumbleweed | 1.20.9-1.1 | fixed |
| Suse | go1.20-openssl | linux enterprise module for development tools 15 sp4 | 1.20.11.1-150000.1.14.1 | fixed |
| Suse | go1.20-openssl | linux enterprise module for development tools 15 sp5 | 1.20.11.1-150000.1.14.1 | fixed |
| Opensuse | go1.20-openssl | leap 15.4 | 1.20.11.1-150000.1.14.1 | fixed |
| Opensuse | go1.20-openssl | leap 15.5 | 1.20.11.1-150000.1.14.1 | fixed |
Fixed-version evidence
| Distribution | Package | Type | Release | Fixed version | Urgency | Origin | Bugs |
|---|---|---|---|---|---|---|---|
| Debian | golang-1.19 | source | bookworm | (unfixed) | not yet assigned | Not reported | Not reported |
| Suse | go1.20 | rpm | linux enterprise module for development tools 15 sp4 | 1.20.9-150000.1.26.1 | Not reported | SUSE-SU-2023:4018-1 | Not reported |
| Suse | go1.20 | rpm | linux enterprise module for development tools 15 sp5 | 1.20.9-150000.1.26.1 | Not reported | SUSE-SU-2023:4018-1 | Not reported |
| Opensuse | go1.20 | rpm | leap 15.4 | 1.20.9-150000.1.26.1 | Not reported | SUSE-SU-2023:4018-1 | Not reported |
| Opensuse | go1.20 | rpm | leap 15.5 | 1.20.9-150000.1.26.1 | Not reported | SUSE-SU-2023:4018-1 | Not reported |
| Ubuntu | golang-1.18 | deb | pro | 1.18.1-1ubuntu1~18.04.4+esm1 | Not reported | UBUNTU-CVE-2023-39323 | Not reported |
| Ubuntu | golang-1.18 | deb | 20.04 | 1.18.1-1ubuntu1~20.04.3 | Not reported | UBUNTU-CVE-2023-39323 | Not reported |
| Ubuntu | golang-1.20 | deb | 20.04 | 1.20.3-1ubuntu0.1~20.04.1 | Not reported | UBUNTU-CVE-2023-39323 | Not reported |
| Ubuntu | golang-1.21 | deb | 20.04 | 1.21.1-1~ubuntu20.04.2 | Not reported | UBUNTU-CVE-2023-39323 | Not reported |
| Ubuntu | golang-1.17 | deb | 22.04 | 1.17.13-3ubuntu1.3 | Not reported | UBUNTU-CVE-2023-39323 | Not reported |
| Ubuntu | golang-1.18 | deb | 22.04 | 1.18.1-1ubuntu1.2 | Not reported | UBUNTU-CVE-2023-39323 | Not reported |
| Ubuntu | golang-1.20 | deb | 22.04 | 1.20.3-1ubuntu0.1~22.04.1 | Not reported | UBUNTU-CVE-2023-39323 | Not reported |
| Ubuntu | golang-1.21 | deb | 22.04 | 1.21.1-1~ubuntu22.04.2 | Not reported | UBUNTU-CVE-2023-39323 | Not reported |
| Opensuse | go1.21 | rpm | tumbleweed | 1.21.2-1.1 | Not reported | OPENSUSE-SU-2024:13307-1 | Not reported |
| Suse | go1.21 | rpm | linux enterprise module for development tools 15 sp4 | 1.21.2-150000.1.9.1 | Not reported | SUSE-SU-2023:4017-1 | Not reported |
| Suse | go1.21 | rpm | linux enterprise module for development tools 15 sp5 | 1.21.2-150000.1.9.1 | Not reported | SUSE-SU-2023:4017-1 | Not reported |
| Opensuse | go1.21 | rpm | leap 15.4 | 1.21.2-150000.1.9.1 | Not reported | SUSE-SU-2023:4017-1 | Not reported |
| Opensuse | go1.21 | rpm | leap 15.5 | 1.21.2-150000.1.9.1 | Not reported | SUSE-SU-2023:4017-1 | Not reported |
| Opensuse | go1.20 | rpm | tumbleweed | 1.20.9-1.1 | Not reported | OPENSUSE-SU-2024:13306-1 | Not reported |
| Suse | go1.20-openssl | rpm | linux enterprise module for development tools 15 sp4 | 1.20.11.1-150000.1.14.1 | Not reported | SUSE-SU-2023:4472-1 | Not reported |
| Suse | go1.20-openssl | rpm | linux enterprise module for development tools 15 sp5 | 1.20.11.1-150000.1.14.1 | Not reported | SUSE-SU-2023:4472-1 | Not reported |
| Opensuse | go1.20-openssl | rpm | leap 15.4 | 1.20.11.1-150000.1.14.1 | Not reported | SUSE-SU-2023:4472-1 | Not reported |
| Opensuse | go1.20-openssl | rpm | leap 15.5 | 1.20.11.1-150000.1.14.1 | Not reported | SUSE-SU-2023:4472-1 | Not reported |
Notes
[bookworm] golang-1.19: Minor issue
OpenFactory catalog packages
Matching against OpenFactory catalog package versions is in progress.
References
- [https://ftp.suse.com/pub/projects/security/csaf/rhba-2023_6928.json]
- [https://osv.dev/vulnerability/DEBIAN-CVE-2023-39323]
- [https://osv.dev/vulnerability/SUSE-SU-2023:4017-1]
- [https://osv.dev/vulnerability/SUSE-SU-2023:4018-1]
- [https://osv.dev/vulnerability/SUSE-SU-2023:4472-1]
- [https://osv.dev/vulnerability/UBUNTU-CVE-2023-39323]
- [https://osv.dev/vulnerability/openSUSE-SU-2024:13306-1]
- [https://osv.dev/vulnerability/openSUSE-SU-2024:13307-1]
- [https://security-tracker.debian.org/tracker/CVE-2023-39323]
- [https://security.access.redhat.com/data/csaf/v2/vex/2023/cve-2023-39323.json]
- [https://wid.cert-bund.de/.well-known/csaf/white/2023/wid-sec-w-2023-2516.json]
[CERT-Bund public advisories] · [Debian Security Tracker] · [FIRST EPSS] · [OSV Package Vulnerability Database] · [Red Hat security advisories and VEX] · [SUSE security advisories and VEX]