Advisory Database
  • Advisories
  • Dependency Scanning
  1. pypi
  2. ›
  3. drf-jwt
  4. ›
  5. CVE-2020-10594

CVE-2020-10594: Django Rest Framework jwt allows obtaining new token from notionally invalidated token

June 5, 2020 (updated September 20, 2024)

An issue was discovered in drf-jwt It allows attackers with access to a notionally invalidated token to obtain a new, working token via the refresh endpoint, because the block list protection mechanism is incompatible with the token-refresh feature. NOTE: drf-jwt is a fork of jpadilla/django-rest-framework-jwt, which is unmaintained.

References

  • github.com/Styria-Digital/django-rest-framework-jwt
  • github.com/Styria-Digital/django-rest-framework-jwt/commit/868b5c22ddad59772b447080183e7c7101bb18e0
  • github.com/Styria-Digital/django-rest-framework-jwt/issues/36
  • github.com/advisories/GHSA-fpjm-rp2g-3r4c
  • github.com/jpadilla/django-rest-framework-jwt/issues/484
  • github.com/pypa/advisory-database/tree/main/vulns/drf-jwt/PYSEC-2020-40.yaml
  • nvd.nist.gov/vuln/detail/CVE-2020-10594
  • pypi.org/project/drf-jwt/1.15.1/

Code Behaviors & Features

Detect and mitigate CVE-2020-10594 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.15.0 before 1.15.1

Fixed versions

  • 1.15.1

Solution

Upgrade to version 1.15.1 or above.

Impact 9.1 CRITICAL

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N

Learn more about CVSS

Weakness

  • CWE-287: Improper Authentication

Source file

pypi/drf-jwt/CVE-2020-10594.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:20 +0000.