published 13 Sep 2022 · updated 3 Aug 2024
Failure to strip relative path components in net/url
5.0MediumEPSS 2%
No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 2%. Fixed in 1.19.1.
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.
Affected
Vendors, products and packages with version ranges
| Vendor | Product | Versions | Fixed |
|---|---|---|---|
| Go standard library | >=1.19.0-0 <1.19.1 | 1.19.1 |
Timeline
Every event on this vulnerability
Embed
A live severity badge for an advisory, README or ticket