Improper Authorization in @sap-cloud-sdk/core
High severity
GitHub Reviewed
Published
Sep 3, 2020
to the GitHub Advisory Database
•
Updated Jan 9, 2023
Description
Reviewed
Aug 31, 2020
Published to the GitHub Advisory Database
Sep 3, 2020
Last updated
Jan 9, 2023
Affected versions of
@sap-cloud-sdk/core
do not properly validate JWTs. TheverifyJwt()
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