PyPi: Langchain-Core

CVE-2024-0243

Safety vulnerability ID: 71611

This vulnerability was reviewed by experts

The information on this page was manually curated by our Cybersecurity Intelligence Team.

Created at Feb 26, 2024 Updated at Dec 10, 2024
Scan your Python projects for vulnerabilities →

Advisory

There is a bypass in the CVE-2023-46229 fix within langchain's SSRF protections in recursive_url_loader.py. Despite setting prevent_outside to True, an SSRF vulnerability allows crawling from an external server to an internal one. The issue stems from inadequate handling of external URLs, enabling unauthorized server interactions. For instance, an attacker controlling https://example.com could exploit this by placing links such as "https://example.completely.different/my_file.html". Despite the preventive measure, the crawler would fetch the malicious file.

Affected package

langchain-core

Latest version: 0.3.24

Building applications with LLMs through composability

Affected versions

Fixed versions

Vulnerability changelog

This vulnerability has no description

Resources

Use this package?

Scan your Python project for dependency vulnerabilities in two minutes

Scan your application