GitHub Advisoryadvisory · PyPI
GHSA-f8hx-f4xw-c646 Guardrails AI vulnerable to Improper Restriction of XML External Entity Reference
HIGH
Official page ↗
- Aliases
- CVE-2024-6961
- Ecosystem
- PyPI
- Packages
- guardrails-ai
- Severity
- High
- CVSS vector
- CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N
- Weaknesses
- CWE-611
- Reviewed
- 2024-07-22
Affected packages
• PyPI guardrails-ai: < 0.5.0 → fixed in 0.5.0
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.
Related
Alias · CVE (1)
- CVE-2024-6961 RAIL documents are an XML-based format invented by Guardrails AI to enforce formatting checks on LLM outputs. vulnerability
Weakness · CWE (1)
- CWE-611 Improper Restriction of XML External Entity Reference weakness
References
- https://nvd.nist.gov/vuln/detail/CVE-2024-6961 advisory
- https://github.com/guardrails-ai/guardrails/pull/922 web
- https://github.com/guardrails-ai/guardrails/commit/f3d806afee31e2e3f97af682d16c3c1bc0d3c380 web
- https://github.com/guardrails-ai/guardrails package
- https://research.jfrog.com/vulnerabilities/guardrails-rail-xxe-jfsa-2024-001035519 web