Skip to content
CVE PROGRAM SOURCE RECORDUnscored

CVE-2022-32190

Failure to strip relative path components in net/url

Description

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 products

Version statuses are supplied by the assigning organization. Consult the original record for detailed ranges and platform conditions.

Go standard library net/url

Default version status: unaffected

  • 1.19.0-0 to < 1.19.1affected

References