Skip to content
Fencer Intel
high —

GHSA-r2vw-jgq9-jqx2 json

Improper Authorization in @sap-cloud-sdk/core

published 6y ago modified 6y ago

cvss
—
not scored
cisa kev
Not listed
not in CISA's catalog
epss
—
no score, EPSS covers CVEs only
public exploits
0
none known

Summary

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.

Patch / fix

  • npm @sap-cloud-sdk/core 1.21.2

Is GHSA-r2vw-jgq9-jqx2 in your dependencies? Fencer shows which of your repositories are affected as soon as an advisory lands, and opens the fix as a pull request.

Check with Fencer

Affected packages

ecosystem package affected fixed in
npm @sap-cloud-sdk/core
>=1.19.0, <1.21.2
1.21.2

Classification

Weakness

References

Sources

Fencer Intel keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.