CVE-2021-41251
JavaScript vulnerability analysis and mitigation

Overview

CVE-2021-41251 affects the @sap-cloud-sdk/core package, which contains core functionality of the SAP Cloud SDK and SAP Business Technology Platform abstractions. The vulnerability was discovered in versions prior to 1.52.0, where applications using the SAP Cloud SDK with enabled destination caching could be affected. The issue was disclosed and patched on November 5, 2021 (GitHub Advisory).

Technical details

The vulnerability occurs when user information is missing during destination caching operations. In such cases, destinations were cached without user information, which could allow other users to retrieve the same destination along with its associated permissions. The vulnerability has been assigned a CVSS v3.1 base score of 5.9 (MEDIUM) with vector string CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N (NVD).

Impact

The vulnerability could lead to unauthorized access to data and potential privilege escalation. When exploited, other users could access destinations with permissions that should have been restricted. However, the impact is limited by the fact that destination caching is disabled by default, and when enabled, has a maximum lifetime of 5 minutes (GitHub Advisory).

Mitigation and workarounds

The vulnerability has been patched in version 1.52.0 of @sap-cloud-sdk/core. Users are advised to upgrade to this version or later. For those unable to upgrade immediately, the recommended workaround is to disable destination caching, which is already the default setting (GitHub Advisory).

Additional resources


SourceThis report was generated using AI

Related JavaScript vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2025-59834CRITICAL9.8
  • JavaScriptJavaScript
  • adb-mcp
NoNoSep 25, 2025
CVE-2020-36851CRITICAL9.5
  • JavaScriptJavaScript
  • cors-anywhere
NoNoSep 25, 2025
CVE-2025-59936CRITICAL9.4
  • JavaScriptJavaScript
  • get-jwks
NoYesSep 27, 2025
CVE-2025-59831HIGH8.7
  • JavaScriptJavaScript
  • git-commiters
NoYesSep 25, 2025
CVE-2025-59845HIGH8.2
  • JavaScriptJavaScript
  • @apollo/sandbox
NoYesSep 26, 2025

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management