Lucene search

K
ubuntucveUbuntu.comUB:CVE-2023-29404
HistoryJun 08, 2023 - 12:00 a.m.

CVE-2023-29404

2023-06-0800:00:00
ubuntu.com
ubuntu.com
43
cgo vulnerability
arbitrary code execution
linker flags
invalid flags
go command vulnerability
compiler vulnerability

9.8 High

CVSS3

Attack Vector

NETWORK

Attack Complexity

LOW

Privileges Required

NONE

User Interaction

NONE

Scope

UNCHANGED

Confidentiality Impact

HIGH

Integrity Impact

HIGH

Availability Impact

HIGH

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

0.005 Low

EPSS

Percentile

77.3%

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.

Notes

Author Note
mdeslaur Packages built using golang need to be rebuilt once the vulnerability has been fixed. This CVE entry does not list packages that need rebuilding outside of the main repository or the Ubuntu variants with PPA overlays.

9.8 High

CVSS3

Attack Vector

NETWORK

Attack Complexity

LOW

Privileges Required

NONE

User Interaction

NONE

Scope

UNCHANGED

Confidentiality Impact

HIGH

Integrity Impact

HIGH

Availability Impact

HIGH

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

0.005 Low

EPSS

Percentile

77.3%