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

Published Aug 9, 2022
·
Updated

Golang Go could allow a local attacker to bypass security restrictions, caused by a flaw in the filepath.Clean function. By sending a specially-crafted request, an attacker could exploit this vulnerability to convert an invalid path to a valid, absolute path.

Other sources

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 Software

4 affected components
IBM Concert Software<=1.0.0 - 1.0.1
Golang Go<1.17.11
Golang Go>=1.18.0<1.18.3
Microsoft Windows

Event History

Aug 9, 2022
CVE Published
via MITRE·12:00 AM
Data Sourced
via MITRE·12:00 AM
DescriptionWeakness
Oct 21, 2024
Data Sourced
via IBM·12:00 AM
DescriptionAffected Software

Parent advisories

This vulnerability appears in the following advisories.

Free Weekly Intel

Don't miss critical vulnerabilities

Join thousands of security professionals who receive our weekly digest of trending CVEs, zero-days, and exploited vulnerabilities.

No spam. Unsubscribe anytime.

Frequently Asked Questions

1

What is CVE-2022-29804?

CVE-2022-29804 is a vulnerability that allows potential directory traversal attack by converting certain invalid paths to valid, absolute paths in Clean in path/filepath before Go 1.17.11 and Go 1.18.3 on Windows.

2

How severe is CVE-2022-29804?

CVE-2022-29804 has a severity value of 7.5 (High).

3

Which software versions are affected by CVE-2022-29804?

CVE-2022-29804 affects Go 1.17.11 and Go 1.18.0 to 1.18.3 on Windows.

4

How can I fix CVE-2022-29804?

To fix CVE-2022-29804, update to Go 1.17.11 or Go 1.18.3 or later.

5

Is Microsoft Windows vulnerable to CVE-2022-29804?

No, Microsoft Windows is not vulnerable to CVE-2022-29804.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203