{"id":"GHSA-25xm-hr59-7c27","revision":null,"records":[{"revision":"23814270f8994b7182c88cd2b1f9c8ea","observedAt":"2026-10-23T15:48:27.903+00:00","statement":{"source":"cve-program","id":"CVE-2021-29482","aliases":[],"title":"denial of service in github.com/ulikunitz/xz","description":"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.","state":0,"publishedAt":"2021-04-28T18:15:15+00:00","modifiedAt":"2024-08-03T22:11:05.477+00:00","affected":[{"ecosystem":"Vendor product","name":"xz","ranges":[],"versions":[],"rawVersionEvidence":"{\n                    \"product\": \"xz\",\n                    \"vendor\": \"ulikunitz\",\n                    \"versions\": [\n                        {\n                            \"status\": \"affected\",\n                            \"version\": \"< 0.5.8\"\n                        }\n                    ]\n                }"}],"metrics":[{"system":"CVSS 3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","score":7.5,"severity":"HIGH"}],"references":["https://github.com/ulikunitz/xz/security/advisories/GHSA-25xm-hr59-7c27","https://github.com/ulikunitz/xz/commit/69c6093c7b2397b923acf82cb378f55ab2652b9b"],"sourceUrl":"https://www.cve.org/CVERecord?id=CVE-2021-29482","license":"CVE Program Terms of Use","key":"cve-program:CVE-2021-29482","identifiers":["CVE-2021-29482"]},"retained":false,"historicalAffected":[]},{"revision":"a1782b8eb745436c96f426413ea2a0e3","observedAt":"2026-11-24T03:34:31.405+00:00","statement":{"source":"euvd","id":"EUVD-2021-0896","aliases":["CVE-2021-29482","GHSA-25xm-hr59-7c27"],"title":"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 r…","description":"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.","state":0,"publishedAt":null,"modifiedAt":null,"affected":[],"metrics":[{"system":"EUVD CVSS 3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","score":7.5,"severity":null}],"references":["https://github.com/ulikunitz/xz/security/advisories/GHSA-25xm-hr59-7c27","https://github.com/ulikunitz/xz/commit/69c6093c7b2397b923acf82cb378f55ab2652b9b"],"sourceUrl":"https://euvd.enisa.europa.eu/vulnerability/EUVD-2021-0896","license":"ENISA EUVD · source terms and attribution apply","enrichment":{"sourceStatus":null,"weaknesses":[],"productCriteria":[],"sourceDates":{"datePublished":"Apr 28, 2021, 6:15:15 PM","dateUpdated":"Aug 3, 2024, 10:11:05 PM"},"relatedAdvisories":[{"id":"RHSA-2022:0687","title":"Red Hat Security Advisory: OpenShift API for Data Protection (OADP) 1.0.1 security and bug fix update","vulnerabilityIds":["CVE-2021-29482","CVE-2021-41190"]},{"id":"WID-SEC-W-2022-0970","title":"Red Hat OpenShift: Mehrere Schwachstellen","vulnerabilityIds":["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"]},{"id":"RHSA-2022:1276","title":"Red Hat Security Advisory: Red Hat OpenShift Service Mesh 2.0.9 security update","vulnerabilityIds":["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"]},{"id":"RHSA-2021:2920","title":"Red Hat Security Advisory: OpenShift Virtualization 4.8.0 Images","vulnerabilityIds":["CVE-2020-27813","CVE-2020-29652","CVE-2021-3114","CVE-2021-3121","CVE-2021-29482"]},{"id":"RHSA-2021:3016","title":"Red Hat Security Advisory: Red Hat Advanced Cluster Management for Kubernetes version 2.3","vulnerabilityIds":["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"]},{"id":"RHSA-2022:2183","title":"Red Hat Security Advisory: Release of containers for OSP 16.2.z director operator tech preview","vulnerabilityIds":["CVE-2019-11253","CVE-2019-19794","CVE-2020-15257","CVE-2021-29482","CVE-2021-32760"]}],"note":"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."},"key":"euvd:EUVD-2021-0896","identifiers":["EUVD-2021-0896","CVE-2021-29482","GHSA-25xm-hr59-7c27"]},"retained":false,"historicalAffected":[]},{"revision":"73f848b899d04e1bac997d108f200b14","observedAt":"2026-10-24T18:17:21.803+00:00","statement":{"source":"nvd","id":"CVE-2021-29482","aliases":[],"title":"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 r…","description":"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.","state":0,"publishedAt":"2021-04-28T19:15:08.587+00:00","modifiedAt":"2026-06-17T03:47:44+00:00","affected":[],"metrics":[{"system":"CVSS 3.1 · security-advisories@github.com · Secondary","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","score":7.5,"severity":"HIGH"},{"system":"CVSS 3.1 · nvd@nist.gov · Primary","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","score":7.5,"severity":"HIGH"},{"system":"CVSS 2.0 · nvd@nist.gov · Primary","vector":"AV:N/AC:L/Au:N/C:N/I:N/A:P","score":5,"severity":"MEDIUM"}],"references":["https://github.com/ulikunitz/xz/commit/69c6093c7b2397b923acf82cb378f55ab2652b9b","https://github.com/ulikunitz/xz/security/advisories/GHSA-25xm-hr59-7c27"],"sourceUrl":"https://nvd.nist.gov/vuln/detail/CVE-2021-29482","license":"NIST NVD usage terms; underlying source attribution retained","enrichment":{"sourceStatus":"Modified","weaknesses":["CWE-835"],"productCriteria":["cpe:2.3:a:xz_project:xz:*:*:*:*:*:go:*:*"],"sourceDates":{"published":"2021-04-28T19:15:08.587","lastModified":"2026-06-17T03:47:44.000"},"relatedAdvisories":[],"note":"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."},"key":"nvd:CVE-2021-29482","identifiers":["CVE-2021-29482"]},"retained":false,"historicalAffected":[]},{"revision":"57456f35d08a401abeae52c386f79779","observedAt":"2026-10-24T13:19:41.952+00:00","statement":{"source":"osv","id":"GHSA-25xm-hr59-7c27","aliases":["CVE-2021-29482","GO-2020-0016"],"title":"github.com/ulikunitz/xz fixes readUvarint Denial of Service (DoS)","description":"### Impact\n\nxz 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.\n\n### Patches\n\nThe problem has been fixed in release v0.5.8.\n\n### Workarounds\n\nLimit the size of the compressed file input to a reasonable size for your use case.\n\n### References\n\nThe 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.\n\n### For more information\nIf you have any questions or comments about this advisory:\n* Open an issue in [xz](https://github.com/ulikunitz/xz/issues).","state":0,"publishedAt":"2021-05-25T18:39:37+00:00","modifiedAt":"2026-07-08T06:27:46.1987724+00:00","affected":[{"ecosystem":"Go","name":"github.com/ulikunitz/xz","ranges":[{"type":"SEMVER","events":[{"kind":"introduced","version":"0"},{"kind":"fixed","version":"0.5.8"}]}],"versions":[],"rawVersionEvidence":null}],"metrics":[{"system":"CVSS_V3","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","score":null,"severity":null},{"system":"Publisher rating","vector":null,"score":null,"severity":"HIGH"}],"references":["https://github.com/ulikunitz/xz/security/advisories/GHSA-25xm-hr59-7c27","https://nvd.nist.gov/vuln/detail/CVE-2021-29482","https://github.com/ulikunitz/xz/issues/35","https://github.com/ulikunitz/xz/commit/69c6093c7b2397b923acf82cb378f55ab2652b9b","https://pkg.go.dev/vuln/GO-2020-0016"],"sourceUrl":"https://github.com/advisories/GHSA-25xm-hr59-7c27","license":"GitHub Advisory Database · CC-BY-4.0","key":"osv:GHSA-25xm-hr59-7c27","identifiers":["GHSA-25xm-hr59-7c27","CVE-2021-29482","GO-2020-0016"]},"retained":false,"historicalAffected":[]},{"revision":"8580099480f74d798d864975cf77c58b","observedAt":"2026-10-24T13:19:41.952+00:00","statement":{"source":"osv","id":"GO-2020-0016","aliases":["CVE-2021-29482","GHSA-25xm-hr59-7c27"],"title":"Infinite loop in github.com/ulikunitz/xz","description":"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.","state":0,"publishedAt":"2021-04-14T20:04:52+00:00","modifiedAt":"2024-05-20T16:03:47+00:00","affected":[{"ecosystem":"Go","name":"github.com/ulikunitz/xz","ranges":[{"type":"SEMVER","events":[{"kind":"introduced","version":"0"},{"kind":"fixed","version":"0.5.8"}]}],"versions":[],"rawVersionEvidence":null}],"metrics":[],"references":["https://github.com/ulikunitz/xz/commit/69c6093c7b2397b923acf82cb378f55ab2652b9b","https://github.com/ulikunitz/xz/issues/35"],"sourceUrl":"https://osv.dev/vulnerability/GO-2020-0016","license":"OSV · upstream source license applies","key":"osv:GO-2020-0016","identifiers":["GO-2020-0016","CVE-2021-29482","GHSA-25xm-hr59-7c27"]},"retained":false,"historicalAffected":[]}],"coverage":[{"source":"cisa-kev:global","scope":"Complete CISA KEV catalog; all vendors. Missing entries do not establish absence of exploitation.","generation":"2026-11-25T15:30:40.6081624+00:00","complete":true,"records":1796,"lastAttemptAt":"2026-11-25T15:30:40.6081624+00:00","lastSuccessAt":"2026-11-25T15:30:40.8059403+00:00","error":null,"lastVerifiedAt":"2026-11-25T15:30:40.8059408+00:00","snapshotPublishedAt":null,"importing":false,"stagedRecords":0,"checkedIdentifiers":null,"expectedIdentifiers":null,"failedIdentifiers":null},{"source":"cve-program","scope":"Official CVE Program baseline and cumulative hourly delta; all vendors, published and rejected records","generation":"cve-8d356adab43082cb10bb7c033ed58312cf2ad2f0fb10e0afdf27fc89fa361f3b-c8a5bbe81e5c97f1ef0204d9f424811c3ab0e015216b17be9cd9061ec365cc09","complete":true,"records":432153,"lastAttemptAt":"2026-11-25T15:28:37.3830721+00:00","lastSuccessAt":"2026-11-25T15:28:37.2582332+00:00","error":null,"lastVerifiedAt":"2026-11-25T15:28:37.3830721+00:00","snapshotPublishedAt":"2026-11-25T14:30:07+00:00","importing":false,"stagedRecords":0,"checkedIdentifiers":null,"expectedIdentifiers":null,"failedIdentifiers":null},{"source":"euvd","scope":"Rolling EUVD lookups of CVE aliases in current public OSV archives; 500 identifiers per refresh, rechecked after 48 hours. Not a global EUVD catalog. Successful not-found lookups count as checked; they do not imply withdrawal or safety. No reader inventory is sent.","generation":"enrichment-318624dc54264aaca4e897b7b997e75f","complete":false,"records":13938,"lastAttemptAt":"2026-11-25T15:30:47.8286337+00:00","lastSuccessAt":"2026-11-25T15:30:46.7388867+00:00","error":null,"lastVerifiedAt":"2026-11-25T15:30:46.7388867+00:00","snapshotPublishedAt":null,"importing":true,"stagedRecords":1,"checkedIdentifiers":null,"expectedIdentifiers":null,"failedIdentifiers":null},{"source":"first-epss:nuget","scope":"FIRST EPSS for explicit CVE aliases in the collected public NuGet archive. Not a global EPSS backfill.","generation":"2026-11-25T15:30:40.6081624+00:00","complete":true,"records":1131,"lastAttemptAt":"2026-11-25T15:30:40.6081624+00:00","lastSuccessAt":"2026-11-25T15:30:40.8067671+00:00","error":null,"lastVerifiedAt":"2026-11-25T15:30:40.8067672+00:00","snapshotPublishedAt":null,"importing":false,"stagedRecords":0,"checkedIdentifiers":null,"expectedIdentifiers":null,"failedIdentifiers":null},{"source":"nvd","scope":"Rolling NVD lookups of CVE aliases in current public OSV archives; 500 identifiers per refresh, rechecked after 48 hours. Not a global NVD catalog. Successful not-found lookups count as checked; they do not imply withdrawal or safety. No reader inventory is sent.","generation":"enrichment-91a1844a9c234a33bf5df077b2f01fa3","complete":true,"records":13950,"lastAttemptAt":"2026-11-25T15:30:41.8818771+00:00","lastSuccessAt":"2026-11-25T15:30:41.877+00:00","error":null,"lastVerifiedAt":"2026-11-25T15:30:41.877+00:00","snapshotPublishedAt":null,"importing":false,"stagedRecords":0,"checkedIdentifiers":13986,"expectedIdentifiers":13986,"failedIdentifiers":0},{"source":"osv:Go","scope":"Complete OSV Go ecosystem archive, including withdrawn and malicious-package source records; statement counts are not unique CVE counts","generation":"go-70b1e3058f76fab20c77bb1c4924a4c57f7654dd208befb5b1f237e682d6ddca","complete":true,"records":10077,"lastAttemptAt":"2026-11-25T15:30:40.4787181+00:00","lastSuccessAt":"2026-11-25T11:46:59.5507764+00:00","error":null,"lastVerifiedAt":"2026-11-25T15:30:40.4787181+00:00","snapshotPublishedAt":"2026-11-25T11:03:15+00:00","importing":false,"stagedRecords":0,"checkedIdentifiers":null,"expectedIdentifiers":null,"failedIdentifiers":null},{"source":"osv:NuGet","scope":"Complete OSV NuGet ecosystem archive, including GitHub Advisory Database records; NuGet version matching only","generation":"nuget-6ba2352decd0c95d34a1b50f642582aa34659ce946f552488f0a5cea4e0cc09a","complete":true,"records":2020,"lastAttemptAt":"2026-11-25T15:28:37.4627555+00:00","lastSuccessAt":"2026-11-20T15:46:15.4249619+00:00","error":null,"lastVerifiedAt":"2026-11-25T15:28:37.4627555+00:00","snapshotPublishedAt":"2026-11-20T14:48:20+00:00","importing":false,"stagedRecords":0,"checkedIdentifiers":null,"expectedIdentifiers":null,"failedIdentifiers":null},{"source":"osv:crates.io","scope":"Complete OSV crates.io ecosystem archive, including withdrawn and malicious-package source records; statement counts are not unique CVE counts","generation":"crates.io-5be533520b83c9bfaebc80695093f6f0d59feafc2a1eab94e91dd79d1bb9241b","complete":true,"records":3222,"lastAttemptAt":"2026-11-25T15:30:40.5768219+00:00","lastSuccessAt":"2026-11-25T11:47:03.6026853+00:00","error":null,"lastVerifiedAt":"2026-11-25T15:30:40.5768219+00:00","snapshotPublishedAt":"2026-11-25T11:18:20+00:00","importing":false,"stagedRecords":0,"checkedIdentifiers":null,"expectedIdentifiers":null,"failedIdentifiers":null},{"source":"osv:npm","scope":"Complete OSV npm ecosystem archive, including withdrawn and malicious-package source records; statement counts are not unique CVE counts","generation":"npm-5747fce78879ab80d0039caa02f9d28c583bbc680a45e25fa53cb124697761ff","complete":true,"records":233128,"lastAttemptAt":"2026-11-25T15:30:40.354568+00:00","lastSuccessAt":"2026-11-25T15:30:39.1946895+00:00","error":null,"lastVerifiedAt":"2026-11-25T15:30:40.354568+00:00","snapshotPublishedAt":"2026-11-25T15:03:55+00:00","importing":false,"stagedRecords":0,"checkedIdentifiers":null,"expectedIdentifiers":null,"failedIdentifiers":null}]}