GHSA-r2vw-jgq9-jqx2
JSON

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 packageVersionsReported by
@sap-cloud-sdk/core (npm)from 1.19.0 before 1.21.2GitHub Advisory Database

Classification

References

Sources

SourceRecordLicence
GitHub Advisory DatabaseGHSA-r2vw-jgq9-jqx2 changed 2020-08-31CC-BY-4.0