← Back
CVE-2020-16845
Vulnerability in github.com/ulikunitz/xz (CVE-2020-16845)
Summary
vulnerability in github.com/ulikunitz/xz (CVE-2020-16845). Risk of unauthorized operations or information disclosure. Mitigation: upgrade to `0.5.8` or later.
AI summary snake-internal / snake-material-v2
A vulnerability tracked as **CVE-2020-16845** has been found in github.com/ulikunitz/xz.
Risk of unauthorized operations or information disclosure. CVSS score: ?/10.
What to do: upgrade github.com/ulikunitz/xz to **0.5.8** or later.
If unsure, ask your IT team or search "github.com/ulikunitz/xz CVE-2020-16845" on the vendor's site.
CVE-2020-16845 (github.com/ulikunitz/xz) — CWE-835 /
Patched: `0.5.8` — apply immediately
Plan: 1) Audit SBOM/dependencies, 2) Stage→prod upgrade, 3) Add WAF/proxy monitoring on affected endpoints, 4) Hunt IOCs in logs.
Refs: see the GHSA / vendor advisory / patched release linked on this page.
❓ What is the problem
**A vulnerability** (CWE-835) exists in github.com/ulikunitz/xz.
📍 Affected scope
github.com/ulikunitz/xz — .
🔥 Severity
Severity: ?. Risk of unauthorized operations or information disclosure
🔧 How to fix
Update to **0.5.8**.
🛡️ Workaround
Until the patch is applied: disable the affected feature, apply WAF rules, or restrict access via network ACLs.
🔍 Detection
Search webserver/proxy logs for unusual request patterns matching this CVE's known IOCs. Run `grep -r 'github.com/ulikunitz/xz' .` against your dependency files (package-lock.json, requirements.txt, go.sum) to find affected services.
Response Actions (7 steps)
Concrete steps and command examples for SOC/SRE teams to execute in order
-
1Identify exposure identify
grep -r 'github.com/ulikunitz/xz' . | grep -v node_modulesリポジトリと本番環境の依存ファイル (package-lock.json / requirements.txt / go.sum / Gemfile.lock 等) で `github.com/ulikunitz/xz` を grep し、稼働しているサービス・バージョンを把握する。
-
6Apply patch patch
Upgrade github.com/ulikunitz/xz to 0.5.8ステージング環境で 0.5.8 に上げて回帰テスト → 本番反映。回帰テストはアプリの主要ハッピーパスと、Step 3 で見つけた異常検知の続報チェックを含めること。
-
7Post-deployment verification verify
Confirm patched version is live in productionパッチ適用後、ステージングで PoC または同等の悪用パターンを再現して脆弱性が閉じたことを確認。本番では Step 3 と同じログクエリでアラート再発が無いか継続監視。
Affected packages
go
github.com/ulikunitz/xz
[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.5.8"}]}]
References
- web https://nvd.nist.gov/vuln/detail/CVE-2020-16845
- web https://github.com/ulikunitz/xz/issues/35
- web https://github.com/ulikunitz/xz/commit/69c6093c7b2397b923acf82cb378f55ab2652b9b
- web https://groups.google.com/forum/#!topic/golang-announce/NyPIaucMgXo
- web https://groups.google.com/forum/#!topic/golang-announce/_ulYYcIWg3Q
- web https://lists.debian.org/debian-lts-announce/2020/11/msg00037.html
- web https://lists.debian.org/debian-lts-announce/2020/11/msg00038.html
- web https://www.debian.org/security/2021/dsa-4848
- web https://www.oracle.com/security-alerts/cpuApr2021.html
- web http://lists.opensuse.org/opensuse-security-announce/2020-08/msg00021.html
- web http://lists.opensuse.org/opensuse-security-announce/2020-08/msg00028.html
- web http://lists.opensuse.org/opensuse-security-announce/2020-09/msg00029.html
- web http://lists.opensuse.org/opensuse-security-announce/2020-09/msg00030.html
- web https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/6RCFJTMKHY5ICGEM5BUFUEDDGSPJ25XU
- web https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/KWRBAH4UZJO3RROQ72SYCUPFCJFA22FO
- web https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/TACQFZDPA7AUR6TRZBCX2RGRFSDYLI7O
- web https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/WV2VWKFTH4EJGZBZALVUJQJOAQB5MDQ4
- web https://security.netapp.com/advisory/ntap-20200924-0002
- web https://github.com/advisories/GHSA-q6gq-997w-f55g