Advisory

GHSA-gp2f-254m-rh32

Also known as: CVE-2021-41251

Summary

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

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

For more information
If you have any questions or comments about this advisory:

  • Open an issue in https://github.com/SAP/cloud-sdk-js

Severity

Medium Basis: The source's own band: MODERATE

Dates

Published
2021-11-10 16:51 UTC
Modified
2026-07-08 06:29 UTC

Affected packages and fixes

@sap-cloud-sdk/core

npm · All systems

Affected

  • introduced 0, fixed 1.52.0 (semver)

Fixed versions

1.52.0

Fix

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

View this record on OSV.dev

Source

Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0

Sources & licences