Advisory Published

USN-6574-1: Go vulnerabilities

First published: Thu Jan 11 2024(Updated: )

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)

Affected SoftwareAffected VersionHow to fix
All of
ubuntu/golang-1.20<1.20.8-1ubuntu0.23.10.1
1.20.8-1ubuntu0.23.10.1
Ubuntu Ubuntu=23.10
All of
ubuntu/golang-1.20-go<1.20.8-1ubuntu0.23.10.1
1.20.8-1ubuntu0.23.10.1
Ubuntu Ubuntu=23.10
All of
ubuntu/golang-1.20-src<1.20.8-1ubuntu0.23.10.1
1.20.8-1ubuntu0.23.10.1
Ubuntu Ubuntu=23.10
All of
ubuntu/golang-1.21<1.21.1-1ubuntu0.23.10.1
1.21.1-1ubuntu0.23.10.1
Ubuntu Ubuntu=23.10
All of
ubuntu/golang-1.21-go<1.21.1-1ubuntu0.23.10.1
1.21.1-1ubuntu0.23.10.1
Ubuntu Ubuntu=23.10
All of
ubuntu/golang-1.21-src<1.21.1-1ubuntu0.23.10.1
1.21.1-1ubuntu0.23.10.1
Ubuntu Ubuntu=23.10
All of
ubuntu/golang-1.20<1.20.3-1ubuntu0.2
1.20.3-1ubuntu0.2
Ubuntu Ubuntu=23.04
All of
ubuntu/golang-1.20-go<1.20.3-1ubuntu0.2
1.20.3-1ubuntu0.2
Ubuntu Ubuntu=23.04
All of
ubuntu/golang-1.20-src<1.20.3-1ubuntu0.2
1.20.3-1ubuntu0.2
Ubuntu Ubuntu=23.04
All of
ubuntu/golang-1.21<1.21.1-1~ubuntu23.04.2
1.21.1-1~ubuntu23.04.2
Ubuntu Ubuntu=23.04
All of
ubuntu/golang-1.21-go<1.21.1-1~ubuntu23.04.2
1.21.1-1~ubuntu23.04.2
Ubuntu Ubuntu=23.04
All of
ubuntu/golang-1.21-src<1.21.1-1~ubuntu23.04.2
1.21.1-1~ubuntu23.04.2
Ubuntu Ubuntu=23.04
All of
ubuntu/golang-1.20<1.20.3-1ubuntu0.1~22.04.1
1.20.3-1ubuntu0.1~22.04.1
Ubuntu Ubuntu=22.04
All of
ubuntu/golang-1.20-go<1.20.3-1ubuntu0.1~22.04.1
1.20.3-1ubuntu0.1~22.04.1
Ubuntu Ubuntu=22.04
All of
ubuntu/golang-1.20-src<1.20.3-1ubuntu0.1~22.04.1
1.20.3-1ubuntu0.1~22.04.1
Ubuntu Ubuntu=22.04
All of
ubuntu/golang-1.21<1.21.1-1~ubuntu22.04.2
1.21.1-1~ubuntu22.04.2
Ubuntu Ubuntu=22.04
All of
ubuntu/golang-1.21-go<1.21.1-1~ubuntu22.04.2
1.21.1-1~ubuntu22.04.2
Ubuntu Ubuntu=22.04
All of
ubuntu/golang-1.21-src<1.21.1-1~ubuntu22.04.2
1.21.1-1~ubuntu22.04.2
Ubuntu Ubuntu=22.04
All of
ubuntu/golang-1.20<1.20.3-1ubuntu0.1~20.04.1
1.20.3-1ubuntu0.1~20.04.1
Ubuntu Ubuntu=20.04
All of
ubuntu/golang-1.20-go<1.20.3-1ubuntu0.1~20.04.1
1.20.3-1ubuntu0.1~20.04.1
Ubuntu Ubuntu=20.04
All of
ubuntu/golang-1.20-src<1.20.3-1ubuntu0.1~20.04.1
1.20.3-1ubuntu0.1~20.04.1
Ubuntu Ubuntu=20.04
All of
ubuntu/golang-1.21<1.21.1-1~ubuntu20.04.2
1.21.1-1~ubuntu20.04.2
Ubuntu Ubuntu=20.04
All of
ubuntu/golang-1.21-go<1.21.1-1~ubuntu20.04.2
1.21.1-1~ubuntu20.04.2
Ubuntu Ubuntu=20.04
All of
ubuntu/golang-1.21-src<1.21.1-1~ubuntu20.04.2
1.21.1-1~ubuntu20.04.2
Ubuntu Ubuntu=20.04

Never miss a vulnerability like this again

Sign up to SecAlerts for real-time vulnerability data matched to your software, aggregated from hundreds of sources.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2024 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203