UNKNOWN Go

Failure to strip relative path components in net/url

GO-2022-0988 · BIT-golang-2022-32190 · CVE-2022-32190

Published · Modified

AI SAST

Find this class of vulnerability in your own code

Corgea's AI-native static analysis detects vulnerabilities like this one across your repositories, ranks them by exploitability, and returns review-ready fixes.

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.

Ready to move

Start Securing

Free, no credit card | First findings in minutes