Loading HuntDB...

GHSA-gp2f-254m-rh32

GitHub Security Advisory

Unauthorized access to data in @sap-cloud-sdk/core

✓ GitHub Reviewed MODERATE Has CVE

Advisory Details

### 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](https://sap.github.io/cloud-sdk/api/1.51.0/modules/sap_cloud_sdk_core#destinationCache)

### For more information
If you have any questions or comments about this advisory:
* Open an issue in https://github.com/SAP/cloud-sdk-js

Affected Packages

npm @sap-cloud-sdk/core
Affected versions: 0 (fixed in 1.52.0)

Related CVEs

Key Information

GHSA ID
GHSA-gp2f-254m-rh32
Published
November 10, 2021 4:51 PM
Last Modified
November 8, 2021 9:31 PM
CVSS Score
5.0 /10
Primary Ecosystem
npm
Primary Package
@sap-cloud-sdk/core
GitHub Reviewed
✓ Yes

Dataset

Last updated: June 18, 2025 6:25 AM

Data from GitHub Advisory Database. This information is provided for research and educational purposes.