{"id":"CVE-2024-27444","published":"2024-02-26T00:00:00Z","modified":"2024-08-06T15:13:44Z","title":"langchain_experimental (aka LangChain Experimental) in LangChain before 0.1.8 allows an attacker to bypass the…","vendor":null,"product":null,"tier":"tail","description":{"text":"langchain_experimental (aka LangChain Experimental) in LangChain before 0.1.8 allows an attacker to bypass the CVE-2023-44467 fix and execute arbitrary code via the __import__, __subclasses__, __builtins__, __globals__, __getattribute__, __bases__, __mro__, or __base__ attribute in Python code. These are not prohibited by pal_chain/base.py.","provenance":"source","from":"CVE.org"},"cvss":{"score":9.8,"severity":"CRITICAL","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","provenance":"source","from":"CISA ADP Vulnrichment"},"epss":{"score":0.00773,"percentile":0.55671,"provenance":"source"},"cwes":[{"id":"CWE-749","name":"Exposed Dangerous Method or Function"}],"references":[{"url":"https://github.com/langchain-ai/langchain/commit/de9a6cdf163ed00adaf2e559203ed0a9ca2f1de7","tags":[]}],"priority":{"score":18.0,"factors":[{"name":"EPSS percentile","points":11.13},{"name":"CVSS severity","points":6.86}]},"affected":[{"ecosystem":"PyPI","package":"langchain-experimental","vulnerableRanges":["<0.0.52"],"patched":["0.0.52"],"from":["GHSA-v8vj-cv27-hjv8","PYSEC-2026-375"],"provenance":"source"}],"euvd":{"id":"EUVD-2024-0729","exploited":false,"provenance":"source"},"lineage":{"familyId":"fam-langchain-experimental-cve-2023-36258","parents":[{"from":"CVE-2023-44467","to":"CVE-2024-27444","relation":"bypass","confidence":"high","kind":"lineage","evidence":[{"kind":"text","provenance":"source","relation":"bypass","quote":"langchain_experimental (aka LangChain Experimental) in LangChain before 0.1.8 allows an attacker to bypass the CVE-2023-44467 fix and execute arbitrary code via the __import__, __subclasses__, __builtins__, __globals__, __getattribute__,…","from":"CVE.org","in":"CVE-2024-27444"},{"kind":"same-code","provenance":"machine","files":["libs/experimental/langchain_experimental/pal_chain/base.py"],"commits":["https://github.com/langchain-ai/langchain/commit/4c97a10bd0d9385cfee234a63b5bd826a295e483","https://github.com/langchain-ai/langchain/commit/de9a6cdf163ed00adaf2e559203ed0a9ca2f1de7"],"basis":"rarely changed file"},{"kind":"similar","provenance":"machine","score":0.52,"basis":"same package + description similarity"}]}],"children":[{"from":"CVE-2024-27444","to":"CVE-2024-38459","relation":"incomplete-fix","confidence":"high","kind":"lineage","evidence":[{"kind":"text","provenance":"source","relation":"incomplete-fix","quote":"NOTE; this issue exists because of an incomplete fix for CVE-2024-27444.","from":"CVE.org","in":"CVE-2024-38459"},{"kind":"version-step","provenance":"source","package":"PyPI:langchain-experimental","fromFixed":"0.0.52","toFixed":"0.0.61","daysApart":111},{"kind":"same-code","provenance":"machine","files":["libs/experimental/langchain_experimental/pal_chain/base.py"],"commits":["https://github.com/langchain-ai/langchain/commit/de9a6cdf163ed00adaf2e559203ed0a9ca2f1de7","https://github.com/langchain-ai/langchain/commit/ce0b0f22a175139df8f41cdcfb4d2af411112009"],"basis":"rarely changed file"}]}],"packageHistory":[{"cve":"CVE-2023-44467","published":"2023-10-09","fixed":"0.0.15","kev":false},{"cve":"CVE-2024-21513","published":"2024-07-15","fixed":"0.0.21","kev":false},{"cve":"CVE-2024-27444","published":"2024-02-26","fixed":"0.0.52","kev":false},{"cve":"CVE-2024-38459","published":"2024-06-16","fixed":"0.0.61","kev":false}],"package":"PyPI:langchain-experimental"}}