Advisory

GHSA-r2vw-jgq9-jqx2

Also known as: None

Summary

Improper Authorization in @sap-cloud-sdk/core

Details

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.

Severity

High Basis: The source's own band: HIGH

Dates

Published
2020-09-03 15:54 UTC
Modified
2020-08-31 19:02 UTC

Affected packages and fixes

@sap-cloud-sdk/core

npm · All systems

Affected

  • introduced 1.19.0, fixed 1.21.2 (semver)

Fixed versions

1.21.2

Fix

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0

Sources & licences