Advisory

USN-6574-1

Also known as: CVE-2023-39318, CVE-2023-39319, CVE-2023-39323, CVE-2023-39325, CVE-2023-39326, CVE-2023-44487, CVE-2023-45285

Summary

Go vulnerabilities

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)

Severity

Not rated by the source.

Dates

Published
2024-01-11 05:30 UTC
Modified
2026-04-27 17:17 UTC

Affected packages and fixes

golang-1.20

Debian packages (deb) · Ubuntu 20.04

Affected

  • introduced 0, fixed 1.20.3-1ubuntu0.1~20.04.1 (ecosystem)

Fixed versions

1.20.3-1ubuntu0.1~20.04.1

Fix

  • Fixed version 1.20.3-1ubuntu0.1~20.04.1
    sudo apt-get update && sudo apt-get upgrade

This command upgrades the distribution's packages. Compare the fixed version with the version you have installed.

golang-1.21

Debian packages (deb) · Ubuntu 20.04

Affected

  • introduced 0, fixed 1.21.1-1~ubuntu20.04.2 (ecosystem)

Fixed versions

1.21.1-1~ubuntu20.04.2

Fix

  • Fixed version 1.21.1-1~ubuntu20.04.2
    sudo apt-get update && sudo apt-get upgrade

This command upgrades the distribution's packages. Compare the fixed version with the version you have installed.

golang-1.20

Debian packages (deb) · Ubuntu 22.04

Affected

  • introduced 0, fixed 1.20.3-1ubuntu0.1~22.04.1 (ecosystem)

Fixed versions

1.20.3-1ubuntu0.1~22.04.1

Fix

  • Fixed version 1.20.3-1ubuntu0.1~22.04.1
    sudo apt-get update && sudo apt-get upgrade

This command upgrades the distribution's packages. Compare the fixed version with the version you have installed.

golang-1.21

Debian packages (deb) · Ubuntu 22.04

Affected

  • introduced 0, fixed 1.21.1-1~ubuntu22.04.2 (ecosystem)

Fixed versions

1.21.1-1~ubuntu22.04.2

Fix

  • Fixed version 1.21.1-1~ubuntu22.04.2
    sudo apt-get update && sudo apt-get upgrade

This command upgrades the distribution's packages. Compare the fixed version with the version you have installed.

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: Ubuntu Security Notices · CC BY-SA 4.0

Sources & licences