# Withdrawn Advisory: Infinite loop in xz

Advisory record · `GHSA-q6gq-997w-f55g` · Withdrawn

- **Identifiers:** `GHSA-q6gq-997w-f55g` · `BIT-golang-2020-16845` · `CVE-2020-16845` · `GO-2021-0142`
- **State:** Withdrawn
- **Severity:** CVSS 7.5 High
- **Critical:** No
- **Weakness (CWE):** [CWE-835](https://cwe.mitre.org/data/definitions/835.html)
- **Tags:** [Denial of service](https://agentprime.io/advisories/tag/dos.md)
- **Published:** 16 Dec 2021
- **Updated:** 14 Oct 2025
- **Reviewed by a person:** No

**Withdrawn.** The GitHub Advisory Database withdrew this advisory on 14 Oct 2025. The record stays here, marked withdrawn.

Published by the GitHub Advisory Database at 16 Dec 2021, 19:16 UTC. agentprime has not analysed this yet, so whether it affects any app is not known.

## Affected packages

- `github.com/ulikunitz/xz` (Go): affected `<0.5.8`; fixed in `0.5.8`

## Not analysed yet

We haven’t published our analysis of this Advisory yet. Once a person has reviewed it, this page will say what’s vulnerable, what has to be true for your app to be affected, and how to check.

## Severity and exploitation

- 7.5 High, CVSS 3.1: `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H`, from GitHub Advisory Database

- **CISA KEV:** Not listed.
- **EPSS:** 0.049, the 92nd percentile, on 19 Nov 2026: FIRST’s estimate of the chance of exploitation in the next 30 days.

## Timeline

This record came from the full history of the GitHub Advisory Database, published 16 Dec 2021. New records show when each source confirmed them.

## Sources

- [GitHub Advisory Database: GHSA-q6gq-997w-f55g](https://github.com/advisories/GHSA-q6gq-997w-f55g)
- [OSV: GHSA-q6gq-997w-f55g](https://osv.dev/vulnerability/GHSA-q6gq-997w-f55g)
- <https://nvd.nist.gov/vuln/detail/CVE-2020-16845>
- <https://github.com/ulikunitz/xz/issues/35>
- <https://github.com/ulikunitz/xz/commit/69c6093c7b2397b923acf82cb378f55ab2652b9b>
- <https://groups.google.com/forum/#!topic/golang-announce/NyPIaucMgXo>
- <https://groups.google.com/forum/#!topic/golang-announce/_ulYYcIWg3Q>
- <https://lists.debian.org/debian-lts-announce/2020/11/msg00037.html>
- <https://lists.debian.org/debian-lts-announce/2020/11/msg00038.html>
- <https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/6RCFJTMKHY5ICGEM5BUFUEDDGSPJ25XU>
- <https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/KWRBAH4UZJO3RROQ72SYCUPFCJFA22FO>
- <https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/TACQFZDPA7AUR6TRZBCX2RGRFSDYLI7O>
- <https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/WV2VWKFTH4EJGZBZALVUJQJOAQB5MDQ4>
- <https://security.netapp.com/advisory/ntap-20200924-0002>

Facts on this page come from the GitHub Advisory Database (CC-BY 4.0), OSV and the other sources listed, as published. We don’t reproduce full advisory descriptions, which can contain exploit code.

## Check whether this affects you

A Match means an installed version is in the affected range above. Most don’t affect the app; agentprime hasn’t analysed this one yet.

- With the agentprime MCP server (<https://api.agentprime.io/mcp>), ask your agent to check the project: `check_lockfile` sends a lockfile, `check_packages` a list of installed packages, and both return the Matches and the upgrades that clear them. `get_advisory` returns this record. Setup: <https://agentprime.io/mcp.md>
- In a browser: <https://agentprime.io/check/> reads your lockfile in the browser, never uploading it.
- Whether it touches your code, with file and line: the Claude Code plugin, <https://agentprime.io/plugin.md>
- As JSON: <https://api.agentprime.io/v1/advisories/GHSA-q6gq-997w-f55g>, or `POST https://api.agentprime.io/v1/match` with your packages (<https://agentprime.io/api.md>)

---

The web page: <https://agentprime.io/advisories/GHSA-q6gq-997w-f55g/>. Everything for agents: <https://agentprime.io/llms.txt>.
