{"id":"CVE-2021-41251","aliases":["EUVD-2021-2349","GHSA-gp2f-254m-rh32"],"status":"published","title":"Possibility to elevate privileges or get unauthorized access to data","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).","severity":{"version":"3.1","score":5.9,"vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N","level":"medium","assessor":"cna","from":"cve"},"epss":{"day":"2026-11-11","score":0.01712,"percentile":0.7768,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":true},"cwes":["CWE-200"],"published":"2021-11-05T22:50:12Z","modified":"2026-10-20T10:54:05Z","fixes":[{"ecosystem":"npm","package":"@sap-cloud-sdk/core","fixed_in":["1.52.0"],"sources":["ghsa","osv"]}],"affected":[{"source":"ghsa","ecosystem":"npm","package":"@sap-cloud-sdk/core","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.52.0"}]}]},{"source":"osv","ecosystem":"npm","package":"@sap-cloud-sdk/core","ranges":[{"type":"SEMVER","events":[{"introduced":"0"},{"fixed":"1.52.0"}]}]}],"products":[{"vendor":"sap","product":"cloud-sdk-js"},{"vendor":"sap","product":"cloud_sdk"}],"references":[{"url":"https://github.com/SAP/cloud-sdk-js/security/advisories/GHSA-gp2f-254m-rh32","tags":["x_refsource_CONFIRM","x_transferred","Patch","Third Party Advisory","fix","web"]},{"url":"https://github.com/SAP/cloud-sdk-js/pull/1769","tags":["x_refsource_MISC","x_transferred","Exploit","Patch","Third Party Advisory","fix","web"]},{"url":"https://github.com/SAP/cloud-sdk-js/pull/1770","tags":["x_refsource_MISC","x_transferred","Patch","Third Party Advisory","fix","web"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2021-41251","tags":["advisory"]},{"url":"https://github.com/advisories/GHSA-gp2f-254m-rh32"},{"url":"https://github.com/SAP/cloud-sdk-js","tags":["package"]}],"sources":{"cve":[{"id":"CVE-2021-41251","title":"Possibility to elevate privileges or get unauthorized access to data","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).","status":"published","published":"2021-11-05T22:50:12Z","modified":"2024-08-04T03:08:31.645Z","cvss":[{"version":"3.1","score":5.9,"vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N","level":"medium","assessor":"cna"}],"cwes":["CWE-200"],"updated_at":"2026-11-02T14:32:59.105382Z"}],"euvd":[{"id":"EUVD-2021-2349","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).","status":"published","published":"2021-11-05T22:50:12Z","modified":"2024-08-04T03:08:31Z","cvss":[{"version":"3.1","score":5.9,"vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N","level":"medium"}],"updated_at":"2026-11-03T03:24:18.226903Z"}],"ghsa":[{"id":"GHSA-gp2f-254m-rh32","title":"Unauthorized access to data in @sap-cloud-sdk/core","description":"### Impact\nThis affects applications on SAP Business Technology Platform that use the SAP Cloud SDK and enabled caching of destinations.\nIn some cases, when user information was missing, destinations were cached without user information, allowing other users to retrieve the same destination with its permissions.\nBy default, destination caching is disabled. If it is enabled the maximum lifetime is 5 minutes which limits the attack vector.\n\n### Patches\nThe problem was fixed by #1769 and #1770. The security for caching has been increased. The changes are released in version 1.52.0.\n\n### Workarounds\nDisable destination caching (it is disabled by default).\n\n### References\n[destination cache API docs](https://sap.github.io/cloud-sdk/api/1.51.0/modules/sap_cloud_sdk_core#destinationCache)\n\n### For more information\nIf you have any questions or comments about this advisory:\n* Open an issue in https://github.com/SAP/cloud-sdk-js","status":"published","published":"2021-11-10T16:51:41Z","modified":"2023-02-01T05:06:15Z","cvss":[{"version":"3.1","score":5.9,"vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N","level":"medium"}],"cwes":["CWE-200"],"updated_at":"2026-11-02T14:36:38.281533Z"}],"nvd":[{"id":"CVE-2021-41251","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).","status":"published","published":"2021-11-05T23:15:08.85Z","modified":"2026-06-17T04:08:10.697Z","cvss":[{"version":"3.1","score":5.9,"vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N","level":"medium","assessor":"secondary"},{"version":"2.0","score":2.6,"vector":"AV:N/AC:H/Au:N/C:P/I:N/A:N","level":"low","assessor":"primary"}],"cwes":["CWE-200"],"updated_at":"2026-11-02T14:07:00.984108Z"}],"osv":[{"id":"CVE-2021-41251","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).","status":"published","published":"2021-11-05T23:15:08.85Z","modified":"2026-10-20T10:54:05.127598926Z","cvss":[{"version":"3.1","score":5.9,"vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N","level":"medium"}],"updated_at":"2026-11-02T15:44:21.557945Z"},{"id":"GHSA-gp2f-254m-rh32","title":"Unauthorized access to data in @sap-cloud-sdk/core","description":"### Impact\nThis affects applications on SAP Business Technology Platform that use the SAP Cloud SDK and enabled caching of destinations.\nIn some cases, when user information was missing, destinations were cached without user information, allowing other users to retrieve the same destination with its permissions.\nBy default, destination caching is disabled. If it is enabled the maximum lifetime is 5 minutes which limits the attack vector.\n\n### Patches\nThe problem was fixed by #1769 and #1770. The security for caching has been increased. The changes are released in version 1.52.0.\n\n### Workarounds\nDisable destination caching (it is disabled by default).\n\n### References\n[destination cache API docs](https://sap.github.io/cloud-sdk/api/1.51.0/modules/sap_cloud_sdk_core#destinationCache)\n\n### For more information\nIf you have any questions or comments about this advisory:\n* Open an issue in https://github.com/SAP/cloud-sdk-js","status":"published","published":"2021-11-10T16:51:41Z","modified":"2026-07-08T06:29:14.822154014Z","cvss":[{"version":"3.1","score":5.9,"vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N","level":"medium"}],"cwes":["CWE-200"],"updated_at":"2026-11-02T15:46:48.191583Z"}]}}
