Improper handling of non-optional LDFLAGS in go command with cgo in cmd/go
Default status is the baseline for the product, each version can override it (e.g. patched versions marked unaffected).
| Vendor | Product | Default status | Versions | |||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Go toolchain | cmd/go | unaffected |
|
Configuration 1 [-]
|
Configuration 2 [-]
|
| Package | CPE | Advisory | Released Date |
|---|---|---|---|
| Red Hat Ceph Storage 5.3 | |||
| rhceph/keepalived-rhel8:2.1.5-42 | cpe:/a:redhat:ceph_storage:5.3::el8 | RHSA-2024:4119 | 2024-06-26T00:00:00Z |
| rhceph/rhceph-5-dashboard-rhel8:5-87 | cpe:/a:redhat:ceph_storage:5.3::el8 | RHSA-2024:4119 | 2024-06-26T00:00:00Z |
| rhceph/rhceph-5-rhel8:5-519 | cpe:/a:redhat:ceph_storage:5.3::el8 | RHSA-2024:4119 | 2024-06-26T00:00:00Z |
| rhceph/rhceph-haproxy-rhel8:2.2.19-35 | cpe:/a:redhat:ceph_storage:5.3::el8 | RHSA-2024:4119 | 2024-06-26T00:00:00Z |
| rhceph/snmp-notifier-rhel8:1.2.1-69 | cpe:/a:redhat:ceph_storage:5.3::el8 | RHSA-2024:4119 | 2024-06-26T00:00:00Z |
| Red Hat Developer Tools | |||
| go-toolset-1.19-0:1.19.10-1.el7_9 | cpe:/a:redhat:devtools:2023::el7 | RHSA-2023:3920 | 2023-06-29T00:00:00Z |
| go-toolset-1.19-golang-0:1.19.10-1.el7_9 | cpe:/a:redhat:devtools:2023::el7 | RHSA-2023:3920 | 2023-06-29T00:00:00Z |
| Red Hat Enterprise Linux 8 | |||
| go-toolset:rhel8-8080020230627164522.6b4b45d8 | cpe:/a:redhat:enterprise_linux:8 | RHSA-2023:3922 | 2023-06-29T00:00:00Z |
| Red Hat Enterprise Linux 9 | |||
| golang-0:1.19.10-1.el9_2 | cpe:/a:redhat:enterprise_linux:9 | RHSA-2023:3923 | 2023-06-29T00:00:00Z |
| go-toolset-0:1.19.10-1.el9_2 | cpe:/a:redhat:enterprise_linux:9 | RHSA-2023:3923 | 2023-06-29T00:00:00Z |
No data available yet.
| Source | ID | Title |
|---|---|---|
EUVD |
EUVD-2023-32975 | The go command may execute arbitrary code at build time when using cgo. This may occur when running "go get" on a malicious module, or when running any other command which builds untrusted code. This is can by triggered by linker flags, specified via a "#cgo LDFLAGS" directive. The arguments for a number of flags which are non-optional are incorrectly considered optional, allowing disallowed flags to be smuggled through the LDFLAGS sanitization. This affects usage of both the gc and gccgo compilers. |
Ubuntu USN |
USN-7061-1 | Go vulnerabilities |
Ubuntu USN |
USN-7109-1 | Go vulnerabilities |
No CVSS v4.0
No CVSS v3.0
No CVSS v2
This CVE is not in the KEV list.
Exploit prediction score: 1.8% (1.822% probability within 30 days)
| Type | Values Removed | Values Added |
|---|---|---|
| Metrics |
epss
|
epss
|
| Type | Values Removed | Values Added |
|---|---|---|
| Metrics |
ssvc
|
| Type | Values Removed | Values Added |
|---|---|---|
| References |
|