Lucene search

K
osvGoogleOSV:BIT-GOLANG-2023-29402
HistoryMar 06, 2024 - 10:55 a.m.

BIT-golang-2023-29402

2024-03-0610:55:47
Google
osv.dev
3
go language
unexpected code
build time
cgo
untrusted modules.

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

9.5 High

AI Score

Confidence

High

0.005 Low

EPSS

Percentile

77.0%

The go command may generate unexpected code at build time when using cgo. This may result in unexpected behavior when running a go program which uses cgo. This may occur when running an untrusted module which contains directories with newline characters in their names. Modules which are retrieved using the go command, i.e. via โ€œgo getโ€, are not affected (modules retrieved using GOPATH-mode, i.e. GO111MODULE=off, may be affected).

CPENameOperatorVersion
golangge1.20.0
golanglt1.19.10
golanglt1.20.5

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

9.5 High

AI Score

Confidence

High

0.005 Low

EPSS

Percentile

77.0%