CVE-2024-3095

Source
https://nvd.nist.gov/vuln/detail/CVE-2024-3095
Import Source
https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2024-3095.json
JSON Data
https://api.test.osv.dev/v1/vulns/CVE-2024-3095
Aliases
Published
2024-06-06T19:15:59Z
Modified
2024-10-18T23:46:11.336369Z
Severity
  • 7.7 (High) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:N/A:N CVSS Calculator
Summary
[none]
Details

A Server-Side Request Forgery (SSRF) vulnerability exists in the Web Research Retriever component of langchain-ai/langchain version 0.1.5. The vulnerability arises because the Web Research Retriever does not restrict requests to remote internet addresses, allowing it to reach local addresses. This flaw enables attackers to execute port scans, access local services, and in some scenarios, read instance metadata from cloud environments. The vulnerability is particularly concerning as it can be exploited to abuse the Web Explorer server as a proxy for web attacks on third parties and interact with servers in the local network, including reading their response data. This could potentially lead to arbitrary code execution, depending on the nature of the local services. The vulnerability is limited to GET requests, as POST requests are not possible, but the impact on confidentiality, integrity, and availability is significant due to the potential for stolen credentials and state-changing interactions with internal APIs.

References

Affected packages

Git / github.com/langchain-ai/langchain

Affected ranges

Type
GIT
Repo
https://github.com/langchain-ai/langchain
Events

Affected versions

langchain-ai21==0.*

langchain-ai21==0.1.4
langchain-ai21==0.1.5
langchain-ai21==0.1.6
langchain-ai21==0.1.7

langchain-airbyte==0.*

langchain-airbyte==0.1.1

langchain-anthropic==0.*

langchain-anthropic==0.1.12
langchain-anthropic==0.1.13
langchain-anthropic==0.1.14rc1
langchain-anthropic==0.1.14rc2
langchain-anthropic==0.1.15
langchain-anthropic==0.1.16
langchain-anthropic==0.1.17
langchain-anthropic==0.1.18
langchain-anthropic==0.1.19
langchain-anthropic==0.1.20

langchain-azure-dynamic-sessions==0.*

langchain-azure-dynamic-sessions==0.1.0
langchain-azure-dynamic-sessions==0.1.0rc0

langchain-chroma==0.*

langchain-chroma==0.1.1
langchain-chroma==0.1.2

langchain-cli==0.*

langchain-cli==0.0.22
langchain-cli==0.0.23
langchain-cli==0.0.24
langchain-cli==0.0.25

langchain-community==0.*

langchain-community==0.0.35
langchain-community==0.0.36
langchain-community==0.0.37
langchain-community==0.2.0
langchain-community==0.2.0rc1
langchain-community==0.2.1
langchain-community==0.2.2
langchain-community==0.2.3
langchain-community==0.2.4
langchain-community==0.2.5
langchain-community==0.2.6
langchain-community==0.2.7

langchain-core==0.*

langchain-core==0.1.47
langchain-core==0.1.48
langchain-core==0.1.50
langchain-core==0.1.51
langchain-core==0.1.52
langchain-core==0.2.0
langchain-core==0.2.0rc1
langchain-core==0.2.1
langchain-core==0.2.10
langchain-core==0.2.11
langchain-core==0.2.12
langchain-core==0.2.13
langchain-core==0.2.15
langchain-core==0.2.16
langchain-core==0.2.17
langchain-core==0.2.18
langchain-core==0.2.19
langchain-core==0.2.2
langchain-core==0.2.20
langchain-core==0.2.2rc1
langchain-core==0.2.3
langchain-core==0.2.4
langchain-core==0.2.5
langchain-core==0.2.6
langchain-core==0.2.7
langchain-core==0.2.8
langchain-core==0.2.9

langchain-couchbase==0.*

langchain-couchbase==0.0.1

langchain-exa==0.*

langchain-exa==0.1.0

langchain-experimental==0.*

langchain-experimental==0.0.58
langchain-experimental==0.0.59
langchain-experimental==0.0.60
langchain-experimental==0.0.61
langchain-experimental==0.0.62

langchain-fireworks==0.*

langchain-fireworks==0.1.3
langchain-fireworks==0.1.4
langchain-fireworks==0.1.5

langchain-groq==0.*

langchain-groq==0.1.4
langchain-groq==0.1.5
langchain-groq==0.1.6

langchain-huggingface==0.*

langchain-huggingface==0.0.1
langchain-huggingface==0.0.2
langchain-huggingface==0.0.3

langchain-ibm==0.*

langchain-ibm==0.1.5
langchain-ibm==0.1.6
langchain-ibm==0.1.7
langchain-ibm==0.1.8
langchain-ibm==0.1.9

langchain-milvus==0.*

langchain-milvus==0.1.0
langchain-milvus==0.1.1

langchain-mistralai==0.*

langchain-mistralai==0.1.10
langchain-mistralai==0.1.6
langchain-mistralai==0.1.7
langchain-mistralai==0.1.8
langchain-mistralai==0.1.9

langchain-mongodb==0.*

langchain-mongodb==0.1.4
langchain-mongodb==0.1.5
langchain-mongodb==0.1.6

langchain-nomic==0.*

langchain-nomic==0.1.0
langchain-nomic==0.1.1
langchain-nomic==0.1.2

langchain-openai==0.*

langchain-openai==0.1.10
langchain-openai==0.1.11
langchain-openai==0.1.12
langchain-openai==0.1.13
langchain-openai==0.1.14
langchain-openai==0.1.15
langchain-openai==0.1.16
langchain-openai==0.1.5
langchain-openai==0.1.6
langchain-openai==0.1.7
langchain-openai==0.1.8
langchain-openai==0.1.8rc1
langchain-openai==0.1.9

langchain-pinecone==0.*

langchain-pinecone==0.1.1

langchain-prompty==0.*

langchain-prompty==0.0.1
langchain-prompty==0.0.2

langchain-qdrant==0.*

langchain-qdrant==0.0.1
langchain-qdrant==0.1.0
langchain-qdrant==0.1.1
langchain-qdrant==0.1.2

langchain-robocorp==0.*

langchain-robocorp==0.0.6
langchain-robocorp==0.0.7
langchain-robocorp==0.0.8
langchain-robocorp==0.0.9
langchain-robocorp==0.0.9.post1

langchain-text-splitters==0.*

langchain-text-splitters==0.0.2
langchain-text-splitters==0.2.0
langchain-text-splitters==0.2.1
langchain-text-splitters==0.2.2

langchain-together==0.*

langchain-together==0.1.1
langchain-together==0.1.2
langchain-together==0.1.3
langchain-together==0.1.4

langchain-upstage==0.*

langchain-upstage==0.1.4
langchain-upstage==0.1.5

langchain-voyageai==0.*

langchain-voyageai==0.1.1

langchain==0.*

langchain==0.1.17
langchain==0.2.0
langchain==0.2.0rc2
langchain==0.2.1
langchain==0.2.2
langchain==0.2.3
langchain==0.2.4
langchain==0.2.5
langchain==0.2.6
langchain==0.2.7
langchain==0.2.8

v0.*

v0.1.10
v0.1.11
v0.1.12
v0.1.13
v0.1.14
v0.1.15
v0.1.16
v0.1.5
v0.1.6
v0.1.7
v0.1.8
v0.1.9