CVE-2020-10594
Styria Django-rest-framework-json Web Tokens vulnerability
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.
High priority: this vulnerability is rated critical and can be attacked over the network without a login.
Affected products
Django-rest-framework-json Web Tokens. The exact versions are in the references.
What to do now
- Check your exposureFind out whether Styria Django-rest-framework-json Web Tokens runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Limit access until thenIf you cannot update at once, take the system off the internet or restrict who can reach it.
References
- github.com/Styria-Digital/django-rest-framework-jwt/issues/36 · Third Party Advisory
- github.com/jpadilla/django-rest-framework-jwt/issues/484 · Third Party Advisory
- pypi.org/project/drf-jwt/1.15.1/#history · Third Party Advisory
- nvd.nist.gov/vuln/detail/CVE-2020-10594
- github.com/Styria-Digital/django-rest-framework-jwt/commit/868b5c22ddad59772b447080183e7c7
- github.com/advisories/GHSA-fpjm-rp2g-3r4c
- github.com/pypa/advisory-database/tree/main/vulns/drf-jwt/PYSEC-2020-40.yaml
- nvd.nist.gov/vuln/detail/CVE-2020-10594
- cve.org/CVERecord?id=CVE-2020-10594
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.