Skip to content

Possibility to elevate privileges or get unauthorized access to data

Moderate
marikaner published GHSA-gp2f-254m-rh32 Nov 5, 2021

Package

npm @sap-cloud-sdk/core (npm)

Affected versions

< 1.52.0

Patched versions

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:

Severity

Moderate

CVE ID

CVE-2021-41251

Weaknesses

No CWEs

Credits