{"id":"CVE-2024-34391","state":"PUBLISHED","title":"libxmljs attrs type confusion RCE","description":"libxmljs 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).","publishedAt":"2024-05-02T18:54:29.635Z","updatedAt":"2024-11-25T12:55:10.548Z","severity":{"score":8.1,"label":"High","version":"3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H","source":"JFROG"},"assigner":"JFROG","products":["libxmljs"],"affected":[{"packageName":"libxmljs","defaultStatus":"unaffected","versions":[{"version":"0","status":"affected","lessThanOrEqual":"1.0.11","versionType":"semver"}],"collectionURL":"https://www.npmjs.com"}],"references":["https://research.jfrog.com/vulnerabilities/libxmljs-attrs-type-confusion-rce-jfsa-2024-001033988/","https://github.com/libxmljs/libxmljs/issues/645"],"weaknesses":["CWE-843"],"ingestedAt":"2026-10-29T20:07:30.303Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2024/34xxx/CVE-2024-34391.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.1","cveMetadata":{"cveId":"CVE-2024-34391","state":"PUBLISHED","datePublished":"2024-05-02T18:54:29.635Z","dateUpdated":"2024-11-25T12:55:10.548Z","assignerShortName":"JFROG","assignerOrgId":"48a46f29-ae42-4e1d-90dd-c1676c1e5e6d","dateReserved":"2024-05-02T11:56:38.360Z"},"containers":{"cna":{"title":"libxmljs attrs type confusion RCE","descriptions":[{"lang":"en","value":"libxmljs 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)."}],"affected":[{"packageName":"libxmljs","defaultStatus":"unaffected","versions":[{"version":"0","status":"affected","lessThanOrEqual":"1.0.11","versionType":"semver"}],"collectionURL":"https://www.npmjs.com"}],"references":[{"url":"https://research.jfrog.com/vulnerabilities/libxmljs-attrs-type-confusion-rce-jfsa-2024-001033988/"},{"url":"https://github.com/libxmljs/libxmljs/issues/645"}],"metrics":[{"cvssV3_1":{"attackComplexity":"HIGH","attackVector":"NETWORK","availabilityImpact":"HIGH","baseScore":8.1,"baseSeverity":"HIGH","confidentialityImpact":"HIGH","integrityImpact":"HIGH","privilegesRequired":"NONE","scope":"UNCHANGED","userInteraction":"NONE","vectorString":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H","version":"3.1"},"format":"CVSS","scenarios":[{"lang":"en","value":"GENERAL"}]}],"problemTypes":[{"descriptions":[{"cweId":"CWE-843","description":"CWE-843 Access of Resource Using Incompatible Type ('Type Confusion')","lang":"en","type":"CWE"}]}],"providerMetadata":{"shortName":"JFROG","orgId":"48a46f29-ae42-4e1d-90dd-c1676c1e5e6d","dateUpdated":"2024-11-25T12:55:10.548Z"},"source":{"discovery":"EXTERNAL"},"x_generator":{"engine":"Vulnogram 0.2.0"}},"adp":[{"title":"CVE Program Container","references":[{"url":"https://research.jfrog.com/vulnerabilities/libxmljs-attrs-type-confusion-rce-jfsa-2024-001033988/","tags":["x_transferred"]},{"url":"https://github.com/libxmljs/libxmljs/issues/645","tags":["x_transferred"]}],"providerMetadata":{"shortName":"CVE","orgId":"af854a3a-2127-422b-91ae-364da2661108","dateUpdated":"2024-08-02T02:51:11.415Z"}},{"title":"CISA ADP Vulnrichment","affected":[{"vendor":"libxmljs_project","product":"libxmljs","defaultStatus":"unknown","versions":[{"version":"0","status":"affected","lessThanOrEqual":"1.0.11","versionType":"semver"}],"cpes":["cpe:2.3:a:libxmljs_project:libxmljs:*:*:*:*:*:node.js:*:*"]}],"metrics":[{"other":{"type":"ssvc","content":{"timestamp":"2024-05-03T18:17:40.374533Z","id":"CVE-2024-34391","options":[{"Exploitation":"poc"},{"Automatable":"no"},{"Technical Impact":"total"}],"role":"CISA Coordinator","version":"2.0.3"}}}],"problemTypes":[{"descriptions":[{"cweId":"CWE-843","type":"CWE","lang":"en","description":"CWE-843 Access of Resource Using Incompatible Type ('Type Confusion')"}]}],"providerMetadata":{"shortName":"CISA-ADP","orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","dateUpdated":"2024-08-06T15:35:06.402Z"}}]}}}