GHSA-93m7-c69f-5cfj

Suggest an improvement
Source
https://github.com/advisories/GHSA-93m7-c69f-5cfj
Import Source
https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2022/10/GHSA-93m7-c69f-5cfj/GHSA-93m7-c69f-5cfj.json
JSON Data
https://api.test.osv.dev/v1/vulns/GHSA-93m7-c69f-5cfj
Aliases
Published
2022-10-07T07:20:03Z
Modified
2024-05-20T19:25:10Z
Severity
  • 9.8 (Critical) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H CVSS Calculator
Summary
xmlquery lacks check for whether LoadURL response is in XML format, causing denial of service
Details

xmlquery before 1.3.1 lacks a check for whether a LoadURL response is in the XML format, which allows attackers to cause a denial of service (SIGSEGV) at xmlquery.(*Node).InnerText or possibly have unspecified other impact.

Database specific
{
    "nvd_published_at": "2020-09-16T15:15:00Z",
    "cwe_ids": [
        "CWE-119",
        "CWE-20"
    ],
    "severity": "CRITICAL",
    "github_reviewed": true,
    "github_reviewed_at": "2022-10-07T07:20:03Z"
}
References

Affected packages

Go / github.com/antchfx/xmlquery

Package

Name
github.com/antchfx/xmlquery
View open source insights on deps.dev
Purl
pkg:golang/github.com/antchfx/xmlquery

Affected ranges

Type
SEMVER
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
1.3.1