GHSA-mq35-x99r-54fc

Suggest an improvement
Source
https://github.com/advisories/GHSA-mq35-x99r-54fc
Import Source
https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2024/04/GHSA-mq35-x99r-54fc/GHSA-mq35-x99r-54fc.json
JSON Data
https://api.osv.dev/v1/vulns/GHSA-mq35-x99r-54fc
Aliases
  • CVE-2020-7666
Published
2024-04-24T20:00:38Z
Modified
2026-03-13T22:11:20.805146Z
Severity
  • 7.5 (High) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N CVSS Calculator
Summary
github.com/u-root/u-root/pkg/cpio Arbitrary File Write via Archive Extraction (Zip Slip)
Details

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.

Database specific
{
    "cwe_ids": [
        "CWE-22"
    ],
    "github_reviewed": true,
    "github_reviewed_at": "2024-04-24T20:00:38Z",
    "nvd_published_at": null,
    "severity": "HIGH"
}
References

Affected packages

Go / github.com/u-root/u-root/pkg/cpio

Package

Name
github.com/u-root/u-root/pkg/cpio
View open source insights on deps.dev
Purl
pkg:golang/github.com/u-root/u-root/pkg/cpio

Affected ranges

Type
SEMVER
Events
Introduced
0Unknown introduced version / All previous versions are affected
Last affected
7.0.0

Database specific

source
"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2024/04/GHSA-mq35-x99r-54fc/GHSA-mq35-x99r-54fc.json"