
Cloud Vulnerability DB
A community-led vulnerabilities database
CVE-2024-0243 is a Server-Side Request Forgery (SSRF) vulnerability discovered in the RecursiveUrlLoader component of LangChain. The vulnerability was disclosed on February 26, 2024, affecting versions prior to 0.1.0. The issue allows an attacker in control of a target website to bypass the prevent_outside=True restriction and cause the crawler to download files from unintended external domains (NVD).
The vulnerability exists in the RecursiveUrlLoader's URL crawling functionality. When configured with prevent_outside=True, the loader fails to properly validate external URLs, allowing an attacker to place malicious HTML files containing links to arbitrary external domains (e.g., 'https://example.completely.different/my_file.html'). The CVSS v3.1 base score is 8.1 (HIGH) with vector: CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H (NVD).
The vulnerability could allow attackers to bypass domain restrictions and force the crawler to access and download content from malicious external domains, potentially leading to unauthorized data access or server-side request forgery attacks (Huntr).
The vulnerability has been patched in LangChain version 0.1.0. Users should upgrade to this version or later. The fix was implemented through a pull request that further restricts the recursive URL loader's behavior (Github PR).
Source: This report was generated using AI
Free Vulnerability Assessment
Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.
Get a personalized demo
"Best User Experience I have ever seen, provides full visibility to cloud workloads."
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
"We know that if Wiz identifies something as critical, it actually is."