CVE-2024-6825
Last modified
CVE-2024-6825 is a high-severity vulnerability rated 8.8/10 on the CVSS scale. BerriAI/litellm version 1.40.12 contains a vulnerability that allows remote code execution. The issue exists in the handling of the 'post_call_rules' configuration, where a callback function can be added. EPSS estimates a 1.46% chance of exploitation in the next 30 days.
Description
BerriAI/litellm version 1.40.12 contains a vulnerability that allows remote code execution. The issue exists in the handling of the 'post_call_rules' configuration, where a callback function can be added. The provided value is split at the final '.' mark, with the last part considered the function name and the remaining part appended with the '.py' extension and imported. This allows an attacker to set a system method, such as 'os.system', as a callback, enabling the execution of arbitrary commands when a chat response is processed.
Metrics
CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Weakness Enumeration
Affected Software
| Vendor | Product | Versions | Update |
|---|---|---|---|
| Litellm | Litellm | < 1.65.4 | — |
| Litellm | Litellm | 1.65.4 | Dev2 |
References
Timeline
- Published
- Last Modified
- Status
- Modified
Frequently Asked Questions
What is CVE-2024-6825?
How severe is CVE-2024-6825?
How do I fix CVE-2024-6825?
How Strix Helps
- How Strix found a critical auth bypass in etcdStrix autonomously discovered a critical authentication bypass in etcd, later designated CVE-2026-33413.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2024
- CVE-2024-6819IrfanView PSP File Parsing Out-Of-Bounds Write Remote Code E…7.8
- CVE-2024-6820IrfanView AWD File Parsing Out-Of-Bounds Write Remote Code E…7.8
- CVE-2024-6821IrfanView CIN File Parsing Out-Of-Bounds Write Remote Code E…7.8
- CVE-2024-6822IrfanView CIN File Parsing Out-Of-Bounds Write Remote Code E…7.8
- CVE-2024-6823The Media Library Assistant plugin for WordPress is vulnerab…8.8
- CVE-2024-6824The Premium Addons for Elementor plugin for WordPress is vul…4.3
- CVE-2024-6826An issue has been discovered in GitLab CE/EE affecting all v…6.5
- CVE-2024-6827Gunicorn version 21.2.0 does not properly validate the value…7.5
- CVE-2024-6828The Redux Framework plugin for WordPress is vulnerable to un…7.2
- CVE-2024-6829A vulnerability in aimhubio/aim version 3.19.3 allows an att…9.1
- CVE-2024-6830A vulnerability, which was classified as critical, was found…7.5
- CVE-2024-6831Seth Fogie, member of AXIS Camera Station Pro Bug Bounty Pro…4.4
Are you affected by CVE-2024-6825?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
