CVE-2023-39323

Publication date 5 October 2023

Last updated 14 November 2024


Ubuntu priority

Cvss 3 Severity Score

8.1 · High

Score breakdown

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.

Status

Package Ubuntu Release Status
golang-1.17 24.10 oracular Not in release
24.04 LTS noble Not in release
23.10 mantic Not in release
22.04 LTS jammy
Fixed 1.17.13-3ubuntu1.3
20.04 LTS focal Not in release
golang-1.18 24.10 oracular Not in release
24.04 LTS noble Not in release
23.10 mantic Not in release
22.04 LTS jammy
Fixed 1.18.1-1ubuntu1.2
20.04 LTS focal
Fixed 1.18.1-1ubuntu1~20.04.3
18.04 LTS bionic
16.04 LTS xenial
golang-1.19 24.10 oracular Not in release
24.04 LTS noble Not in release
23.10 mantic Not in release
23.04 lunar Ignored end of life, was needs-triage
22.04 LTS jammy Not in release
20.04 LTS focal Not in release
18.04 LTS bionic Ignored end of standard support
16.04 LTS xenial Ignored end of standard support
14.04 LTS trusty Ignored end of standard support
golang-1.20 24.10 oracular Not in release
24.04 LTS noble Not in release
23.10 mantic
Fixed 1.20.8-1ubuntu0.23.10.1
23.04 lunar
Fixed 1.20.3-1ubuntu0.2
22.04 LTS jammy
Fixed 1.20.3-1ubuntu0.1~22.04.1
20.04 LTS focal
Fixed 1.20.3-1ubuntu0.1~20.04.1
18.04 LTS bionic Ignored end of standard support
16.04 LTS xenial Ignored end of standard support
14.04 LTS trusty Ignored end of standard support
golang-1.21 24.10 oracular Not in release
24.04 LTS noble
Not affected
23.10 mantic
Fixed 1.21.1-1ubuntu0.23.10.1
23.04 lunar
Fixed 1.21.1-1~ubuntu23.04.2
22.04 LTS jammy
Fixed 1.21.1-1~ubuntu22.04.2
20.04 LTS focal
Fixed 1.21.1-1~ubuntu20.04.2
18.04 LTS bionic Ignored end of standard support
16.04 LTS xenial Ignored end of standard support
14.04 LTS trusty Ignored end of standard support

Get expanded security coverage with Ubuntu Pro

Reduce your average CVE exposure time from 98 days to 1 day with expanded CVE patching, ten-years security maintenance and optional support for the full stack of open-source applications. Free for personal use.

Get Ubuntu Pro

Severity score breakdown

Parameter Value
Base score 8.1 · High
Attack vector Network
Attack complexity High
Privileges required None
User interaction None
Scope Unchanged
Confidentiality High
Integrity impact High
Availability impact High
Vector CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H