USN-6574-1: Go vulnerabilities
11 January 2024
Several security issues were fixed in Go.
Releases
Packages
- golang-1.20 - Go programming language compiler
- golang-1.21 - Go programming language compiler
Details
Takeshi Kaneko discovered that Go did not properly handle comments and
special tags in the script context of html/template module. An attacker
could possibly use this issue to inject Javascript code and perform a cross
site scripting attack. This issue only affected Go 1.20 in Ubuntu 20.04 LTS,
Ubuntu 22.04 LTS and Ubuntu 23.04. (CVE-2023-39318, CVE-2023-39319)
It was discovered that Go did not properly validate the "//go:cgo_"
directives during compilation. An attacker could possibly use this issue to
inject arbitrary code during compile time. (CVE-2023-39323)
It was discovered that Go did not limit the number of simultaneously
executing handler goroutines in the net/http module. An attacker could
possibly use this issue to cause a panic resulting into a denial of service.
(CVE-2023-39325, CVE-2023-44487)
It was discovered that the Go net/http module did not properly validate the
chunk extensions reading from a request or response body. An attacker could
possibly use this issue to read sensitive information. (CVE-2023-39326)
It was discovered that Go did not properly validate the insecure "git://"
protocol when using go get to fetch a module with the ".git" suffix. An
attacker could possibly use this issue to bypass secure protocol checks.
(CVE-2023-45285)
Update instructions
The problem can be corrected by updating your system to the following package versions:
Ubuntu 23.10
-
golang-1.20
-
1.20.8-1ubuntu0.23.10.1
-
golang-1.20-go
-
1.20.8-1ubuntu0.23.10.1
-
golang-1.20-src
-
1.20.8-1ubuntu0.23.10.1
-
golang-1.21
-
1.21.1-1ubuntu0.23.10.1
-
golang-1.21-go
-
1.21.1-1ubuntu0.23.10.1
-
golang-1.21-src
-
1.21.1-1ubuntu0.23.10.1
Ubuntu 23.04
-
golang-1.20
-
1.20.3-1ubuntu0.2
-
golang-1.20-go
-
1.20.3-1ubuntu0.2
-
golang-1.20-src
-
1.20.3-1ubuntu0.2
-
golang-1.21
-
1.21.1-1~ubuntu23.04.2
-
golang-1.21-go
-
1.21.1-1~ubuntu23.04.2
-
golang-1.21-src
-
1.21.1-1~ubuntu23.04.2
Ubuntu 22.04
-
golang-1.20
-
1.20.3-1ubuntu0.1~22.04.1
-
golang-1.20-go
-
1.20.3-1ubuntu0.1~22.04.1
-
golang-1.20-src
-
1.20.3-1ubuntu0.1~22.04.1
-
golang-1.21
-
1.21.1-1~ubuntu22.04.2
-
golang-1.21-go
-
1.21.1-1~ubuntu22.04.2
-
golang-1.21-src
-
1.21.1-1~ubuntu22.04.2
Ubuntu 20.04
-
golang-1.20
-
1.20.3-1ubuntu0.1~20.04.1
-
golang-1.20-go
-
1.20.3-1ubuntu0.1~20.04.1
-
golang-1.20-src
-
1.20.3-1ubuntu0.1~20.04.1
-
golang-1.21
-
1.21.1-1~ubuntu20.04.2
-
golang-1.21-go
-
1.21.1-1~ubuntu20.04.2
-
golang-1.21-src
-
1.21.1-1~ubuntu20.04.2
In general, a standard system update will make all the necessary changes.
Related notices
- USN-7111-1: golang-1.17-go, golang-1.17-src, golang-1.17-doc, golang-1.17
- USN-7109-1: golang-1.18-doc, golang-1.18, golang-1.18-go, golang-1.18-src
- USN-7061-1: golang-1.17-go, golang-1.17-src, golang-1.17-doc, golang-1.17
- USN-6427-1: dotnet-sdk-6.0, dotnet-runtime-6.0, dotnet-sdk-7.0-source-built-artifacts, netstandard-targeting-pack-2.1, dotnet-runtime-7.0, dotnet-targeting-pack-6.0, dotnet-sdk-6.0-source-built-artifacts, netstandard-targeting-pack-2.1-7.0, aspnetcore-targeting-pack-6.0, aspnetcore-runtime-7.0, dotnet-sdk-7.0, aspnetcore-runtime-6.0, dotnet-host-7.0, dotnet6, aspnetcore-targeting-pack-7.0, dotnet-host, dotnet-templates-7.0, dotnet-hostfxr-7.0, dotnet7, dotnet-apphost-pack-7.0, dotnet-hostfxr-6.0, dotnet-targeting-pack-7.0, dotnet-apphost-pack-6.0, dotnet-templates-6.0
- USN-6427-2: aspnetcore-runtime-8.0, dotnet-runtime-8.0, dotnet-host-8.0, dotnet-apphost-pack-8.0, dotnet-templates-8.0, dotnet-sdk-8.0-source-built-artifacts, dotnet-hostfxr-8.0, dotnet-targeting-pack-8.0, dotnet8, aspnetcore-targeting-pack-8.0, netstandard-targeting-pack-2.1-8.0, dotnet-sdk-8.0
- USN-6438-1: dotnet-sdk-6.0, dotnet-runtime-6.0, dotnet-sdk-7.0-source-built-artifacts, netstandard-targeting-pack-2.1, dotnet-runtime-7.0, dotnet-targeting-pack-6.0, dotnet-sdk-6.0-source-built-artifacts, netstandard-targeting-pack-2.1-7.0, aspnetcore-targeting-pack-6.0, aspnetcore-runtime-7.0, dotnet-sdk-7.0, aspnetcore-runtime-6.0, dotnet-host-7.0, dotnet6, aspnetcore-targeting-pack-7.0, dotnet-host, dotnet-templates-7.0, dotnet-hostfxr-7.0, dotnet7, dotnet-apphost-pack-7.0, dotnet-hostfxr-6.0, dotnet-targeting-pack-7.0, dotnet-apphost-pack-6.0, dotnet-templates-6.0
- USN-6505-1: nghttp2-proxy, libnghttp2-14, libnghttp2-dev, nghttp2-server, nghttp2-client, libnghttp2-doc, nghttp2
- USN-6754-1: nghttp2-proxy, libnghttp2-14, libnghttp2-dev, nghttp2-server, nghttp2-client, libnghttp2-doc, nghttp2
- USN-6994-1: libnetty-java, netty
- USN-7067-1: vim-haproxy, haproxy-doc, haproxy