Skip to content
OpenAdvisories
High GHSA-r2vw-jgq9-jqx2

Improper Authorization in @sap-cloud-sdk/core

Published Sep 3, 2020 · Updated Aug 31, 2020 · Assigned by GHSA

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 packages

EcosystemPackageAffectedFixedRecord
npm @sap-cloud-sdk/core >= 1.19.0, < 1.21.2 1.21.2 GHSA-r2vw-jgq9-jqx2

References