Lucene search

K
vulnrichment@huntr_aiVULNRICHMENT:CVE-2024-5998
HistorySep 17, 2024 - 11:50 a.m.

CVE-2024-5998 Deserialization of Untrusted Data in langchain-ai/langchain

2024-09-1711:50:13
CWE-502
@huntr_ai
github.com
3
cve-2024-5998
untrusted data
faiss.deserialize_from_bytes
langchain-ai/langchain
arbitrary commands
os.system
latest version

CVSS3

5.2

Attack Vector

PHYSICAL

Attack Complexity

LOW

Privileges Required

LOW

User Interaction

REQUIRED

Scope

UNCHANGED

Confidentiality Impact

HIGH

Integrity Impact

LOW

Availability Impact

LOW

CVSS:3.0/AV:P/AC:L/PR:L/UI:R/S:U/C:H/I:L/A:L

AI Score

7.4

Confidence

High

EPSS

0

Percentile

9.6%

SSVC

Exploitation

poc

Automatable

no

Technical Impact

partial

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.

ADP Affected

[
  {
    "cpes": [
      "cpe:2.3:a:langchain:langchain:*:*:*:*:*:*:*:*"
    ],
    "vendor": "langchain",
    "product": "langchain",
    "versions": [
      {
        "status": "affected",
        "version": "0",
        "lessThan": "0.2.9",
        "versionType": "custom"
      }
    ],
    "defaultStatus": "unknown"
  }
]

CVSS3

5.2

Attack Vector

PHYSICAL

Attack Complexity

LOW

Privileges Required

LOW

User Interaction

REQUIRED

Scope

UNCHANGED

Confidentiality Impact

HIGH

Integrity Impact

LOW

Availability Impact

LOW

CVSS:3.0/AV:P/AC:L/PR:L/UI:R/S:U/C:H/I:L/A:L

AI Score

7.4

Confidence

High

EPSS

0

Percentile

9.6%

SSVC

Exploitation

poc

Automatable

no

Technical Impact

partial

Related for VULNRICHMENT:CVE-2024-5998