Advisory Database
  • Advisories
  • Dependency Scanning
  1. pypi
  2. ›
  3. PyJWT
  4. ›
  5. GMS-2015-6

GMS-2015-6: JWT Verification bypass

March 31, 2015

It is possible for an attacker to bypass verification when “a token digitally signed with an asymetric key (RS/ES family) of algorithms but instead the attacker send a token digitally signed with a symmetric algorithm (HS* family)”. It is also possible for an attacker to create his own signed token with any payload he wants and have it considered valid using the “none” algorithm.

References

  • auth0.com/blog/critical-vulnerabilities-in-json-web-token-libraries/
  • github.com/jpadilla/pyjwt/commit/88a9fc56bdc6c870aa6af93bda401414a217db2a

Code Behaviors & Features

Detect and mitigate GMS-2015-6 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 before 1.0.0

Fixed versions

  • 1.0.0

Solution

Update to 1.0.0 or above

Source file

pypi/PyJWT/GMS-2015-6.yml

Spotted a mistake? Edit the file on GitLab.

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

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