Your submission was sent successfully! Close

You have successfully unsubscribed! Close

Thank you for signing up for our newsletter!
In these regular emails you will find the latest updates about Ubuntu and upcoming events where you can meet our team.Close

CVE-2023-39318

Published: 8 September 2023

The html/template package does not properly handle HTML-like "" comment tokens, nor hashbang "#!" comment tokens, in <script> contexts. This may cause the template parser to improperly interpret the contents of <script> contexts, causing actions to be improperly escaped. This may be leveraged to perform an XSS attack.

Notes

AuthorNote
mdeslaur
Packages built using golang need to be rebuilt once the
vulnerability has been fixed. This CVE entry does not
list packages that need rebuilding outside of the main
repository or the Ubuntu variants with PPA overlays.

Priority

Medium

Cvss 3 Severity Score

6.1

Score breakdown

Status

Package Release Status
golang
Launchpad, Ubuntu, Debian
bionic Does not exist

focal Does not exist

jammy Does not exist

lunar Does not exist

mantic Does not exist

trusty Ignored
(end of standard support)
upstream Needs triage

xenial Does not exist

golang-1.10
Launchpad, Ubuntu, Debian
bionic Needs triage

focal Does not exist

jammy Does not exist

lunar Does not exist

mantic Does not exist

trusty Needs triage

upstream Needs triage

xenial Needs triage

golang-1.13
Launchpad, Ubuntu, Debian
bionic Needs triage

focal Needs triage

jammy Needs triage

lunar Does not exist

mantic Does not exist

trusty Does not exist

upstream Needs triage

xenial Needs triage

golang-1.14
Launchpad, Ubuntu, Debian
bionic Does not exist

focal Needs triage

jammy Does not exist

lunar Does not exist

mantic Does not exist

trusty Does not exist

upstream Needs triage

xenial Does not exist

golang-1.16
Launchpad, Ubuntu, Debian
bionic Needs triage

focal Needs triage

jammy Does not exist

lunar Does not exist

mantic Does not exist

trusty Does not exist

upstream Needs triage

xenial Does not exist

golang-1.17
Launchpad, Ubuntu, Debian
bionic Does not exist

focal Does not exist

jammy Needs triage

lunar Does not exist

mantic Does not exist

trusty Does not exist

upstream Needs triage

xenial Does not exist

golang-1.18
Launchpad, Ubuntu, Debian
bionic Needs triage

focal Needs triage

jammy Needs triage

lunar Does not exist

mantic Does not exist

trusty Does not exist

upstream Needs triage

xenial Needs triage

golang-1.19
Launchpad, Ubuntu, Debian
bionic Does not exist

focal Does not exist

jammy Does not exist

lunar Ignored
(end of life, was needs-triage)
mantic Does not exist

trusty Does not exist

upstream Needs triage

xenial Does not exist

golang-1.20
Launchpad, Ubuntu, Debian
bionic Does not exist

focal
Released (1.20.3-1ubuntu0.1~20.04.1)
jammy
Released (1.20.3-1ubuntu0.1~22.04.1)
lunar
Released (1.20.3-1ubuntu0.2)
mantic Not vulnerable
(1.20.8-1)
trusty Does not exist

upstream
Released (1.20.8)
xenial Does not exist

Patches:
upstream: https://github.com/golang/go/commit/023b542edf38e2a1f87fcefb9f75ff2f99401b4c

golang-1.21
Launchpad, Ubuntu, Debian
bionic Does not exist

focal Not vulnerable
(1.21.1-1~ubuntu20.04.1)
jammy Not vulnerable
(1.21.1-1~ubuntu22.04.1)
lunar Not vulnerable
(1.21.1-1~ubuntu23.04.1)
mantic Not vulnerable
(1.21.1-1)
trusty Does not exist

upstream
Released (1.21.1)
xenial Does not exist

Patches:

upstream: https://github.com/golang/go/commit/b0e1d3ea26e8e8fce7726690c9ef0597e60739fb
golang-1.6
Launchpad, Ubuntu, Debian
bionic Does not exist

focal Does not exist

jammy Does not exist

lunar Does not exist

mantic Does not exist

trusty Ignored
(end of standard support)
upstream Needs triage

xenial Needs triage

golang-1.8
Launchpad, Ubuntu, Debian
bionic Needs triage

focal Does not exist

jammy Does not exist

lunar Does not exist

mantic Does not exist

trusty Does not exist

upstream Needs triage

xenial Does not exist

golang-1.9
Launchpad, Ubuntu, Debian
bionic Needs triage

focal Does not exist

jammy Does not exist

lunar Does not exist

mantic Does not exist

trusty Does not exist

upstream Needs triage

xenial Does not exist

Severity score breakdown

Parameter Value
Base score 6.1
Attack vector Network
Attack complexity Low
Privileges required None
User interaction Required
Scope Changed
Confidentiality Low
Integrity impact Low
Availability impact None
Vector CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N