{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2024-34393","id":"CVE-2024-34393","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).","descriptionLong":"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).","published":"2024-05-02T18:56:44.270Z","updated":"2026-10-28T02:30:39.459215815Z","reserved":"2024-05-02T11:56:38.360Z","status":"Deferred","rejected":false,"assigner":"JFROG","metric":{"version":"3.1","score":8.1,"vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H","rating":"high","source":"JFROG"},"metrics":[{"version":"4.0","score":null,"vector":"CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N","rating":"high","source":"GitHub"},{"version":"3.1","score":8.1,"vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H","rating":"high","source":"JFROG"},{"version":"3.1","score":8.1,"vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H","rating":"high","source":"jfrog.com"},{"version":"3.1","score":8.1,"vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H","rating":"high","source":"OSV"},{"version":"3.1","score":8.1,"vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H","rating":"high","source":"GitHub"}],"rating":"high","products":["libxmljs2"],"affectedProducts":[{"vendor":"","product":"libxmljs2","defaultStatus":"unaffected","versions":[{"status":"affected","version":"0","lessThanOrEqual":"0.37.0","versionType":"semver"}],"platforms":[]}],"packages":[{"ecosystem":"npm","name":"libxmljs2","purl":"pkg:npm/libxmljs2","ranges":["<=0.33.0"],"fixed":[],"advisory":"GHSA-mjr4-7xg5-pfvh"}],"cwes":["CWE-843"],"aliases":["GHSA-mjr4-7xg5-pfvh"],"references":[{"url":"https://research.jfrog.com/vulnerabilities/libxmljs2-attrs-type-confusion-rce-jfsa-2024-001034097/","tags":["x_transferred","web"]},{"url":"https://github.com/marudor/libxmljs2/issues/204","tags":["x_transferred","report","web"]},{"url":"https://www.npmjs.com","tags":["web"]},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/34xxx/CVE-2024-34393.json","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2024-34393","tags":["advisory"]},{"url":"https://github.com/marudor/libxmljs2","tags":["package"]},{"url":"https://research.jfrog.com/vulnerabilities/libxmljs2-attrs-type-confusion-rce-jfsa-2024-001034097","tags":["web"]}],"patchReferenced":false,"fixAvailable":false,"exploitReferenced":false,"kev":false,"kevAdded":null,"kevDue":null,"kevEntry":null,"ssvc":{"exploitation":"poc","automatable":"no","technicalImpact":"total"},"epss":0.0096,"epssPercentile":0.62261,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2024-34393","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2024-34393","ok":true,"note":"Deferred"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2024-34393","ok":true,"note":"1 package"},{"name":"GitHub Advisory","url":"https://github.com/advisories/GHSA-mjr4-7xg5-pfvh","ok":true,"note":"GHSA-mjr4-7xg5-pfvh"},{"name":"CISA KEV","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","ok":true,"note":"not listed"},{"name":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2024-34393","ok":true,"note":"scored 2026-11-19"}],"aiTitle":false,"tech":[],"critical":[],"attention":null}