CVE-2022-32190
Failure to strip relative path components in net/url
7.5
HIGH
CVSS 3.1
EPSS 0.08%
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.
How to fix CVE-2022-32190
To remediate CVE-2022-32190, upgrade the affected package to a fixed version below.
- —upgrade to 1.19.1 or later
- —upgrade to 1.19.1-1 or later
- —upgrade to 1.19.1 or later
Is CVE-2022-32190 being exploited?
Low — EPSS is 0.1%, meaning exploitation activity has not been observed at scale.
Affected packages (3)
- >= 1.19.0-0, < 1.19.1
- from 0, < 1.19.1-1
- >= 1.19.0-0, < 1.19.1
CVSS scores
| Source | Version | Severity | Vector |
|---|---|---|---|
| osv | CVSS 3.1 | HIGH7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N |