PyPi: Drf-Jwt

CVE-2020-10594

Safety vulnerability ID: 38073

This vulnerability was reviewed by experts

The information on this page was manually curated by our Cybersecurity Intelligence Team.

Created at Mar 15, 2020 Updated at Dec 05, 2024
Scan your Python projects for vulnerabilities →

Advisory

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

Affected package

drf-jwt

Latest version: 1.19.2

JSON Web Token based authentication for Django REST framework

Affected versions

Fixed versions

Vulnerability changelog

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


MISC:https://github.com/Styria-Digital/django-rest-framework-jwt/issues/36: https://github.com/Styria-Digital/django-rest-framework-jwt/issues/36
MISC:https://github.com/jpadilla/django-rest-framework-jwt/issues/484: https://github.com/jpadilla/django-rest-framework-jwt/issues/484
MISC:https://pypi.org/project/drf-jwt/1.15.1/#history: https://pypi.org/project/drf-jwt/1.15.1/#history

Resources

Use this package?

Scan your Python project for dependency vulnerabilities in two minutes

Scan your application

Severity Details

CVSS Base Score

CRITICAL 9.1

CVSS v3 Details

CRITICAL 9.1
Attack Vector (AV)
NETWORK
Attack Complexity (AC)
LOW
Privileges Required (PR)
NONE
User Interaction (UI)
NONE
Scope (S)
UNCHANGED
Confidentiality Impact (C)
HIGH
Integrity Impact (I)
HIGH
Availability Availability (A)
NONE

CVSS v2 Details

MEDIUM 5.8
Access Vector (AV)
NETWORK
Access Complexity (AC)
MEDIUM
Authentication (Au)
NONE
Confidentiality Impact (C)
PARTIAL
Integrity Impact (I)
PARTIAL
Availability Impact (A)
NONE