SOC status:Duty analyst on shift

UK Cyber Defence
VulnerabilityModified

CVE-2022-32190

JoinPath and URL.JoinPath do not remove ../ path elements appended to a relative path.

HIGH 7.5EPSS 2.15%

Does this matter?

High impact if exploited, but EPSS currently rates exploitation as unlikely (2.15%). Schedule it in the normal patch cycle and watch for a rise in EPSS or a public exploit.

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.

CVSS 3.1
7.5 HIGHCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
EPSS
2.15% probability · 81th percentile
CISA KEV
Not listed
Weakness
CWE-22
Affected
golang/go
Source
security@golang.org

References

Source: NVD record, EPSS from FIRST.org, KEV from CISA. Refreshed daily.