CVE-2022-32190
CVE-2022-32190 · Failure to strip relative path components in net/url
This page contains facts from public vulnerability sources. Check the original advisory before updating.
JoinPath and URL.JoinPath do not remove ../ path elements appended to a relative path. For example, JoinPath("https://go.dev", "../go") returns the URL "https://go.dev/../go", despite the JoinPath documentation stating that ../ path elements are removed from the result.
CVSS 7.5 · High · EPSS 2.2% · Fix available
- Published
- Updated
Stack: system
Affected products and versions
net/url
- Versions
- ≥ 1.19.0-0, < 1.19.1: Affected (semver)
Update to 1.19.1
golang-1.19 Debian:12
- Affected ranges
- ECOSYSTEM: < 1.19.1-1
Update to 1.19.1-1