# GHSA-r2vw-jgq9-jqx2: Improper Authorization in @sap-cloud-sdk/core

- Severity: High (rating, scored by GitHub)
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Published: 2020-09-03T15:54:11.000Z
- Modified: 2020-08-31T19:02:48.000Z
- Weaknesses: CWE-285

## 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.

(As written by GitHub Advisory Database.)

## Affected

- @sap-cloud-sdk/core (npm): from 1.19.0 before 1.21.2

## References

- <https://www.npmjs.com/advisories/1540> (web)

## Sources

- GitHub Advisory Database: [GHSA-r2vw-jgq9-jqx2](https://github.com/advisories/GHSA-r2vw-jgq9-jqx2), CC-BY-4.0, modified 2020-08-31

---

Page: https://cve.day/GHSA-r2vw-jgq9-jqx2 · Whole record: https://cve.day/GHSA-r2vw-jgq9-jqx2.json · Rebuilt by cve.day 2026-11-25T22:56:46.378Z
