- CVSS
- HIGH · 7.8v3.1CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
- Published
- 2024-09-17
- Weakness
- CWE-502
- Source
- nvd.nist.gov/vuln/detail/CVE-2024-5998
Description
A vulnerability in the FAISS.deserialize_from_bytes function of langchain-ai/langchain allows for pickle deserialization of untrusted data. This can lead to the execution of arbitrary commands via the os.system function. The issue affects the latest version of the product.
References
How GTK Cyber trains on this
AI security training at GTK Cyber covers the LLM and ML-pipeline vulnerability classes that vulnerabilities like CVE-2024-5998 fall into. Our hands-on courses are taught by Charles Givre and other practitioners who break and defend production AI systems.