UBUNTU-CVE-2020-14040

Source
https://ubuntu.com/security/CVE-2020-14040
Import Source
https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2020/UBUNTU-CVE-2020-14040.json
JSON Data
https://api.osv.dev/v1/vulns/UBUNTU-CVE-2020-14040
Related
Published
2020-06-17T20:15:00Z
Modified
2024-11-20T12:19:43Z
Severity
  • 7.5 (High) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H CVSS Calculator
Summary
[none]
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.

References

Affected packages

Ubuntu:Pro:16.04:LTS / golang-x-text

Package

Name
golang-x-text
Purl
pkg:deb/ubuntu/golang-x-text?arch=src?distro=esm-infra/xenial

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected

Affected versions

0+git20151019.*

0+git20151019.0fe7e68-0ubuntu1

0+git20151217.*

0+git20151217.cf49866-0ubuntu1

Ecosystem specific

{
    "ubuntu_priority": "low"
}

Ubuntu:18.04:LTS / golang-x-text

Package

Name
golang-x-text
Purl
pkg:deb/ubuntu/golang-x-text?arch=src?distro=bionic

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
0.0~git20170627.0.6353ef0-1ubuntu2.1

Affected versions

0.*

0.0~git20170627.0.6353ef0-1ubuntu1
0.0~git20170627.0.6353ef0-1ubuntu2

Ecosystem specific

{
    "availability": "No subscription required",
    "ubuntu_priority": "low",
    "binaries": [
        {
            "binary_version": "0.0~git20170627.0.6353ef0-1ubuntu2.1",
            "binary_name": "golang-golang-x-text-dev"
        },
        {
            "binary_version": "0.0~git20170627.0.6353ef0-1ubuntu2.1",
            "binary_name": "golang-x-text-dev"
        }
    ]
}

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

Package

Name
golang-golang-x-text
Purl
pkg:deb/ubuntu/golang-golang-x-text?arch=src?distro=focal

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
0.3.2-4ubuntu0.1

Affected versions

0.*

0.3.2-3
0.3.2-4

Ecosystem specific

{
    "availability": "No subscription required",
    "ubuntu_priority": "low",
    "binaries": [
        {
            "binary_version": "0.3.2-4ubuntu0.1",
            "binary_name": "golang-golang-x-text-dev"
        }
    ]
}

Ubuntu:20.04:LTS / golang-x-text

Package

Name
golang-x-text
Purl
pkg:deb/ubuntu/golang-x-text?arch=src?distro=focal

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected

Affected versions

0.*

0.3.2-1

Ecosystem specific

{
    "ubuntu_priority": "low"
}