Lucene search

K
osvGoogleOSV:GO-2022-0988
HistorySep 12, 2022 - 8:23 p.m.

Failure to strip relative path components in net/url

2022-09-1220:23:15
Google
osv.dev
12
security
net/url
joinpath
url.joinpath
documentation
software

7.5 High

CVSS3

Attack Vector

NETWORK

Attack Complexity

LOW

Privileges Required

NONE

User Interaction

NONE

Scope

UNCHANGED

Confidentiality Impact

HIGH

Integrity Impact

NONE

Availability Impact

NONE

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N

7.4 High

AI Score

Confidence

High

0.002 Low

EPSS

Percentile

53.3%

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.

CPENameOperatorVersion
stdlibge1.19.0-0
stdliblt1.19.1

7.5 High

CVSS3

Attack Vector

NETWORK

Attack Complexity

LOW

Privileges Required

NONE

User Interaction

NONE

Scope

UNCHANGED

Confidentiality Impact

HIGH

Integrity Impact

NONE

Availability Impact

NONE

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N

7.4 High

AI Score

Confidence

High

0.002 Low

EPSS

Percentile

53.3%