GHSA-r2vw-jgq9-jqx2
high
Improper Authorization in @sap-cloud-sdk/core
- Severity
- high rating by GitHub
- Published
- Last changed
Description
Affected versions of @sap-cloud-sdk/core do not properly validate JWTs. 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.
Recommendation
Upgrade to version 1.21.2 or later.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| @sap-cloud-sdk/core (npm) | from 1.19.0 before 1.21.2 | GitHub Advisory Database |
Classification
References
Sources
| Source | Record | Licence |
|---|---|---|
| GitHub Advisory Database | GHSA-r2vw-jgq9-jqx2 changed 2020-08-31 | CC-BY-4.0 |