CVE-2020-10594 Django Rest Framework jwt allows obtaining new token from notionally invalidated token
CriticalCVSS 9.1
EPSS 1.6%
- Published
- Updated
- Exploit status
- No public exploit known
Description
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.
Upgrade path
2 packages: 2 fixed.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| pypi drf-jwt(PyPI) | = 1.15.0; >= 1.15.0, < 1.15.1 | 1.15.1 | Fixed |
| styria django-rest-framework-json web tokens | >= 1.15.0, < 1.15.1 | 1.15.1 | Fixed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| pypi drf-jwt(PyPI) | >= 1.15.0, < 1.15.1 | 1.15.1 |
| pypi drf-jwt(PyPI) | = 1.15.0 | No fix listed |
| styria django-rest-framework-json web tokens | >= 1.15.0, < 1.15.1 | 1.15.1 |
References
- nvd.nist.gov third-party-advisory vendor-advisory
- github.com issue-tracking third-party-advisory
- github.com issue-tracking third-party-advisory
- github.com patch
- github.com product
- github.com vendor-advisory
- github.com
- pypi.org product release-notes third-party-advisory