DEBIAN-CVE-2024-21520

Source
https://security-tracker.debian.org/tracker/CVE-2024-21520
Import Source
https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2024-21520.json
JSON Data
https://api.osv.dev/v1/vulns/DEBIAN-CVE-2024-21520
Upstream
Published
2024-06-26T05:15:50Z
Modified
2026-09-15T09:02:59Z
Severity
  • 2.1 (Low) CVSS_V4 - CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:N/VI:L/VA:N/SC:L/SI:L/SA:N/E:P/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X CVSS Calculator
Summary
[none]
Details

Versions of the package djangorestframework before 3.15.2 are vulnerable to Cross-site Scripting (XSS) via the break_long_headers template filter due to improper input sanitization before splitting and joining with
tags.

References

Affected packages

Debian:12 / djangorestframework

Package

Name
djangorestframework
Purl
pkg:deb/debian/djangorestframework?arch=source&distro=bookworm

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0 Unknown introduced version / All previous versions are affected

Affected versions

3.*
3.14.0-2
3.14.0-2+deb12u1
3.15.1-1
3.15.1-2
3.15.2-1
3.15.2-2
3.16.0-1
3.16.1-1
3.16.1-3
3.16.1-4
3.17.1-1
3.17.1+ds1-1

Ecosystem specific

{
    "urgency": "not yet assigned"
}

Database specific

source
"https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2024-21520.json"

Debian:13 / djangorestframework

Package

Name
djangorestframework
Purl
pkg:deb/debian/djangorestframework?arch=source&distro=trixie

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0 Unknown introduced version / All previous versions are affected
Fixed
3.15.2-1

Ecosystem specific

{
    "urgency": "not yet assigned"
}

Database specific

source
"https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2024-21520.json"

Debian:14 / djangorestframework

Package

Name
djangorestframework
Purl
pkg:deb/debian/djangorestframework?arch=source&distro=forky

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0 Unknown introduced version / All previous versions are affected
Fixed
3.15.2-1

Ecosystem specific

{
    "urgency": "not yet assigned"
}

Database specific

source
"https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2024-21520.json"