GitHub Advisoryadvisory · PyPI
GHSA-5vcc-86wm-547q Improper Privilege Management in djangorestframework-simplejwt
LOW
Official page ↗
- Aliases
- CVE-2024-22513
- Ecosystem
- PyPI
- Packages
- djangorestframework-simplejwt
- Severity
- Low
- Weaknesses
- CWE-269
- Reviewed
- 2024-03-18
Affected packages
• PyPI djangorestframework-simplejwt: < 5.5.1 → fixed in 5.5.1
Description
djangorestframework-simplejwt before version 5.5.1 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.
Related
Alias · CVE (1)
- CVE-2024-22513 djangorestframework-simplejwt version 5.3.1 and before is vulnerable to information disclosure. vulnerability
Weakness · CWE (1)
- CWE-269 Improper Privilege Management weakness
References
- https://nvd.nist.gov/vuln/detail/CVE-2024-22513 advisory
- https://github.com/jazzband/djangorestframework-simplejwt/issues/779 web
- https://github.com/jazzband/djangorestframework-simplejwt/pull/872 web
- https://github.com/jazzband/djangorestframework-simplejwt/pull/873 web
- https://github.com/jazzband/djangorestframework-simplejwt/pull/891 web
- https://github.com/jazzband/djangorestframework-simplejwt/commit/14e8b2cf5fa0df954af82ff3926fa6d6c4ecf13e web
- https://github.com/jazzband/djangorestframework-simplejwt/commit/1ad763bfe73936515aa4756263338c63866364c9 web
- https://github.com/jazzband/djangorestframework-simplejwt/commit/a2d0a0201b6123536ecf76cd4d0ec7389317d0a7 web
- https://github.com/dmdhrumilmistry/CVEs/tree/main/CVE-2024-22513 web
- https://github.com/jazzband/djangorestframework-simplejwt package
- https://github.com/jazzband/djangorestframework-simplejwt/blob/c791e987332ed5e22a86428160d6372b1d85ffae/rest_framework_simplejwt/tokens.py#L281 web