Skip to content

github.com/u-root/u-root/pkg/tarutil Arbitrary File Write via Archive Extraction (Zip Slip)

High severity GitHub Reviewed Published May 18, 2021 to the GitHub Advisory Database • Updated Oct 18, 2023

Package

gomod github.com/u-root/u-root (Go)

Affected versions

< 0.9.0

Patched versions

0.9.0

Description

This affects all versions up to and including version 0.7.0 of package github.com/u-root/u-root/pkg/tarutil. It is vulnerable to both leading and non-leading relative path traversal attacks in tar file extraction.

References

Reviewed May 5, 2021
Published to the GitHub Advisory Database May 18, 2021
Last updated Oct 18, 2023

Severity

High
7.5
/ 10

CVSS base metrics

Attack vector
Network
Attack complexity
Low
Privileges required
None
User interaction
None
Scope
Unchanged
Confidentiality
None
Integrity
High
Availability
None
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N

Weaknesses

CVE ID

CVE-2020-7669

GHSA ID

GHSA-75qf-wgfj-v652

Source code

No known source code

Credits

Loading Checking history
See something to contribute? Suggest improvements for this vulnerability.