Improper Authorization Affecting @sap-cloud-sdk/core package, versions >=1.19.0 <1.21.2
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 ID SNYK-JS-SAPCLOUDSDKCORE-572711
- published 18 Jun 2020
- disclosed 17 Jun 2020
- credit Unknown
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