What’s Vulnerable › Vulnerabilities
CVE-2021-41251: Possibility to elevate privileges or get unauthorized access to data
- Severity: low (CVSS 2.6 v2.0)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 1.7% probability of exploitation in the next 30 days
- Public exploit or detection template: yes
- Published: 2021-11-05 · updated 2026-06-17
- Weakness: CWE-200
Description
@sap-cloud-sdk/core contains the core functionality of the SAP Cloud SDK as well as the SAP Business Technology Platform abstractions. This affects applications on SAP Business Technology Platform that use the SAP Cloud SDK and enabled caching of destinations. In affected versions and in some cases, when user information was missing, destinations were cached without user information, allowing other users to retrieve the same destination with its permissions. By default, destination caching is disabled. The security for caching has been increased. The changes are released in version 1.52.0. Users unable to upgrade are advised to disable destination caching (it is disabled by default).
Affected products
- SAP cloud-sdk-js: before 1.52.0 — fixed in 1.52.0
How to fix
Upgrade to a fixed version: SAP cloud-sdk-js 1.52.0. Check the vendor advisory for mitigations.
References
- https://github.com/SAP/cloud-sdk-js/pull/1769
- https://github.com/SAP/cloud-sdk-js/pull/1770
- https://github.com/SAP/cloud-sdk-js/security/advisories/GHSA-gp2f-254m-rh32
- https://github.com/SAP/cloud-sdk-js/pull/1769
- https://github.com/SAP/cloud-sdk-js/pull/1770
- https://github.com/SAP/cloud-sdk-js/security/advisories/GHSA-gp2f-254m-rh32
Get alerted when CVE-2021-41251 or the next vulnerability affects your stack