p PatchFirst

CVE-2020-14040

CVE-2020-14040

This page contains facts from public vulnerability sources. Check the original advisory before updating.

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.

CVSS 7.5 · High · EPSS 1.8% · Fix available

Published
Updated

Stack: system

Affected products and versions

  • n/a

    Versions
    • n/a: Affected

    No fix published

  • golang-golang-x-text Debian:12

    Affected ranges
    • ECOSYSTEM: < 0.3.3-1

    Update to 0.3.3-1

  • golang-golang-x-text Debian:13

    Affected ranges
    • ECOSYSTEM: < 0.3.3-1

    Update to 0.3.3-1

  • golang-golang-x-text Debian:14

    Affected ranges
    • ECOSYSTEM: < 0.3.3-1

    Update to 0.3.3-1

  • golang-x-text Ubuntu:16.04:LTS

    Versions
    • 0+git20151019.0fe7e68-0ubuntu1
    • 0+git20151217.cf49866-0ubuntu1
    Affected ranges
    • ECOSYSTEM: (−∞, +∞)

    No fix published

  • golang-x-text Ubuntu:18.04:LTS

    Versions
    • 0.0~git20170627.0.6353ef0-1ubuntu1
    • 0.0~git20170627.0.6353ef0-1ubuntu2
    Affected ranges
    • ECOSYSTEM: < 0.0~git20170627.0.6353ef0-1ubuntu2.1

    Update to 0.0~git20170627.0.6353ef0-1ubuntu2.1

  • golang-golang-x-text Ubuntu:20.04:LTS

    Versions
    • 0.3.2-3
    • 0.3.2-4
    Affected ranges
    • ECOSYSTEM: < 0.3.2-4ubuntu0.1

    Update to 0.3.2-4ubuntu0.1

  • golang-x-text Ubuntu:20.04:LTS

    Versions
    • 0.3.2-1
    Affected ranges
    • ECOSYSTEM: (−∞, +∞)

    No fix published

Original sources

Check your server →