UBUNTU-CVE-2021-38561

Source
https://ubuntu.com/security/CVE-2021-38561
Import Source
https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2021/UBUNTU-CVE-2021-38561.json
JSON Data
https://api.osv.dev/v1/vulns/UBUNTU-CVE-2021-38561
Related
Published
2022-12-26T06:15:00Z
Modified
2024-10-15T14:08:21Z
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

golang.org/x/text/language in golang.org/x/text before 0.3.7 can panic with an out-of-bounds read during BCP 47 language tag parsing. Index calculation is mishandled. If parsing untrusted user input, this can be used as a vector for a denial-of-service attack.

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": "medium"
}

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": "medium",
    "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:Pro:18.04:LTS / golang-x-text

Package

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

Affected ranges

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

Affected versions

0.*

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

Ecosystem specific

{
    "ubuntu_priority": "medium"
}

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": "medium",
    "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": "medium"
}

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

Package

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

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
0.3.7-1

Affected versions

0.*

0.3.6-1

Ecosystem specific

{
    "availability": "No subscription required",
    "ubuntu_priority": "medium",
    "binaries": [
        {
            "binary_version": "0.3.7-1",
            "binary_name": "golang-golang-x-text-dev"
        }
    ]
}