What’s Vulnerable › Vulnerabilities

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

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.

Affected products

How to fix

Upgrade to a fixed version: Go 1.17.11, 1.18.3. Check the vendor advisory for mitigations.

References

Get alerted when CVE-2022-29804 or the next vulnerability affects your stack