LangChain pickle deserialization of untrusted data
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 versions prior to 0.2.4.
Czego dotyczy
Kliknij technologię, aby zobaczyć wszystkie dotyczące jej podatności.
| Platforma | Paczka | Podatne wersje | Poprawka w wersji |
|---|---|---|---|
| Python (PyPI) | langchain | < 0.2.9 | 0.2.9 |
| Python (PyPI) | langchain-community | < 0.2.4 | 0.2.4 |
Odnośniki
- https://nvd.nist.gov/vuln/detail/CVE-2024-5998
- https://github.com/langchain-ai/langchain/commit/604dfe2d99246b0c09f047c604f0c63eafba31e7
- https://github.com/langchain-ai/langchain/commit/77209f315efd13442ec51c67719ba37dfaa44511
- https://github.com/langchain-ai/langchain
- https://huntr.com/bounties/fa3a2753-57c3-4e08-a176-d7a3ffda28fe
- https://pypi.org/project/langchain-community
- https://github.com/advisories/GHSA-f2jm-rw3h-6phg
- Wektor CVSS
CVSS:3.1/AV:P/AC:L/PR:L/UI:R/S:U/C:H/I:L/A:L- Słabość (CWE)
CWE-502- Platforma
- Python (PyPI)
- Paczka
langchain, langchain-community- Ujawniono
- 17.09.2024
- Aktualizacja
- 11.10.2026 13:19
Źródła i licencje
OSV / GitHub Advisory Database - PYSEC-2024-323 - PyPA Advisory Database; CC BY 4.0
OSV / GitHub Advisory Database - GHSA-f2jm-rw3h-6phg - CC BY 4.0
OSV / GitHub Advisory Database - PYSEC-2026-1514 - PyPA Advisory Database; CC BY 4.0
Historia podatności: langchain
Wszystkie opisane podatności tej paczki (Python (PyPI)), od najnowszej. Widać, czy to jednorazowa wpadka, czy paczka, której trzeba pilnować.
- Wszystkich wpisów
- 22
- Pierwsza → ostatnia
- 04.2023 06.2026
- Bez poprawki
- 0
- Wykorzystywana w atakach
- 0
Rozkład istotności
- Krytyczna 12
- Wysoka 4
- Średnia 4
- Niska 2
Ujawnienia w latach
- 2023: 15
- 2024: 5
- 2025: 0
- 2026: 2
-
LangChain pickle deserialization of untrusted data ten wpis
Dowiedz się, które podatności dotyczą Twojej aplikacji
Po podłączeniu integracji DockRay i włączeniu raportowania oprogramowania DockRay porównuje zgłoszone wersje komponentów ze znanymi podatnościami i powiadamia o potwierdzonych dopasowaniach. Zakres zależy od obsługiwanej technologii i dostępnych biuletynów.