CVE-2024-45858
An arbitrary code execution vulnerability exists in versions 0.2.9 …
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.
What to do now
- Check your exposureFind out whether the affected software runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Set the orderSystems that can be reached from the internet come first, then the rest.
References
- hiddenlayer.com/sai-security-advisory/2024-09-guardrails/
- nvd.nist.gov/vuln/detail/CVE-2024-45858
- hiddenlayer.com/sai-security-advisory/2024-09-guardrails
- github.com/guardrails-ai/guardrails/commit/ab12701e8c3ef41273ff9b3912f2e4e28ae8306f
- github.com/advisories/GHSA-w392-75q8-vr67
- nvd.nist.gov/vuln/detail/CVE-2024-45858
- cve.org/CVERecord?id=CVE-2024-45858
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.