CVE-2023-39323

Public on 2023-10-05
Modified on 2023-10-31
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
Important
See what this means
CVSS v3 Base Score
7.5
See breakdown

Affected Packages

Platform Package Release Date Advisory
Amazon Linux 2 - Ecs Extra ecs-service-connect-agent 2023-10-17 ALAS2ECS-2023-016
Amazon Linux 2023 ecs-service-connect-agent 2023-11-03 ALAS2023-2023-420
Amazon Linux 1 golang 2023-10-17 ALAS-2023-1871
Amazon Linux 2 - Core golang 2023-10-16 ALAS2-2023-2313
Amazon Linux 2023 golang 2023-10-17 ALAS2023-2023-394

CVSS Scores

Score Type Score Vector
Amazon 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