Improper Authorization Affecting @sap-cloud-sdk/core package, versions >=1.19.0 <1.21.2


Severity

Recommended
0.0
high
0
10

CVSS assessment made by Snyk's Security Team. Learn more

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-JS-SAPCLOUDSDKCORE-572711
  • published18 Jun 2020
  • disclosed17 Jun 2020
  • creditUnknown

Introduced: 17 Jun 2020

CVE NOT AVAILABLE CWE-287  (opens in a new tab)

How to fix?

Upgrade @sap-cloud-sdk/core to version 1.21.2 or higher.

Overview

@sap-cloud-sdk/core is a This package contains the core functionality of the SAP Cloud SDK as well as the Cloud Platform abstractions.

Affected versions of this package are vulnerable to Improper Authorization. The verifyJwt() function does not properly validate the URL from where the public verification key for the JWT can be downloaded. Any URL was trusted which makes it possible to provide a URL belonging to a manipulated JWT.

References

CVSS Scores

version 3.1