Advisory

UBUNTU-CVE-2020-14040

Also known as: CVE-2020-14040

Summary

The record has no summary.

Details

The x/text package before 0.3.3 for Go has a vulnerability in encoding/unicode that could lead to the UTF-16 decoder entering an infinite loop, causing the program to crash or run out of memory. An attacker could provide a single byte to a UTF16 decoder instantiated with UseBOM or ExpectBOM to trigger an infinite loop if the String function on the Decoder is called, or the Decoder is passed to golang.org/x/text/transform.String.

Severity

High Basis: CVSS v3 score 7.5, vector CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

Dates

Published
2020-06-17 20:15 UTC
Modified
2026-02-04 04:33 UTC

Affected packages and fixes

golang-x-text

Debian packages (deb) · Ubuntu 16.04

Affected

  • introduced 0 (ecosystem)

Fixed versions

None listed

Fix

No fixed version is listed.

golang-x-text

Debian packages (deb) · Ubuntu 18.04

Affected

  • introduced 0, fixed 0.0~git20170627.0.6353ef0-1ubuntu2.1 (ecosystem)

Fixed versions

0.0~git20170627.0.6353ef0-1ubuntu2.1

Fix

  • Fixed version 0.0~git20170627.0.6353ef0-1ubuntu2.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-golang-x-text

Debian packages (deb) · Ubuntu 20.04

Affected

  • introduced 0, fixed 0.3.2-4ubuntu0.1 (ecosystem)

Fixed versions

0.3.2-4ubuntu0.1

Fix

  • Fixed version 0.3.2-4ubuntu0.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-x-text

Debian packages (deb) · Ubuntu 20.04

Affected

  • introduced 0 (ecosystem)

Fixed versions

None listed

Fix

No fixed version is listed.

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