{"id":"GHSA-fpjm-rp2g-3r4c","summary":"Django Rest Framework jwt allows obtaining new token from notionally invalidated token","details":"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.","aliases":["CVE-2020-10594","PYSEC-2020-40"],"modified":"2025-02-21T05:31:08.496314Z","published":"2020-06-05T16:09:34Z","database_specific":{"nvd_published_at":"2020-03-15T22:15:00Z","cwe_ids":["CWE-287"],"severity":"CRITICAL","github_reviewed":true,"github_reviewed_at":"2020-06-04T18:38:20Z"},"references":[{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2020-10594"},{"type":"WEB","url":"https://github.com/Styria-Digital/django-rest-framework-jwt/issues/36"},{"type":"WEB","url":"https://github.com/jpadilla/django-rest-framework-jwt/issues/484"},{"type":"WEB","url":"https://github.com/Styria-Digital/django-rest-framework-jwt/commit/868b5c22ddad59772b447080183e7c7101bb18e0"},{"type":"PACKAGE","url":"https://github.com/Styria-Digital/django-rest-framework-jwt"},{"type":"ADVISORY","url":"https://github.com/advisories/GHSA-fpjm-rp2g-3r4c"},{"type":"WEB","url":"https://github.com/pypa/advisory-database/tree/main/vulns/drf-jwt/PYSEC-2020-40.yaml"},{"type":"WEB","url":"https://pypi.org/project/drf-jwt/1.15.1/#history"}],"affected":[{"package":{"name":"drf-jwt","ecosystem":"PyPI","purl":"pkg:pypi/drf-jwt"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"1.15.0"},{"fixed":"1.15.1"}]}],"versions":["1.15.0"],"database_specific":{"source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2020/06/GHSA-fpjm-rp2g-3r4c/GHSA-fpjm-rp2g-3r4c.json"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N"},{"type":"CVSS_V4","score":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:N/SC:N/SI:N/SA:N"}]}