{"id":"CVE-2024-45858","state":"PUBLISHED","title":"An arbitrary code execution vulnerability exists in versions 0.2.9 up to 0.5.10 of the Guardrails AI Guardrails framework because of the way it validates XML files. If a victim use","description":"An arbitrary code execution vulnerability exists in versions 0.2.9 up to 0.5.10 of the Guardrails AI Guardrails framework because of the way it validates XML files. If a victim user loads a maliciously crafted XML file containing Python code, the code will be passed to an eval function, causing it to execute on the user's machine.","publishedAt":"2024-09-18T15:02:17.891Z","updatedAt":"2024-09-18T17:45:44.580Z","severity":{"score":7.8,"label":"High","version":"3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","source":"HiddenLayer"},"assigner":"HiddenLayer","products":["Guardrails AI guardrails"],"affected":[{"vendor":"Guardrails AI","product":"guardrails","defaultStatus":"unaffected","versions":[{"version":"0.2.9","status":"affected","lessThan":"0.5.10","versionType":"semver"}],"repo":"https://github.com/guardrails-ai/guardrails"}],"references":["https://hiddenlayer.com/sai-security-advisory/2024-09-guardrails/"],"weaknesses":["CWE-95"],"ingestedAt":"2026-10-29T20:07:47.831Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2024/45xxx/CVE-2024-45858.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.1","cveMetadata":{"cveId":"CVE-2024-45858","state":"PUBLISHED","datePublished":"2024-09-18T15:02:17.891Z","dateUpdated":"2024-09-18T17:45:44.580Z","assignerShortName":"HiddenLayer","assignerOrgId":"6f8de1f0-f67e-45a6-b68f-98777fdb759c","dateReserved":"2024-09-10T15:36:55.926Z"},"containers":{"cna":{"descriptions":[{"lang":"en","value":"An arbitrary code execution vulnerability exists in versions 0.2.9 up to 0.5.10 of the Guardrails AI Guardrails framework because of the way it validates XML files. If a victim user loads a maliciously crafted XML file containing Python code, the code will be passed to an eval function, causing it to execute on the user's machine."}],"affected":[{"vendor":"Guardrails AI","product":"guardrails","defaultStatus":"unaffected","versions":[{"version":"0.2.9","status":"affected","lessThan":"0.5.10","versionType":"semver"}],"repo":"https://github.com/guardrails-ai/guardrails"}],"references":[{"url":"https://hiddenlayer.com/sai-security-advisory/2024-09-guardrails/"}],"metrics":[{"cvssV3_1":{"attackComplexity":"LOW","attackVector":"LOCAL","availabilityImpact":"HIGH","baseScore":7.8,"baseSeverity":"HIGH","confidentialityImpact":"HIGH","integrityImpact":"HIGH","privilegesRequired":"NONE","scope":"UNCHANGED","userInteraction":"REQUIRED","vectorString":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","version":"3.1"},"format":"CVSS","scenarios":[{"lang":"en","value":"GENERAL"}]}],"problemTypes":[{"descriptions":[{"cweId":"CWE-95","description":"CWE-95 Improper Neutralization of Directives in Dynamically Evaluated Code (‘Eval Injection’)","lang":"en","type":"CWE"}]}],"providerMetadata":{"shortName":"HiddenLayer","orgId":"6f8de1f0-f67e-45a6-b68f-98777fdb759c","dateUpdated":"2024-09-18T15:02:17.891Z"},"impacts":[{"capecId":"CAPEC-35","descriptions":[{"lang":"en","value":"CAPEC-35 Leverage Executable Code in Non-Executable Files"}]}],"source":{"discovery":"UNKNOWN"},"x_generator":{"engine":"Vulnogram 0.2.0"}},"adp":[{"title":"CISA ADP Vulnrichment","affected":[{"vendor":"guardrailsai","product":"guardrails","defaultStatus":"unaffected","versions":[{"version":"0.2.9","status":"affected","lessThanOrEqual":"0.5.10","versionType":"semver"}],"cpes":["cpe:2.3:a:guardrailsai:guardrails:*:*:*:*:*:*:*:*"]}],"metrics":[{"other":{"type":"ssvc","content":{"timestamp":"2024-09-18T17:41:44.763730Z","id":"CVE-2024-45858","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-09-18T17:45:44.580Z"}}]}}}