CVE-2024-22513
Description
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.
Predictions
Heuristic predictions, AS-IS, for prioritization only.
Mitigations
No mitigations published for this CVE yet.
The vendor-content worker queues fetches as references arrive (check back in a few minutes). Or โ if you've already worked around this in production โ publish your fix to the community-verified tier.
โ Propose a mitigation on Community โ Mitigations published via the community go through AI scoring + 2 human reviewers + 7-day silent objection window before landing here withsource_tier=community-verified.
Exploits
Public proof-of-concept code below. AS-IS, for defenders and authorised testing only.
Exploit-DB
djangorestframework-simplejwt 5.3.1 - Information Disclosure
OS impact
Debian Affected 4 releases
| Version | Status | Fixed in |
|---|---|---|
| trixie | Affected | โ |
| sid | Affected | โ |
| forky | Affected | โ |
| bookworm | Affected | โ |
Package impact
| Ecosystem | Package | Vulnerable | Fixed |
|---|---|---|---|
| PyPI | djangorestframework-simplejwt | <5.5.1 | 5.5.1 |
References
- https://nvd.nist.gov/vuln/detail/CVE-2024-22513
- https://github.com/jazzband/djangorestframework-simplejwt/issues/779
- https://github.com/jazzband/djangorestframework-simplejwt/pull/872
- https://github.com/jazzband/djangorestframework-simplejwt/pull/873
- https://github.com/jazzband/djangorestframework-simplejwt/pull/891
- https://github.com/jazzband/djangorestframework-simplejwt/commit/14e8b2cf5fa0df954af82ff3926fa6d6c4ecf13e
- https://github.com/jazzband/djangorestframework-simplejwt/commit/1ad763bfe73936515aa4756263338c63866364c9
- https://github.com/jazzband/djangorestframework-simplejwt/commit/a2d0a0201b6123536ecf76cd4d0ec7389317d0a7
- https://github.com/dmdhrumilmistry/CVEs/tree/main/CVE-2024-22513
- https://github.com/jazzband/djangorestframework-simplejwt
- https://github.com/jazzband/djangorestframework-simplejwt/blob/c791e987332ed5e22a86428160d6372b1d85ffae/rest_framework_simplejwt/tokens.py#L281
- https://security-tracker.debian.org/tracker/CVE-2024-22513
Community-verified mitigations for this CVE will appear above when contributors publish them.
Verify integrity in audit chain (admin only). AS-IS.