Ecosyste.ms: Advisories
An open API service providing security vulnerability metadata for many open source software ecosystems.
Security Advisories: GSA_kwCzR0hTQS1ncDJmLTI1NG0tcmgzMs0W9A
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
For more information
If you have any questions or comments about this advisory:
- Open an issue in https://github.com/SAP/cloud-sdk-js
JSON: https://advisories.ecosyste.ms/api/v1/advisories/GSA_kwCzR0hTQS1ncDJmLTI1NG0tcmgzMs0W9A
Source: GitHub Advisory Database
Origin: Unspecified
Severity: Moderate
Classification: General
Published: over 2 years ago
Updated: over 1 year ago
CVSS Score: 5.9
CVSS vector: CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N
Identifiers: GHSA-gp2f-254m-rh32, CVE-2021-41251
References:
- https://github.com/SAP/cloud-sdk-js/security/advisories/GHSA-gp2f-254m-rh32
- https://nvd.nist.gov/vuln/detail/CVE-2021-41251
- https://github.com/SAP/cloud-sdk-js/pull/1769
- https://github.com/SAP/cloud-sdk-js/pull/1770
- https://github.com/advisories/GHSA-gp2f-254m-rh32
Blast Radius: 15.0
Affected Packages
npm:@sap-cloud-sdk/core
Dependent packages: 586Dependent repositories: 355
Downloads: 27,435 last month
Affected Version Ranges: < 1.52.0
Fixed in: 1.52.0
All affected versions: 1.18.0, 1.18.1, 1.19.0, 1.20.0, 1.20.1, 1.21.0, 1.21.1, 1.21.2, 1.22.0, 1.23.0, 1.24.0, 1.24.1, 1.25.0, 1.26.0, 1.26.1, 1.27.0, 1.28.0, 1.28.1, 1.28.2, 1.29.0, 1.30.0, 1.31.0, 1.32.0, 1.32.1, 1.33.0, 1.34.0, 1.35.0, 1.36.0, 1.36.1, 1.37.0, 1.37.1, 1.38.0, 1.39.0, 1.40.0, 1.41.0, 1.42.0, 1.43.0, 1.44.0, 1.45.0, 1.46.0, 1.47.0, 1.47.1, 1.48.0, 1.48.1, 1.49.0, 1.50.0, 1.51.0
All unaffected versions: 1.52.0, 1.53.0, 1.53.1, 1.54.0, 1.54.1, 1.54.2