libxmljs2 is vulnerable to a type confusion vulnerability when parsing a specially crafted XML while invoking the namespaces() function (which invokes XmlNode::get_local_namespaces()) on a grand-child of a node that refers to an entity. This vulnerability can lead to denial of service and remote code execution.
libxmljs2 is vulnerable to a type confusion vulnerability when parsing a specially crafted XML while invoking a function on the result of attrs() that was called on a parsed node. This vulnerability might lead to denial of service (on both 32-bit systems and 64-bit systems), data leak, infinite loop and remote code execution (on 32-bit systems with the XML_PARSE_HUGE flag enabled).
Vulnerable Library - libxmljs2-0.33.0.tgz
Library home page: https://registry.npmjs.org/libxmljs2/-/libxmljs2-0.33.0.tgz
Path to dependency file: /package.json
Path to vulnerable library: /node_modules/libxmljs2/package.json
Found in HEAD commit: 4911bfdf5032db55884fd7d8ff4183f59a268b55
Vulnerabilities
**In some cases, Remediation PR cannot be created automatically for a vulnerability despite the availability of remediation
Details
CVE-2024-34394
### Vulnerable Library - libxmljs2-0.33.0.tgzLibrary home page: https://registry.npmjs.org/libxmljs2/-/libxmljs2-0.33.0.tgz
Path to dependency file: /package.json
Path to vulnerable library: /node_modules/libxmljs2/package.json
Dependency Hierarchy: - :x: **libxmljs2-0.33.0.tgz** (Vulnerable Library)
Found in HEAD commit: 4911bfdf5032db55884fd7d8ff4183f59a268b55
Found in base branch: master
### Vulnerability Detailslibxmljs2 is vulnerable to a type confusion vulnerability when parsing a specially crafted XML while invoking the namespaces() function (which invokes XmlNode::get_local_namespaces()) on a grand-child of a node that refers to an entity. This vulnerability can lead to denial of service and remote code execution.
Publish Date: 2024-05-02
URL: CVE-2024-34394
### CVSS 3 Score Details (8.1)Base Score Metrics: - Exploitability Metrics: - Attack Vector: Network - Attack Complexity: High - Privileges Required: None - User Interaction: None - Scope: Unchanged - Impact Metrics: - Confidentiality Impact: High - Integrity Impact: High - Availability Impact: High
For more information on CVSS3 Scores, click here.CVE-2024-34393
### Vulnerable Library - libxmljs2-0.33.0.tgzLibrary home page: https://registry.npmjs.org/libxmljs2/-/libxmljs2-0.33.0.tgz
Path to dependency file: /package.json
Path to vulnerable library: /node_modules/libxmljs2/package.json
Dependency Hierarchy: - :x: **libxmljs2-0.33.0.tgz** (Vulnerable Library)
Found in HEAD commit: 4911bfdf5032db55884fd7d8ff4183f59a268b55
Found in base branch: master
### Vulnerability Detailslibxmljs2 is vulnerable to a type confusion vulnerability when parsing a specially crafted XML while invoking a function on the result of attrs() that was called on a parsed node. This vulnerability might lead to denial of service (on both 32-bit systems and 64-bit systems), data leak, infinite loop and remote code execution (on 32-bit systems with the XML_PARSE_HUGE flag enabled).
Publish Date: 2024-05-02
URL: CVE-2024-34393
### CVSS 3 Score Details (8.1)Base Score Metrics: - Exploitability Metrics: - Attack Vector: Network - Attack Complexity: High - Privileges Required: None - User Interaction: None - Scope: Unchanged - Impact Metrics: - Confidentiality Impact: High - Integrity Impact: High - Availability Impact: High
For more information on CVSS3 Scores, click here.