CVE-2024-21520
medium
CVSS v3
6.1
CVSS v2
—
VIR risk
6.1
Description
Cross-site Scripting in djangorestframework
Predictions
Exploit likelihood
71%
Patch ETA
—
Heuristic predictions, AS-IS, for prioritization only.
Mitigations
Vendor advisory: suse — https://www.suse.com/security/cve/CVE-2024-21520.html
Vendor advisory: debian — https://security-tracker.debian.org/tracker/CVE-2024-21520
OS impact
| OS | Version | Status | Fixed in |
|---|---|---|---|
| debian | bookworm | affected | |
| debian | bullseye | affected | |
| debian | forky | fixed | 3.15.2-1 |
| debian | sid | fixed | 3.15.2-1 |
| debian | trixie | fixed | 3.15.2-1 |
| sles | affected | |
Package impact
| Ecosystem | Package | Vulnerable | Fixed |
|---|---|---|---|
| PyPI | djangorestframework | <3.15.2 | 3.15.2 |
References
- https://github.com/encode/django-rest-framework/commit/3b41f0124194430da957b119712978fa2266b642
- https://github.com/encode/django-rest-framework/pull/9435
- https://security.snyk.io/vuln/SNYK-PYTHON-DJANGORESTFRAMEWORK-7252137
- https://github.com/encode/django-rest-framework/compare/3.15.1...3.15.2
- https://nvd.nist.gov/vuln/detail/CVE-2024-21520
- https://github.com/encode/django-rest-framework
- https://security-tracker.debian.org/tracker/CVE-2024-21520
- https://www.suse.com/security/cve/CVE-2024-21520.html
CWEs
CWE-79
Verify integrity in audit chain (admin only). AS-IS.