denial of service in github.com/ulikunitz/xz
cve-program · CVE-2021-29482
Publishedxz 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.
Read the publisher's advisoryeuvd · EUVD-2021-0896
Publishedxz 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.
Read the publisher's advisorynvd · CVE-2021-29482
Publishedxz 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.
Read the publisher's advisoryosv · GHSA-25xm-hr59-7c27
Published### Impact 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. ### Patches The problem has been fixed in release v0.5.8. ### Workarounds Limit the size of the compressed file input to a reasonable size for your use case. ### References The standard library had recently the same issue and got the [CVE-2020-16845](https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2020-16845) allocated. ### For more information If you have any questions or comments about this advisory: * Open an issue in [xz](https://github.com/ulikunitz/xz/issues).
Read the publisher's advisoryosv · GO-2020-0016
PublishedAn attacker can construct a series of bytes such that calling Reader.Read on the bytes could cause an infinite loop. If parsing user supplied input, this may be used as a denial of service vector.
Read the publisher's advisoryAffected versions, risk and source history
Exploitation and risk
Source statusCISA KEV lists vulnerabilities known to be exploited. FIRST EPSS estimates the likelihood of exploitation in the next 30 days. An unavailable score does not mean zero risk.
Which CVEs have scores here?
This view includes predictions for CVE identifiers explicitly listed in public NuGet advisories. Microsoft release pages have their own prediction coverage. Check source status for the scope and latest checks.
No exploitation or prediction data is available here for these CVEs. This does not mean they are safe or unlikely to be exploited.
cve-program · CVE-2021-29482
Publisheddenial of service in github.com/ulikunitz/xz
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.
- Source published
- 28 Apr 2021 18:15:15 UTC
- Source modified
- 3 Aug 2024 22:11:05 UTC
- Saved here
- 23 Oct 2026 15:48:27 UTC
- Source terms
- CVE Program Terms of Use
Original source record · Cite this exact observation · Complete original publisher JSON
Source: cve-program · CVE Program Terms of Use. The publisher's wording is preserved. ChangeIntel groups the information and labels changes. The JSON record includes additional source fields.
CVSS 3.1 · 7.5 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
euvd · EUVD-2021-0896
Publishedxz 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 r…
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.
Additional publisher context
EUVD source date text has no stated timezone and is retained without inventing a UTC instant. Related bulletin membership is not an alias, common cause or applicability claim. A missing vector with a zero score is treated as unrated. Complete vendor/product and underlying source evidence remains in the original JSON.
Original publisher date fields
datePublished: Apr 28, 2021, 6:15:15 PM
dateUpdated: Aug 3, 2024, 10:11:05 PM
6 related source bulletins · separate from aliases
RHSA-2022:0687: Red Hat Security Advisory: OpenShift API for Data Protection (OADP) 1.0.1 security and bug fix update
CVE-2021-29482 · CVE-2021-41190
WID-SEC-W-2022-0970: Red Hat OpenShift: Mehrere Schwachstellen
CVE-2020-28851 · CVE-2020-28852 · CVE-2021-29482 · CVE-2021-29923 · CVE-2021-3121 · CVE-2021-36221 · CVE-2021-3749 · CVE-2021-43565 · CVE-2021-43824 · CVE-2021-43825 · CVE-2021-43826 · CVE-2022-21654 · CVE-2022-21655 · CVE-2022-23606 · CVE-2022-23635 · CVE-2022-24726
RHSA-2022:1276: Red Hat Security Advisory: Red Hat OpenShift Service Mesh 2.0.9 security update
CVE-2020-28851 · CVE-2020-28852 · CVE-2021-3121 · CVE-2021-3749 · CVE-2021-29482 · CVE-2021-29923 · CVE-2021-36221 · CVE-2021-43565 · CVE-2021-43824 · CVE-2021-43825 · CVE-2021-43826 · CVE-2022-21654 · CVE-2022-21655 · CVE-2022-23606 · CVE-2022-23635 · CVE-2022-24726
RHSA-2021:2920: Red Hat Security Advisory: OpenShift Virtualization 4.8.0 Images
CVE-2020-27813 · CVE-2020-29652 · CVE-2021-3114 · CVE-2021-3121 · CVE-2021-29482
RHSA-2021:3016: Red Hat Security Advisory: Red Hat Advanced Cluster Management for Kubernetes version 2.3
CVE-2020-28469 · CVE-2020-28500 · CVE-2020-28851 · CVE-2020-28852 · CVE-2021-3377 · CVE-2021-21272 · CVE-2021-21309 · CVE-2021-21321 · CVE-2021-21322 · CVE-2021-23337 · CVE-2021-23343 · CVE-2021-23346 · CVE-2021-23362 · CVE-2021-23364 · CVE-2021-23368 · CVE-2021-23369 · CVE-2021-23382 · CVE-2021-23383 · CVE-2021-23839 · CVE-2021-23840 · CVE-2021-23841 · CVE-2021-27292 · CVE-2021-27358 · CVE-2021-28092 · CVE-2021-28918 · CVE-2021-29418 · CVE-2021-29477 · CVE-2021-29478 · CVE-2021-29482 · CVE-2021-33502 · CVE-2021-33623
RHSA-2022:2183: Red Hat Security Advisory: Release of containers for OSP 16.2.z director operator tech preview
CVE-2019-11253 · CVE-2019-19794 · CVE-2020-15257 · CVE-2021-29482 · CVE-2021-32760
- Source published
- Apr 28, 2021, 6:15:15 PM (timezone not stated)
- Source modified
- Aug 3, 2024, 10:11:05 PM (timezone not stated)
- Saved here
- 24 Nov 2026 03:34:31 UTC
- Source terms
- ENISA EUVD · source terms and attribution apply
Original source record · Cite this exact observation · Complete original publisher JSON
Source: euvd · ENISA EUVD · source terms and attribution apply. The publisher's wording is preserved. ChangeIntel groups the information and labels changes. The JSON record includes additional source fields.
EUVD CVSS 3.1 · 7.5 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
nvd · CVE-2021-29482
Publishedxz 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 r…
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.
Additional publisher context
NVD analysis and CPE criteria are source context, not proof that a package or your environment is affected. Complete affected data, logical configurations and SSVC are retained in the original JSON.
Source analysis status: Modified
Weakness classifications: CWE-835
Original publisher date fields
published: 2021-04-28T19:15:08.587
lastModified: 2026-06-17T03:47:44.000
1 source CPE criteria · context only
- cpe:2.3:a:xz_project:xz:*:*:*:*:*:go:*:*
The original JSON retains the logical configuration operators, exclusions and version bounds.
- Source published
- 28 Apr 2021 19:15:08 UTC
- Source modified
- 17 Jun 2026 03:47:44 UTC
- Saved here
- 24 Oct 2026 18:17:21 UTC
- Source terms
- NIST NVD usage terms; underlying source attribution retained
Original source record · Cite this exact observation · Complete original publisher JSON
Source: nvd · NIST NVD usage terms; underlying source attribution retained. The publisher's wording is preserved. ChangeIntel groups the information and labels changes. The JSON record includes additional source fields.
CVSS 3.1 · [email protected] · Secondary · 7.5 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
CVSS 3.1 · [email protected] · Primary · 7.5 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
CVSS 2.0 · [email protected] · Primary · 5.0 AV:N/AC:L/Au:N/C:N/I:N/A:P
osv · GHSA-25xm-hr59-7c27
Publishedgithub.com/ulikunitz/xz fixes readUvarint Denial of Service (DoS)
### Impact 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. ### Patches The problem has been fixed in release v0.5.8. ### Workarounds Limit the size of the compressed file input to a reasonable size for your use case. ### References The standard library had recently the same issue and got the [CVE-2020-16845](https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2020-16845) allocated. ### For more information If you have any questions or comments about this advisory: * Open an issue in [xz](https://github.com/ulikunitz/xz/issues).
- Source published
- 25 May 2021 18:39:37 UTC
- Source modified
- 8 Jul 2026 06:27:46 UTC
- Saved here
- 24 Oct 2026 13:19:41 UTC
- Source terms
- GitHub Advisory Database · CC-BY-4.0
Original source record · Cite this exact observation · Complete original publisher JSON
Source: osv · GitHub Advisory Database · CC-BY-4.0. The publisher's wording is preserved. ChangeIntel groups the information and labels changes. The JSON record includes additional source fields.
CVSS_V3 · CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Publisher rating · HIGH
osv · GO-2020-0016
PublishedInfinite loop in github.com/ulikunitz/xz
An attacker can construct a series of bytes such that calling Reader.Read on the bytes could cause an infinite loop. If parsing user supplied input, this may be used as a denial of service vector.
- Source published
- 14 Apr 2021 20:04:52 UTC
- Source modified
- 20 May 2024 16:03:47 UTC
- Saved here
- 24 Oct 2026 13:19:41 UTC
- Source terms
- OSV · upstream source license applies
Original source record · Cite this exact observation · Complete original publisher JSON
Source: osv · OSV · upstream source license applies. The publisher's wording is preserved. ChangeIntel groups the information and labels changes. The JSON record includes additional source fields.