CVE-2023-39323
Public on 2023-10-05
Modified on 2024-04-04
Description
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.
Severity
CVSS v3 Base Score
See breakdown
Affected Packages
Platform | Package | Release Date | Advisory | Status |
---|---|---|---|---|
HAQM Linux 2 - Ecs Extra | ecs-service-connect-agent | 2023-10-31 | ALAS2ECS-2023-016 | Fixed |
HAQM Linux 2023 | ecs-service-connect-agent | 2023-10-30 | ALAS2023-2023-420 | Fixed |
HAQM Linux 1 | golang | 2023-10-16 | ALAS-2023-1871 | Fixed |
HAQM Linux 2 - Core | golang | 2023-10-16 | ALAS2-2023-2313 | Fixed |
HAQM Linux 2023 | golang | 2023-10-16 | ALAS2023-2023-394 | Fixed |
CVSS Scores
Score Type | Score | Vector | |
---|---|---|---|
HAQM Linux | CVSSv3 | 7.5 | CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:H |
NVD | CVSSv3 | 8.1 | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H |