GitHub Advisoryadvisory · npm
GHSA-gp2f-254m-rh32 Unauthorized access to data in @sap-cloud-sdk/core
MEDIUM
Official page ↗
- Aliases
- CVE-2021-41251
- Ecosystem
- npm
- Packages
- @sap-cloud-sdk/core
- Severity
- Moderate
- CVSS vector
- CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N
- Weaknesses
- CWE-200
- Reviewed
- 2021-11-08
Affected packages
• npm @sap-cloud-sdk/core: < 1.52.0 → fixed in 1.52.0
Description
Impact
This affects applications on SAP Business Technology Platform that use the SAP Cloud SDK and enabled caching of destinations.
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. If it is enabled the maximum lifetime is 5 minutes which limits the attack vector.
Patches
The problem was fixed by #1769 and #1770. The security for caching has been increased. The changes are released in version 1.52.0.
Workarounds
Disable destination caching (it is disabled by default).
References
destination cache API docs
For more information
If you have any questions or comments about this advisory:
• Open an issue in https://github.com/SAP/cloud-sdk-js
Related
Alias · CVE (1)
- CVE-2021-41251 @sap-cloud-sdk/core contains the core functionality of the SAP Cloud SDK as well as the SAP Business Technology Platform abstractions. vulnerability
Weakness · CWE (1)
- CWE-200 Exposure of Sensitive Information to an Unauthorized Actor weakness