CVE-2024-45858
High
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.
SeverityHigh
CVSS7.8
Exploit probability—
ProductGuardrails-ai
PublishedSep 18, 2024
First seenSep 18, 2024
Weakness typeCWE-95CWE-95
How to fix
Update
- guardrails-ai0.5.10 or later
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| guardrails-aiPyPI | 0.2.9 ≤ v < 0.5.10 | 0.5.10 |
Check your version
Choose the product and enter the version you run to see whether it falls in the affected range.
In the Intelligence 360 plan
Attack Surface Management
See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.