CVE-2025-2828 SSRF Vulnerability in RequestsToolkit in langchain-ai/langchain
SSRF 요청의 취약점Langchain-ai/langchain의 툴킷
설명
SSRF(서버 측 요청 위조) 취약점은 langchain-ai/langchain 버전 0.0.27의 langchain-community 패키지의 RequestsToolkit 구성 요소에 있습니다(특히 langchain_community.agent_toolkits.openapi.toolkit.RequestsToolkit). 이 취약점은 툴킷이 원격 인터넷 주소에 대한 요청에 대한 제한을 강제하지 않기 때문에 발생하며 로컬 주소에도 액세스할 수 있습니다. 결과적으로 공격자는 이 결함을 악용하여 포트 검사를 수행하고, 로컬 서비스에 액세스하고, 클라우드 환경(예: Azure, AWS)에서 인스턴스 메타데이터를 검색하고, 로컬 네트워크의 서버와 상호 작용할 수 있습니다. 이 문제는 버전 0.0.28에서 수정되었습니다.
원문 보기
A Server-Side Request Forgery (SSRF) vulnerability exists in the RequestsToolkit component of the langchain-community package (specifically, langchain_community.agent_toolkits.openapi.toolkit.RequestsToolkit) in langchain-ai/langchain version 0.0.27. This vulnerability occurs because the toolkit does not enforce restrictions on requests to remote internet addresses, allowing it to also access local addresses. As a result, an attacker could exploit this flaw to perform port scans, access local services, retrieve instance metadata from cloud environments (e.g., Azure, AWS), and interact with servers on the local network. This issue has been fixed in version 0.0.28.
영향 받는 제품 제품 1개
-
해결 버전 있음
langchain-ai
langchain-ai/langchain
영향 받는 버전
- 0.0.28 미만
해결 버전
- 0.0.28 이상