GitHub Advisoryadvisory · Go

GHSA-mq35-x99r-54fc github.com/u-root/u-root/pkg/cpio Arbitrary File Write via Archive Extraction (Zip Slip)

HIGH Published 2024-04-24 Modified 2024-04-24 Official page ↗
Aliases
CVE-2020-7666
Ecosystem
Go
Packages
github.com/u-root/u-root/pkg/cpio
Severity
High
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N
Weaknesses
CWE-22
Reviewed
2024-04-24

Affected packages

• Go github.com/u-root/u-root/pkg/cpio: <= 7.0.0 (no fix yet)

Description

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

Related

Alias · CVE (1)

  • CVE-2020-7666 This affects all versions of package github.com/u-root/u-root/pkg/cpio. vulnerability

Weakness · CWE (1)

  • CWE-22 Improper Limitation of a Pathname to a Restricted Directory weakness

References