Skip to content

Improper Authorization in @sap-cloud-sdk/core

High severity GitHub Reviewed Published Sep 3, 2020 to the GitHub Advisory Database • Updated Jan 9, 2023

Package

npm @sap-cloud-sdk/core (npm)

Affected versions

>= 1.19.0, < 1.21.2

Patched versions

1.21.2

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.

References

Reviewed Aug 31, 2020
Published to the GitHub Advisory Database Sep 3, 2020
Last updated Jan 9, 2023

Severity

High

Weaknesses

CVE ID

No known CVE

GHSA ID

GHSA-r2vw-jgq9-jqx2

Source code

No known source code
Loading Checking history
See something to contribute? Suggest improvements for this vulnerability.