UBUNTU-CVE-2021-29482

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

xz is a compression and decompression library focusing on the xz format completely written in Go. The function readUvarint used to read the xz container format may not terminate a loop provide malicous input. The problem has been fixed in release v0.5.8. As a workaround users can limit the size of the compressed file input to a reasonable size for their use case. The standard library had recently the same issue and got the CVE-2020-16845 allocated.

References

Affected packages

Ubuntu:20.04:LTS / golang-github-ulikunitz-xz

Package

Name
golang-github-ulikunitz-xz
Purl
pkg:deb/ubuntu/golang-github-ulikunitz-xz?arch=src?distro=focal

Affected ranges

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

Affected versions

0.*

0.5.6-1

Ecosystem specific

{
    "ubuntu_priority": "medium"
}

Ubuntu:22.04:LTS / golang-github-ulikunitz-xz

Package

Name
golang-github-ulikunitz-xz
Purl
pkg:deb/ubuntu/golang-github-ulikunitz-xz?arch=src?distro=jammy

Affected ranges

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

Affected versions

0.*

0.5.6-2

Ecosystem specific

{
    "ubuntu_priority": "medium"
}

Ubuntu:24.10 / golang-github-ulikunitz-xz

Package

Name
golang-github-ulikunitz-xz
Purl
pkg:deb/ubuntu/golang-github-ulikunitz-xz?arch=src?distro=oracular

Affected ranges

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

Affected versions

0.*

0.5.6-2

Ecosystem specific

{
    "ubuntu_priority": "medium"
}

Ubuntu:24.04:LTS / golang-github-ulikunitz-xz

Package

Name
golang-github-ulikunitz-xz
Purl
pkg:deb/ubuntu/golang-github-ulikunitz-xz?arch=src?distro=noble

Affected ranges

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

Affected versions

0.*

0.5.6-2

Ecosystem specific

{
    "ubuntu_priority": "medium"
}