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
16
security
net/url
joinpath
url.joinpath
documentation
software

CVSS3

7.5

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

AI Score

7.4

Confidence

High

EPSS

0.002

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.

CVSS3

7.5

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

AI Score

7.4

Confidence

High

EPSS

0.002

Percentile

53.3%