CVE-2021-29482

Source
https://nvd.nist.gov/vuln/detail/CVE-2021-29482
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2021-29482.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2021-29482
Aliases
Related
Published
2021-04-28T19:15:08Z
Modified
2024-09-18T03:14:00.806752Z
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

Debian:11 / golang-github-ulikunitz-xz

Package

Name
golang-github-ulikunitz-xz
Purl
pkg:deb/debian/golang-github-ulikunitz-xz?arch=source

Affected ranges

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

Ecosystem specific

{
    "urgency": "not yet assigned"
}

Debian:12 / golang-github-ulikunitz-xz

Package

Name
golang-github-ulikunitz-xz
Purl
pkg:deb/debian/golang-github-ulikunitz-xz?arch=source

Affected ranges

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

Ecosystem specific

{
    "urgency": "not yet assigned"
}

Debian:13 / golang-github-ulikunitz-xz

Package

Name
golang-github-ulikunitz-xz
Purl
pkg:deb/debian/golang-github-ulikunitz-xz?arch=source

Affected ranges

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

Ecosystem specific

{
    "urgency": "not yet assigned"
}

Git / github.com/ulikunitz/xz

Affected ranges

Type
GIT
Repo
https://github.com/ulikunitz/xz
Events
Introduced
0 Unknown introduced commit / All previous commits are affected
Fixed

Affected versions

v0.*

v0.1
v0.2
v0.3
v0.3.1
v0.4
v0.4.1
v0.5
v0.5.1
v0.5.2
v0.5.3
v0.5.4
v0.5.5
v0.5.6
v0.5.7