@sap-cloud-sdk/core
Affected
- introduced
0, fixed1.52.0(semver)
Fixed versions
1.52.0
Fix
- Fixed version
1.52.0npm install @sap-cloud-sdk/[email protected]
Advisory
Also known as: CVE-2021-41251
Unauthorized access to data in @sap-cloud-sdk/core
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:
Medium Basis: The source's own band: MODERATE
0, fixed 1.52.0 (semver)1.52.0
1.52.0npm install @sap-cloud-sdk/[email protected]Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.
Check your own computer: guard packages check
Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0