{"id":"GHSA-r2vw-jgq9-jqx2","aliases":["GHSA-r2vw-jgq9-jqx2"],"related":[],"kind":"vulnerability","state":"published","title":"Improper Authorization in @sap-cloud-sdk/core","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.\n\n\n## Recommendation\n\nUpgrade to version 1.21.2 or later.","summaryFormat":"markdown","summarySource":"ghsa","descriptions":[{"lang":"en","text":"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.\n\n\n## Recommendation\n\nUpgrade to version 1.21.2 or later.","format":"markdown","source":"ghsa"}],"published":"2020-09-03T15:54:11.000Z","modified":"2020-08-31T19:02:48.000Z","severity":{"scorer":"GitHub","scheme":"rating","rating":"HIGH"},"severities":[{"scorer":"GitHub","scheme":"rating","rating":"HIGH"}],"cwes":["CWE-285"],"affected":[{"ranges":[{"type":"semver","introduced":"1.19.0","status":"affected","fixed":"1.21.2"}],"ecosystem":"npm","package":"@sap-cloud-sdk/core","purl":"pkg:npm/%40sap-cloud-sdk/core","source":"ghsa"}],"references":[{"url":"https://www.npmjs.com/advisories/1540","tags":["web"],"sources":["ghsa"]}],"credits":[],"sources":[{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-r2vw-jgq9-jqx2","url":"https://github.com/advisories/GHSA-r2vw-jgq9-jqx2","licence":"CC-BY-4.0","modified":"2020-08-31T19:02:48.000Z"}],"updatedAt":"2026-11-25T22:56:46.378Z"}