Vulnerability · Published Nov 5, 2021 · Assigned by GitHub_M
CVE-2021-41251Possibility to elevate privileges or get unauthorized access to data
Medium 5.9
In plain English
A medium-severity information exposure in cloud-sdk-js from SAP. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 1.7% (higher than 77% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
Official description
@sap-cloud-sdk/core contains the core functionality of the SAP Cloud SDK as well as the SAP Business Technology Platform abstractions. This affects applications on SAP Business Technology Platform that use the SAP Cloud SDK and enabled caching of destinations. In affected versions and 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. The security for caching has been increased. The changes are released in version 1.52.0. Users unable to upgrade are advised to disable destination caching (it is disabled by default).
Affected packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| npm | @sap-cloud-sdk/core | 1.52.0 | GHSA-gp2f-254m-rh32 |
Affected products (as reported)
| Vendor | Product | Versions |
|---|---|---|
| SAP | cloud-sdk-js | < 1.52.0 |
Weakness: CWE-200 · Vector: CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N
References
- https://github.com/SAP/cloud-sdk-js/security/advisories/GHSA-gp2f-254m-rh32 x_refsource_CONFIRM
- https://github.com/SAP/cloud-sdk-js/pull/1769 x_refsource_MISC
- https://github.com/SAP/cloud-sdk-js/pull/1770 x_refsource_MISC