SAP Cloud SDK for Pythonのエージェントメモリで別テナントの認証情報を読まれる脆弱性
Summary
SAP Cloud SDK for Pythonのagent_memoryモジュールに、パストラバーサルの脆弱性が見つかりました。テナント指定の値が検証されないため、別テナントのOAuthクライアントIDやクライアントシークレットなどの認証情報にアクセスされるおそれがあります。影響するのは0.50.0より前の版で、0.50.0以降の版に更新してください。CVSSは7.5です。
AI summary
Produced by SecPulse using an external AI model; it may contain mistakes. Check the original description and references below before acting on it.
SAP Cloud SDK for Pythonのagent_memoryモジュールに、パストラバーサルの脆弱性が見つかりました。テナント指定の値が検証されないため、別テナントのOAuthクライアントIDやクライアントシークレットなどの認証情報にアクセスされるおそれがあります。影響するのは0.50.0より前の版で、0.50.0以降の版に更新してください。CVSSは7.5です。
Original description The description as published by the source.
The agent_memory module accepts a caller-supplied tenant parameter in create_client(tenant=...). Prior to version 0.50.0, the tenant parameter was not validated before being used to construct filesystem paths for secret resolution. A value containing path traversal sequences (for example, attacker-corp/../victim-corp) could cause the resolved path to escape the intended directory and access another tenant's secrets under:Plain Text/etc/secrets/appfnd/hana-agent-memory//Successful exploitation could allow unauthorized access to another tenant's mounted credentials, including OAuth client IDs and client secrets. This vulnerability could enable cross-tenant access to sensitive credentials.
Source: CVE.org (CVE Program・cvelistV5) NVD
References
- web github.com
- web cna@sap.com
- web cna@sap.com