GHSA-mg49-jqgw-gcj6

Suggest an improvement
Source
https://github.com/advisories/GHSA-mg49-jqgw-gcj6
Import Source
https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2024/05/GHSA-mg49-jqgw-gcj6/GHSA-mg49-jqgw-gcj6.json
JSON Data
https://api.osv.dev/v1/vulns/GHSA-mg49-jqgw-gcj6
Aliases
Published
2024-05-02T21:30:29Z
Modified
2024-11-18T16:26:40Z
Severity
  • 8.1 (High) CVSS_V3 - CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H CVSS Calculator
  • 9.3 (Critical) CVSS_V4 - CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N CVSS Calculator
Summary
libxmljs vulnerable to type confusion when parsing specially crafted XML
Details

libxmljs is vulnerable to a type confusion vulnerability when parsing a specially crafted XML while invoking the namespaces() function (which invokes _wrap__xmlNode_nsDef_get()) on a grand-child of a node that refers to an entity. This vulnerability can lead to denial of service and remote code execution.

Database specific
{
    "cwe_ids":  [
        "CWE-843"
    ],
    "github_reviewed":  true,
    "github_reviewed_at":  "2024-05-03T20:24:04Z",
    "nvd_published_at":  "2024-05-02T19:15:06Z",
    "severity":  "CRITICAL"
}
References

Affected packages

npm / libxmljs

Package

Affected ranges

Type
SEMVER
Events
Introduced
0 Unknown introduced version / All previous versions are affected
Last Affected
1.0.11

Database specific

source
"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2024/05/GHSA-mg49-jqgw-gcj6/GHSA-mg49-jqgw-gcj6.json"