CVE-2023-39323

EUVD-2023-43055
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.
ProviderTypeBase ScoreAtk. VectorAtk. ComplexityPriv. RequiredVector
NISTPrimary
8.1 HIGH
NETWORK
HIGH
NONE
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H
CISA-ADPADP
8.1 HIGH
NETWORK
HIGH
NONE
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H
Base Score
CVSS 3.x
EPSS Score
Percentile: 18%
Affected Products (NVD)
VendorProductVersion
golanggo
𝑥
< 1.20.9
golanggo
1.21.0 ≤
𝑥
< 1.21.2
𝑥
= Vulnerable software versions
Debian logo
Debian Releases
Debian Product
Codename
golang-1.15
bookworm
no-dsa
bullseye
vulnerable
buster
postponed
golang-1.19
bookworm
vulnerable
bullseye
no-dsa
buster
postponed
Ubuntu logo
Ubuntu Releases
Ubuntu Product
Codename
golang-1.17
focal
dne
jammy
Fixed 1.17.13-3ubuntu1.3
released
mantic
dne
noble
dne
oracular
dne
golang-1.18
bionic
Fixed 1.18.1-1ubuntu1~18.04.4+esm1
released
focal
Fixed 1.18.1-1ubuntu1~20.04.3
released
jammy
Fixed 1.18.1-1ubuntu1.2
released
mantic
dne
noble
dne
oracular
dne
xenial
Fixed 1.18.1-1ubuntu1~16.04.6+esm1
released
golang-1.19
bionic
ignored
focal
dne
jammy
dne
lunar
ignored
mantic
dne
noble
dne
oracular
dne
trusty
ignored
xenial
ignored
golang-1.20
bionic
ignored
focal
Fixed 1.20.3-1ubuntu0.1~20.04.1
released
jammy
Fixed 1.20.3-1ubuntu0.1~22.04.1
released
lunar
Fixed 1.20.3-1ubuntu0.2
released
mantic
Fixed 1.20.8-1ubuntu0.23.10.1
released
noble
dne
oracular
dne
trusty
ignored
xenial
ignored
golang-1.21
bionic
ignored
focal
Fixed 1.21.1-1~ubuntu20.04.2
released
jammy
Fixed 1.21.1-1~ubuntu22.04.2
released
lunar
Fixed 1.21.1-1~ubuntu23.04.2
released
mantic
Fixed 1.21.1-1ubuntu0.23.10.1
released
noble
not-affected
oracular
dne
trusty
ignored
xenial
ignored