CVE-2021-32052
MEDIUM6.1EPSS 1.9%Header injection possible in Django
發布日:2021/6/9修改日:2026/4/28
描述
In Django 2.2 before 2.2.22, 3.1 before 3.1.10, and 3.2 before 3.2.2 (with Python 3.9.5+), URLValidator does not prohibit newlines and tabs (unless the URLField form field is used). If an application uses values with newlines in an HTTP response, header injection can occur. Django itself is unaffected because HttpResponse prohibits newlines in HTTP headers.
受影響套件(4)
- Bitnami/django>= 2.2.0, < 2.2.22, >= 3.1.0, < 3.1.10, >= 3.2.0, < 3.2.2
- Debian/python-djangofrom 0, < 2:2.2.22-1
- PyPI/django>= 2.2, < 2.2.22
- PyPI/django>= 2.2, < 2.2.22, >= 3.1, < 3.1.10, >= 3.2, < 3.2.2
CVSS 分數
| 來源 | 版本 | 嚴重程度 | 向量 |
|---|---|---|---|
| osv | CVSS 4.0 | — | CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:N/VI:N/VA:N/SC:L/SI:L/SA:N |
| osv | CVSS 3.1 | MEDIUM6.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N |
參考連結(19)
- ADVISORYhttps://github.com/advisories/GHSA-qm57-vhq3-3fwf
- ADVISORYhttps://nvd.nist.gov/vuln/detail/CVE-2021-32052
- ADVISORYhttps://security-tracker.debian.org/tracker/CVE-2021-32052
- ADVISORYhttps://www.djangoproject.com/weblog/2021/may/06/security-releases/
- PATCHhttps://github.com/django/django
- WEBhttps://bugzilla.redhat.com/show_bug.cgi?id=1944801
- WEBhttps://docs.djangoproject.com/en/3.2/releases/security
- WEBhttps://docs.djangoproject.com/en/3.2/releases/security/
- WEBhttps://github.com/django/django/commit/e1e81aa1c4427411e3c68facdd761229ffea6f6f
- WEBhttps://github.com/pypa/advisory-database/tree/main/vulns/django/PYSEC-2021-8.yaml
- WEBhttps://groups.google.com/forum/#%21forum/django-announce
- WEBhttps://groups.google.com/forum/#!forum/django-announce
- WEBhttps://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/ZVKYPHR3TKR2ESWXBPOJEKRO2OSJRZUE/
- WEBhttps://lists.fedoraproject.org/archives/list/[email protected]/message/ZVKYPHR3TKR2ESWXBPOJEKRO2OSJRZUE
- WEBhttps://lists.fedoraproject.org/archives/list/[email protected]/message/ZVKYPHR3TKR2ESWXBPOJEKRO2OSJRZUE/
- WEBhttps://security.netapp.com/advisory/ntap-20210611-0002
- WEBhttps://security.netapp.com/advisory/ntap-20210611-0002/
- WEBhttps://www.djangoproject.com/weblog/2021/may/06/security-releases
- WEBhttp://www.openwall.com/lists/oss-security/2021/05/06/1