Advisory Database
  • Advisories
  • Dependency Scanning
  1. npm
  2. ›
  3. @sap-cloud-sdk/core
  4. ›
  5. GMS-2020-37

GMS-2020-37: Improper Authorization in @sap-cloud-sdk/core

September 3, 2020 (updated October 4, 2021)

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. Upgrade to or later.

References

  • github.com/advisories/GHSA-r2vw-jgq9-jqx2
  • www.npmjs.com/advisories/1540

Code Behaviors & Features

Detect and mitigate GMS-2020-37 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions starting from 1.19.0 before 1.21.2

Fixed versions

  • 1.21.2

Solution

Upgrade to version 1.21.2 or above.

Source file

npm/@sap-cloud-sdk/core/GMS-2020-37.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Wed, 14 May 2025 12:14:55 +0000.