Unscored

CVE-2022-29804Path traversal via Clean on Windows in path/filepath

Go standard library path/filepath Published: (4 years ago)

Description

Incorrect conversion of certain invalid paths to valid, absolute paths in Clean in path/filepath before Go 1.17.11 and Go 1.18.3 on Windows allows potential directory traversal attack.

Weakness (CWE): CWE-22

Data: CVE.org, NVD, CISA KEV, FIRST EPSS, Ubuntu. Published as the sources state it, in English.

Affected products and versions

VendorProductVersions
Go standard library path/filepath < 1.17.11, 1.18.0-0 – < 1.18.3

References and patches