Lucene search

K
redhatcveRedhat.comRH:CVE-2023-29405
HistoryJun 26, 2023 - 6:17 p.m.

CVE-2023-29405

2023-06-2618:17:40
redhat.com
access.redhat.com
35
cve-2023-29405
golang
arbitrary code execution
build time
cgo
go get
malicious module
untrusted code
linker flags
ldflags directive
gccgo compiler

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

75.5%

A flaw was found in golang. The go command may execute arbitrary code at build time when using cgo. This can occur when running โ€œgo getโ€ on a malicious module, or when running any other command which builds untrusted code. This can be triggered by linker flags, specified via a โ€œ#cgo LDFLAGSโ€ directive. Flags containing embedded spaces are mishandled, allowing disallowed flags to be smuggled through the LDFLAGS sanitization by including them in the argument of another flag. This only affects usage of the gccgo compiler.

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

75.5%