CVE-2024-45858

Source
https://cve.org/CVERecord?id=CVE-2024-45858
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2024-45858.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2024-45858
Aliases
Published
2024-09-18T15:02:17.891Z
Modified
2026-07-08T07:47:43.291586659Z
Severity
  • 7.8 (High) CVSS_V3 - CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H CVSS Calculator
Summary
[none]
Details

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.

Database specific
{
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/45xxx/CVE-2024-45858.json",
    "cna_assigner": "HiddenLayer",
    "cwe_ids": [
        "CWE-95"
    ]
}
References

Affected packages

Git / github.com/guardrails-ai/guardrails

Affected ranges

Type
GIT
Repo
https://github.com/guardrails-ai/guardrails
Events
Database specific
{
    "source": "AFFECTED_FIELD",
    "extracted_events": [
        {
            "introduced": "0.2.9"
        },
        {
            "fixed": "0.5.10"
        }
    ]
}

Affected versions

0.*
0.3.0
v0.*
v0.2.9
v0.3.0
v0.3.1
v0.3.2
v0.3.3
v0.4.1
v0.4.2
v0.4.3
v0.4.4
v0.4.5
v0.5.0
v0.5.1
v0.5.2
v0.5.3
v0.5.4
v0.5.5
v0.5.6
v0.5.7
v0.5.8
v0.5.9

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2024-45858.json"