VDB
CVE-2022-29804
CVE-2022-29804
PUBLISHED
Path traversal via Clean on Windows in path/filepath
Reported by go · Published August 9, 2022
path/filepath is fixed in 1.18.3 and 1.17.11 (Go Modules)
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.
Fixed versions
Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.
| Package | Ecosystem | Fixed in |
|---|---|---|
| stdlib | Go Modules | 1.18.3, 1.17.11 |
| path/filepath | Go Modules | 1.18.3, 1.17.11 |
| go | Alpine | 1.18.4-r0 |
| golang | Bitnami | 1.18.3, 1.17.11 |
| go | golang | 1.18.3, 1.17.11 |
| golang | Bitnami | 1.18.3, 1.17.11 |
Affected products
| Vendor | Product | Versions |
|---|---|---|
| Go standard library | path/filepath | 0, 1.18.0-0 |
| alpine | go | 0 |
| Go standard library | path/filepath | 0, 1.18.0-0 |
Timeline
- Jun 7, 2022 CVE Published
- Aug 10, 2022 EPSS Score (30 in total, the first dated here)
- Aug 16, 2022 CVE Updated
- Mar 21, 2026 Security Advisory (3 in total, the first dated here)
- Jun 26, 2026 Coalition ESS Score
- Jul 2, 2026 Distribution Patch
Query this with the API
The same record, from the CLI:
vulnetix vdb vuln CVE-2022-29804
vulnetix vdb fixes CVE-2022-29804
Or with curl, using the org id and key from your account page:
curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
"https://api.vdb.vulnetix.com/v2/vuln/CVE-2022-29804/fixes/registry"
The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart