Advisory

DEBIAN-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-10-26 12:00 UTC

Affected packages and fixes

golang-golang-x-text

Debian packages (deb) · Debian 12

Affected

  • introduced 0, fixed 0.3.3-1 (ecosystem)

Fixed versions

0.3.3-1

Fix

  • Fixed version 0.3.3-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) · Debian 13

Affected

  • introduced 0, fixed 0.3.3-1 (ecosystem)

Fixed versions

0.3.3-1

Fix

  • Fixed version 0.3.3-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) · Debian 14

Affected

  • introduced 0, fixed 0.3.3-1 (ecosystem)

Fixed versions

0.3.3-1

Fix

  • Fixed version 0.3.3-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.

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: Debian Security Tracker (converted by OSV.dev)

Debian Security Tracker, converted to OSV by OSV.dev.

Sources & licences