{"id":"CVE-2024-6961","state":"PUBLISHED","title":"XXE in Guardrails AI when consuming RAIL documents","description":"RAIL documents are an XML-based format invented by Guardrails AI to enforce formatting checks on LLM outputs. Guardrails users that consume RAIL documents from external sources are vulnerable to XXE, which may cause leakage of internal file data via the SYSTEM entity.","publishedAt":"2024-07-21T10:49:54.782Z","updatedAt":"2024-11-25T12:48:07.911Z","severity":{"score":5.9,"label":"Medium","version":"3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N","source":"JFROG"},"assigner":"JFROG","products":["guardrails-ai"],"affected":[{"packageName":"guardrails-ai","defaultStatus":"unaffected","versions":[{"version":"0","status":"affected","lessThan":"0.5.0","versionType":"python"}],"collectionURL":"https://pypi.org/project/pip"}],"references":["https://research.jfrog.com/vulnerabilities/guardrails-rail-xxe-jfsa-2024-001035519/"],"weaknesses":["CWE-611"],"ingestedAt":"2026-10-29T20:08:12.933Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2024/6xxx/CVE-2024-6961.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.1","cveMetadata":{"cveId":"CVE-2024-6961","state":"PUBLISHED","datePublished":"2024-07-21T10:49:54.782Z","dateUpdated":"2024-11-25T12:48:07.911Z","assignerShortName":"JFROG","assignerOrgId":"48a46f29-ae42-4e1d-90dd-c1676c1e5e6d","dateReserved":"2024-07-21T09:58:10.956Z"},"containers":{"cna":{"title":"XXE in Guardrails AI when consuming RAIL documents","descriptions":[{"lang":"en","value":"RAIL documents are an XML-based format invented by Guardrails AI to enforce formatting checks on LLM outputs. Guardrails users that consume RAIL documents from external sources are vulnerable to XXE, which may cause leakage of internal file data via the SYSTEM entity."}],"affected":[{"packageName":"guardrails-ai","defaultStatus":"unaffected","versions":[{"version":"0","status":"affected","lessThan":"0.5.0","versionType":"python"}],"collectionURL":"https://pypi.org/project/pip"}],"references":[{"url":"https://research.jfrog.com/vulnerabilities/guardrails-rail-xxe-jfsa-2024-001035519/","tags":["vendor-advisory"]}],"metrics":[{"cvssV3_1":{"attackComplexity":"HIGH","attackVector":"NETWORK","availabilityImpact":"NONE","baseScore":5.9,"baseSeverity":"MEDIUM","confidentialityImpact":"HIGH","integrityImpact":"NONE","privilegesRequired":"NONE","scope":"UNCHANGED","userInteraction":"NONE","vectorString":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N","version":"3.1"},"format":"CVSS","scenarios":[{"lang":"en","value":"GENERAL"}]}],"problemTypes":[{"descriptions":[{"cweId":"CWE-611","description":"CWE-611 Improper Restriction of XML External Entity Reference","lang":"en","type":"CWE"}]}],"providerMetadata":{"shortName":"JFROG","orgId":"48a46f29-ae42-4e1d-90dd-c1676c1e5e6d","dateUpdated":"2024-11-25T12:48:07.911Z"},"source":{"discovery":"EXTERNAL"},"x_generator":{"engine":"Vulnogram 0.2.0"}},"adp":[{"title":"CISA ADP Vulnrichment","affected":[{"vendor":"guardrailsai","product":"guardrails","defaultStatus":"unknown","versions":[{"version":"0","status":"affected","lessThan":"0.5.0","versionType":"custom"}],"cpes":["cpe:2.3:a:guardrailsai:guardrails:*:*:*:*:*:*:*:*"]}],"metrics":[{"other":{"type":"ssvc","content":{"timestamp":"2024-07-22T18:24:13.885767Z","id":"CVE-2024-6961","options":[{"Exploitation":"poc"},{"Automatable":"no"},{"Technical Impact":"partial"}],"role":"CISA Coordinator","version":"2.0.3"}}}],"problemTypes":[{"descriptions":[{"cweId":"CWE-611","type":"CWE","lang":"en","description":"CWE-611 Improper Restriction of XML External Entity Reference"}]}],"providerMetadata":{"shortName":"CISA-ADP","orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","dateUpdated":"2024-07-22T18:34:15.580Z"}},{"title":"CVE Program Container","references":[{"url":"https://research.jfrog.com/vulnerabilities/guardrails-rail-xxe-jfsa-2024-001035519/","tags":["vendor-advisory","x_transferred"]}],"providerMetadata":{"shortName":"CVE","orgId":"af854a3a-2127-422b-91ae-364da2661108","dateUpdated":"2024-08-01T21:45:38.455Z"}}]}}}