CVE-2022-32190

Failure to strip relative path components in net/url

State
Published
Severity
Not scored
Published
Sep 13, 2022
Updated
Aug 3, 2024
Reserved
May 31, 2022

Read the record on cve.org

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.

Scores

The record has no CVSS score.

Weaknesses

The record names no weakness.

Affected Products

ProductVersions
net/urlGo standard library
  • 1.19.0-0 to before 1.19.1Affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.