GO-2020-0048
Dashboard / Vulnerabilities / GO-2020-0048
GO-2020-0048
Published: 14 Apr 2021Last Modified: 20 May 2024
Aliases:
Summary: Denial of service in github.com/antchfx/xmlquery
Details: LoadURL does not check the Content-Type of loaded resources, which can cause a panic due to nil pointer deference if the loaded resource is not XML. If user supplied URLs are loaded, this may be used as a denial of service vector.
References: https://github.com/antchfx/xmlquery/commit/5648b2f39e8d5d3fc903c45a4f1274829df71821, https://github.com/antchfx/xmlquery/issues/39
Affected packages
Package
Name: github.com/antchfx/xmlquery
Purl: pkg:golang/github.com/antchfx/xmlquery
Affected ranges
Type: SEMVER
Events:
Introduced- 0
Fixed -1.3.1
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
