Lucene search

K
veracodeVeracode Vulnerability DatabaseVERACODE:45978
HistoryMar 22, 2024 - 11:44 a.m.

Missing Authorization Check

2024-03-2211:44:24
Veracode Vulnerability Database
sca.analysiscenter.veracode.com
9
djangorestframework_simplejwt
missing authorization check
for_user()
is_active field
authentication bypass

7.2 High

AI Score

Confidence

High

0.001 Low

EPSS

Percentile

50.8%

djangorestframework_simplejwt is vulnerable to Missing Authorization Check. The vulnerability is due to the for_user() function which fails to check if a user is active before generation. Django’s built in user model contains the is_active field which can be used to block a user from authenticating. If an application utilizes the is_active field to block access, a user can generate a valid JWT token even when their user contains is_active= false, resulting in authentication bypass.

7.2 High

AI Score

Confidence

High

0.001 Low

EPSS

Percentile

50.8%