GHSA-fpjm-rp2g-3r4c

Suggest an improvement
Source
https://github.com/advisories/GHSA-fpjm-rp2g-3r4c
Import Source
https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2020/06/GHSA-fpjm-rp2g-3r4c/GHSA-fpjm-rp2g-3r4c.json
JSON Data
https://api.test.osv.dev/v1/vulns/GHSA-fpjm-rp2g-3r4c
Aliases
Published
2020-06-05T16:09:34Z
Modified
2024-09-20T17:09:18.057184Z
Severity
  • 9.1 (Critical) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N CVSS Calculator
  • 9.3 (Critical) CVSS_V4 - 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 CVSS Calculator
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.

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

Affected packages

PyPI / drf-jwt

Package

Affected ranges

Type
ECOSYSTEM
Events
Introduced
1.15.0
Fixed
1.15.1

Affected versions

1.*

1.15.0

Ecosystem specific

{
    "affected_functions": [
        "rest_framework_jwt.utils.check_payload"
    ]
}