CVE-2025-15282
Vulnerability Summary
Timeline
Description
User-controlled data URLs parsed by urllib.request.DataHandler allow injecting headers through newlines in the data URL mediatype.
CVSS Metrics
- v4.0•MEDIUM•Score: 6CVSS:4.0/AV:N/AC:L/AT:P/PR:L/UI:N/VC:N/VI:H/VA:N/SC:N/SI:L/SA:N
- v4.0•MEDIUM•Score: 6CVSS:4.0/AV:N/AC:L/AT:P/PR:L/UI:N/VC:N/VI:H/VA:N/SC:N/SI:L/SA:N/E:X/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
EPSS Trends
Current EPSS score: 0.55%• Percentile: 45%
Techniques & Countermeasures
- CWE-93•Improper Neutralization of CRLF Sequences ('CRLF Injection')
The product uses CRLF (carriage return line feeds) as a special element, e.g. to separate lines or records, but it does not neutralize or incorrectly neutralizes CRLF sequences from inputs.
Affected Systems
- chainguard•python-3.10
< 3.10.19-r4
- chainguard•python-3.11
< 3.11.14-r5
- chainguard•python-3.12
< 3.12.12-r5
- chainguard•python-3.13
< 3.13.12-r1
- chainguard•python-3.14
< 3.14.3-r1
- chainguard•python-3.9
all
- wolfi•python-3.10
< 3.10.19-r4
- wolfi•python-3.11
< 3.11.14-r5
- wolfi•python-3.12
< 3.12.12-r5
- wolfi•python-3.13
< 3.13.12-r1
- wolfi•python-3.14
< 3.14.3-r1
- debian•pypy3
all | all | all | < 7.3.21+dfsg-1
- debian•python3.11
< 3.11.2-6+deb12u7
- debian•python3.13
< 3.13.5-2+deb13u1 | < 3.13.12-1
- debian•python3.14
< 3.14.3-1
- debian•python3.9
< 3.9.2-1+deb11u5
- python software foundation•cpython
< 3.15.0 | ≥ 3.15.0a1, < 3.15.0 | < 3.13.12 | < 3.10.20 | ≥ 3.11.0, < 3.11.15 | ≥ 3.12.0, < 3.12.13 | ≥ 3.13.0, < 3.13.12 | ≥ 3.14.0, < 3.14.3 | ≥ 3.15.0a1, < 3.15.0a6
References (13)
- https://github.com/python/cpython/pull/143926
- https://github.com/python/cpython/issues/143925
- https://mail.python.org/archives/list/security-announce@python.org/thread/X66HL7SISGJT33J53OHXMZT4DFLMHVKF/
- https://github.com/python/cpython/commit/f25509e78e8be6ea73c811ac2b8c928c28841b9f
- https://github.com/python/cpython/commit/05356b1cc153108aaf27f3b72ce438af4aa218c0
- https://github.com/python/cpython/commit/34d76b00dabde81a793bd06dd8ecb057838c4b38
- https://github.com/python/cpython/commit/3f396ca9d7bbe2a50ea6b8c9b27c0082884d9f80
- https://github.com/python/cpython/commit/4ed11d3cd288e6b90196a15c5a825a45d318fe47
- https://github.com/python/cpython/commit/a35ca3be5842505dab74dc0b90b89cde0405017a
- https://security-tracker.debian.org/tracker/CVE-2025-15282
- https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/15xxx/CVE-2025-15282.json
- https://nvd.nist.gov/vuln/detail/CVE-2025-15282
- https://github.com/python/cpython