GO-2022-0211
Dashboard / Vulnerabilities / GO-2022-0211
Summary: Incorrect parsing validation in net/url
Details: The url.Parse function accepts URLs with malformed hosts, such that the Host field can have arbitrary suffixes that appear in neither Hostname() nor Port(), allowing authorization bypasses in certain applications.
References: https://go.dev/cl/189258, https://go.googlesource.com/go/+/61bb56ad63992a3199acc55b2537c8355ef887b6, https://go.dev/issue/29098, https://groups.google.com/g/golang-announce/c/65QixT3tcmg
Affected packages
Package
Name: stdlib
Purl: pkg:golang/stdlib
Affected ranges
Type: SEMVER
Events:
Introduced- 0
Fixed -1.11.13
Affected versions
Common Vulnerability Scoring System
Attack Vector
Network
Adjacent
Local
Physical
Privileges Required
None
Low
High
User Interaction
None
Required
Scope
Unchanged
Changed
Confidentiality
None
Low
High
Integrity
None
Low
High
Availability
None
Low
High
