{"schema_version":"1.9.0","id":"GHSA-q5qw-4364-5hhm","published":"2022-05-17T00:48:30Z","modified":"2025-02-19T05:41:17.309735Z","aliases":["CVE-2015-5144","PYSEC-2015-10"],"summary":"Django Vulnerable to HTTP Response Splitting Attack","details":"Django before 1.4.21, 1.5.x through 1.6.x, 1.7.x before 1.7.9, and 1.8.x before 1.8.3 uses an incorrect regular expression, which allows remote attackers to inject arbitrary headers and conduct HTTP response splitting attacks via a newline character in an (1) email message to the EmailValidator, a (2) URL to the URLValidator, or unspecified vectors to the (3) validate_ipv4_address or (4) validate_slug validator.","affected":[{"package":{"name":"django","ecosystem":"PyPI","purl":"pkg:pypi/django"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.4.21"}]}],"versions":["1.0.1","1.0.2","1.0.3","1.0.4","1.1","1.1.1","1.1.2","1.1.3","1.1.4","1.2","1.2.1","1.2.2","1.2.3","1.2.4","1.2.5","1.2.6","1.2.7","1.3","1.3.1","1.3.2","1.3.3","1.3.4","1.3.5","1.3.6","1.3.7","1.4","1.4.1","1.4.10","1.4.11","1.4.12","1.4.13","1.4.14","1.4.15","1.4.16","1.4.17","1.4.18","1.4.19","1.4.2","1.4.20","1.4.3","1.4.4","1.4.5","1.4.6","1.4.7","1.4.8","1.4.9"],"database_specific":{"source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2022/05/GHSA-q5qw-4364-5hhm/GHSA-q5qw-4364-5hhm.json"}},{"package":{"name":"django","ecosystem":"PyPI","purl":"pkg:pypi/django"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"1.5"},{"fixed":"1.7.9"}]}],"versions":["1.5","1.5.1","1.5.10","1.5.11","1.5.12","1.5.2","1.5.3","1.5.4","1.5.5","1.5.6","1.5.7","1.5.8","1.5.9","1.6","1.6.1","1.6.10","1.6.11","1.6.2","1.6.3","1.6.4","1.6.5","1.6.6","1.6.7","1.6.8","1.6.9","1.7","1.7.1","1.7.2","1.7.3","1.7.4","1.7.5","1.7.6","1.7.7","1.7.8"],"database_specific":{"source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2022/05/GHSA-q5qw-4364-5hhm/GHSA-q5qw-4364-5hhm.json"}},{"package":{"name":"django","ecosystem":"PyPI","purl":"pkg:pypi/django"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"1.8a1"},{"fixed":"1.8.3"}]}],"versions":["1.8","1.8.1","1.8.2","1.8a1","1.8b1","1.8b2","1.8c1"],"database_specific":{"source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2022/05/GHSA-q5qw-4364-5hhm/GHSA-q5qw-4364-5hhm.json"}}],"references":[{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2015-5144"},{"type":"WEB","url":"https://github.com/django/django/commit/1ba1cdce7d58e6740fe51955d945b56ae51d072a"},{"type":"WEB","url":"https://github.com/django/django/commit/574dd5e0b0fbb877ae5827b1603d298edc9bb2a0"},{"type":"WEB","url":"https://github.com/django/django/commit/8f9a4d3a2bc42f14bb437defd30c7315adbff22c"},{"type":"WEB","url":"https://github.com/django/django/commit/ae49b4d994656bc037513dcd064cb9ce5bb85649"},{"type":"WEB","url":"https://github.com/django/django"},{"type":"WEB","url":"https://github.com/django/django/blob/4555a823fd57e261e1b19c778429473256c8ea08/docs/releases/1.4.21.txt#L30-L54"},{"type":"WEB","url":"https://github.com/pypa/advisory-database/tree/main/vulns/django/PYSEC-2015-10.yaml"},{"type":"WEB","url":"https://security.gentoo.org/glsa/201510-06"},{"type":"WEB","url":"https://web.archive.org/web/20150924150801/http://www.securitytracker.com/id/1032820"},{"type":"WEB","url":"https://web.archive.org/web/20200228050526/http://www.securityfocus.com/bid/75665"},{"type":"WEB","url":"https://www.djangoproject.com/weblog/2015/jul/08/security-releases"},{"type":"WEB","url":"http://lists.fedoraproject.org/pipermail/package-announce/2015-November/172084.html"},{"type":"WEB","url":"http://lists.opensuse.org/opensuse-updates/2015-10/msg00043.html"},{"type":"WEB","url":"http://lists.opensuse.org/opensuse-updates/2015-10/msg00046.html"},{"type":"WEB","url":"http://www.debian.org/security/2015/dsa-3305"},{"type":"WEB","url":"http://www.oracle.com/technetwork/topics/security/bulletinoct2015-2511968.html"},{"type":"WEB","url":"http://www.ubuntu.com/usn/USN-2671-1"}],"database_specific":{"cwe_ids":["CWE-20"],"github_reviewed":true,"github_reviewed_at":"2023-08-04T23:22:57Z","nvd_published_at":"2015-07-14T17:59:00Z","severity":"HIGH"},"severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N"},{"type":"CVSS_V4","score":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:H/VA:N/SC:N/SI:N/SA:N"}]}