CVE-2024-22513 json
Improper Privilege Management in djangorestframework-simplejwt
published 2024-03-16 2 y ago modified 2026-07-07 4 mo ago also GHSA-5vcc-86wm-547q , PYSEC-2026-1305 , EUVD-2024-0836
- cvss
- 5.5
- version 3.1, CNA
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 0.8%
- EPSS 0.8% chance of exploitation in 30 days, percentile 56%
- public exploits
- 1
- Exploit-DB
Summary
djangorestframework-simplejwt version 5.3.1 and before is vulnerable to information disclosure. A user can access web application resources even after their account has been disabled due to missing user validation checks via the for_user method.
Patch / fix
- pypi djangorestframework-simplejwt 5.5.1
- python-djangorestframework-simplejwt openSUSE Tumbleweed 5.5.1-1.1
opensuse advisories openSUSE-SU-2025:15699-1
- github.com/jazzband/djangorestframework-simplejwt@14e8b2c commit
- github.com/jazzband/djangorestframework-simplejwt@1ad763b commit
- github.com/jazzband/djangorestframework-simplejwt@a2d0a02 commit
- github.com/jazzband/djangorestframework-simplejwt#872 pull request
- github.com/jazzband/djangorestframework-simplejwt#873 pull request
- github.com/jazzband/djangorestframework-simplejwt#891 pull request
Vendor advisories
What the vendors themselves say about their products: affected, fixed or not affected, and what to do.
red hat product security vex CVE-2024-22513 updated cvss 5.5
djangorestframework-simplejwt: information disclosure vulnerability
-
Red Hat Ansible Automation Platform 2 python-djangorestframework-simplejwt, python3x-djangorestframework-simplejwtaffected: no fix available, no fix planned “Will not fix”
Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf
Timeline
- Published
- First public exploit (EDB-51992)
CISA SSVC
- Exploitation
- none
- Automatable
- no
- Technical impact
- partial
- Assessed
- 2 y ago
Exploit prediction
0.80% chance of exploitation in the next 30 days, higher than 56% of all scored CVEs (FIRST EPSS, 2026-11-08).
Exploits and checks
- EDB-51992 djangorestframework-simplejwt 5.3.1 - Information Disclosure webapps, 2024-04-15
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| CISA ADP | 3.1 | 5.5 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N |
| CNA | 3.1 | 5.5 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| pypi | djangorestframework-simplejwt | <5.5.1 |
5.5.1 |
Classification
References
-
github.com
/jazzband/djangorestframework-simplejwt/pull/872
web
-
github.com
/jazzband/djangorestframework-simplejwt/pull/873
web
-
github.com
/jazzband/djangorestframework-simplejwt/pull/891
web
-
github.com
/jazzband/djangorestframework-simplejwt/commit/14e8b2cf5fa0df954af82ff3926fa6d6c4ecf13e
web
-
github.com
/jazzband/djangorestframework-simplejwt/commit/1ad763bfe73936515aa4756263338c63866364c9
web
-
github.com
/jazzband/djangorestframework-simplejwt/commit/a2d0a0201b6123536ecf76cd4d0ec7389317d0a7
web
-
github.com
/dmdhrumilmistry/CVEs/tree/main/CVE-2024-22513
web
-
nvd.nist.gov
/vuln/detail/CVE-2024-22513
advisory
-
github.com
/jazzband/djangorestframework-simplejwt/issues/779
web
-
github.com
/jazzband/djangorestframework-simplejwt
package
-
github.com
/jazzband/djangorestframework-simplejwt/blob/c791e987332ed5e22a86428160d6372b1d85ffae/rest_framework_simplejwt
web
-
pypi.org
/project/djangorestframework-simplejwt
package
-
github.com
/advisories/GHSA-5vcc-86wm-547q
advisory
Sources
- CVE List CVE-2024-22513
- GitHub Advisory GHSA-5vcc-86wm-547q
- NVD CVE-2024-22513
- OSV PYSEC-2026-1305
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.