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-39319

Published: 8 September 2023

The html/template package does not apply the proper rules for handling occurrences of "<script", "<!--", and "</script" within JS literals in <script> contexts. This may cause the template parser to improperly consider script contexts to be terminated early, causing actions to be improperly escaped. This could 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
trusty Ignored
(end of standard support)
xenial Does not exist

bionic Does not exist

focal Does not exist

jammy Does not exist

lunar Does not exist

upstream Needs triage

mantic Does not exist

golang-1.6
Launchpad, Ubuntu, Debian
trusty Ignored
(end of standard support)
xenial Needs triage

bionic Does not exist

focal Does not exist

jammy Does not exist

lunar Does not exist

upstream Needs triage

mantic Does not exist

golang-1.8
Launchpad, Ubuntu, Debian
trusty Does not exist

xenial Does not exist

bionic Needs triage

focal Does not exist

jammy Does not exist

lunar Does not exist

upstream Needs triage

mantic Does not exist

golang-1.9
Launchpad, Ubuntu, Debian
trusty Does not exist

xenial Does not exist

bionic Needs triage

focal Does not exist

jammy Does not exist

lunar Does not exist

upstream Needs triage

mantic Does not exist

golang-1.10
Launchpad, Ubuntu, Debian
trusty Needs triage

xenial Needs triage

bionic Needs triage

focal Does not exist

jammy Does not exist

lunar Does not exist

upstream Needs triage

mantic Does not exist

golang-1.13
Launchpad, Ubuntu, Debian
trusty Does not exist

xenial Needs triage

bionic Needs triage

focal Needs triage

jammy Needs triage

lunar Does not exist

upstream Needs triage

mantic Does not exist

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

xenial Does not exist

bionic Does not exist

focal Needs triage

jammy Does not exist

lunar Does not exist

upstream Needs triage

mantic Does not exist

golang-1.16
Launchpad, Ubuntu, Debian
trusty Does not exist

xenial Does not exist

bionic Needs triage

focal Needs triage

jammy Does not exist

lunar Does not exist

upstream Needs triage

mantic Does not exist

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

xenial Does not exist

bionic Does not exist

focal Does not exist

jammy Needs triage

lunar Does not exist

upstream Needs triage

mantic Does not exist

golang-1.18
Launchpad, Ubuntu, Debian
trusty Does not exist

xenial Needs triage

bionic Needs triage

focal Needs triage

jammy Needs triage

lunar Does not exist

upstream Needs triage

mantic Does not exist

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

xenial Does not exist

bionic Does not exist

focal Does not exist

jammy Does not exist

lunar Ignored
(end of life, was needs-triage)
upstream Needs triage

mantic Does not exist

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

xenial Does not exist

bionic Does not exist

focal
Released (1.20.3-1ubuntu0.1~20.04.1)
jammy
Released (1.20.3-1ubuntu0.1~22.04.1)
upstream
Released (1.20.8)
mantic Not vulnerable
(1.20.8-1)
lunar
Released (1.20.3-1ubuntu0.2)
golang-1.21
Launchpad, Ubuntu, Debian
trusty Does not exist

xenial Does not exist

bionic Does not exist

upstream
Released (1.21.1)
mantic Not vulnerable
(1.21.1-1)
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)
Patches:
upstream: https://github.com/golang/go/commit/bbd043ff0d6d59f1a9232d31ecd5eacf6507bf6a

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