{"dataType":"CVE_RECORD","dataVersion":"5.1","cveMetadata":{"cveId":"CVE-2024-5998","assignerOrgId":"c09c270a-b464-47c1-9133-acb35b22c19a","state":"PUBLISHED","assignerShortName":"@huntr_ai","dateReserved":"2024-06-14T13:32:32.118Z","datePublished":"2024-09-17T11:50:13.813Z","dateUpdated":"2024-09-17T13:34:15.648Z"},"containers":{"cna":{"title":"Deserialization of Untrusted Data in langchain-ai/langchain","providerMetadata":{"orgId":"c09c270a-b464-47c1-9133-acb35b22c19a","shortName":"@huntr_ai","dateUpdated":"2024-09-17T11:50:13.813Z"},"descriptions":[{"lang":"en","value":"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."}],"affected":[{"vendor":"langchain-ai","product":"langchain-ai/langchain","versions":[{"version":"unspecified","lessThan":"0.2.9","status":"affected","versionType":"custom"}]}],"references":[{"url":"https://huntr.com/bounties/fa3a2753-57c3-4e08-a176-d7a3ffda28fe"},{"url":"https://github.com/langchain-ai/langchain/commit/604dfe2d99246b0c09f047c604f0c63eafba31e7"}],"metrics":[{"cvssV3_0":{"version":"3.0","attackComplexity":"LOW","attackVector":"PHYSICAL","availabilityImpact":"LOW","confidentialityImpact":"HIGH","integrityImpact":"LOW","privilegesRequired":"LOW","scope":"UNCHANGED","userInteraction":"REQUIRED","vectorString":"CVSS:3.0/AV:P/AC:L/PR:L/UI:R/S:U/C:H/I:L/A:L","baseScore":5.2,"baseSeverity":"MEDIUM"}}],"problemTypes":[{"descriptions":[{"type":"CWE","lang":"en","description":"CWE-502 Deserialization of Untrusted Data","cweId":"CWE-502"}]}],"source":{"advisory":"fa3a2753-57c3-4e08-a176-d7a3ffda28fe","discovery":"EXTERNAL"}},"adp":[{"affected":[{"vendor":"langchain","product":"langchain","cpes":["cpe:2.3:a:langchain:langchain:*:*:*:*:*:*:*:*"],"defaultStatus":"unknown","versions":[{"version":"0","status":"affected","lessThan":"0.2.9","versionType":"custom"}]}],"metrics":[{"other":{"type":"ssvc","content":{"timestamp":"2024-09-17T13:28:59.648989Z","id":"CVE-2024-5998","options":[{"Exploitation":"poc"},{"Automatable":"no"},{"Technical Impact":"partial"}],"role":"CISA Coordinator","version":"2.0.3"}}}],"title":"CISA ADP Vulnrichment","providerMetadata":{"orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","shortName":"CISA-ADP","dateUpdated":"2024-09-17T13:34:15.648Z"}}]}}