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