{"schema":"/api/v1/schema/cve.json","api_version":"1","id":"CVE-2021-35042","published":"2021-07-02T10:15:07.653000Z","last_modified":"2026-06-17T03:57:01.887000Z","status":"Modified","cvss":{"version":"3.1","score":9.8,"severity":"CRITICAL","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","source":"nvd@nist.gov","primary":true},"auth":false,"cwes":["CWE-89"],"cpes":[{"criteria":"cpe:2.3:a:djangoproject:django:*:*:*:*:*:*:*:*","part":"a","vendor":"djangoproject","product":"django","version_start_including":"3.1","version_end_excluding":"3.1.13"},{"criteria":"cpe:2.3:a:djangoproject:django:*:*:*:*:*:*:*:*","part":"a","vendor":"djangoproject","product":"django","version_start_including":"3.2","version_end_excluding":"3.2.5"},{"criteria":"cpe:2.3:o:fedoraproject:fedora:34:*:*:*:*:*:*:*","part":"o","vendor":"fedoraproject","product":"fedora","version":"34"}],"cpes_truncated":false,"vendors":["djangoproject","fedoraproject"],"products":["djangoproject/django","fedoraproject/fedora"],"epss":{"score":0.44369,"percentile":0.99065,"date":"2026-11-29","model_version":"v2026.06.15"},"cat":"app","platform":"multi","eol":false,"packages":[{"advisory":"GHSA-xpfp-f569-q3p2","ecosystem":"PyPI","name":"django","purl":"pkg:pypi/django","ranges":[{"introduced":"3.2a1","fixed":"3.2.5"}],"versions":["3.2","3.2.1","3.2.2","3.2.3","3.2.4","3.2a1","3.2b1","3.2rc1"],"versions_truncated":false},{"advisory":"GHSA-xpfp-f569-q3p2","ecosystem":"PyPI","name":"django","purl":"pkg:pypi/django","ranges":[{"introduced":"3.0a1","fixed":"3.1.13"}],"versions":["3.0","3.0.1","3.0.10","3.0.11","3.0.12","3.0.13","3.0.14","3.0.2","3.0.3","3.0.4","3.0.5","3.0.6","3.0.7","3.0.8","3.0.9","3.0a1","3.0b1","3.0rc1","3.1","3.1.1","3.1.10","3.1.11","3.1.12","3.1.2","3.1.3","3.1.4","3.1.5","3.1.6","3.1.7","3.1.8","3.1.9","3.1a1","3.1b1","3.1rc1"],"versions_truncated":false},{"advisory":"PYSEC-2021-109","ecosystem":"PyPI","name":"django","purl":"pkg:pypi/django","ranges":[{"introduced":"3.1","fixed":"3.1.13"},{"introduced":"3.2","fixed":"3.2.5"}],"versions":["3.1","3.1.1","3.1.10","3.1.11","3.1.12","3.1.2","3.1.3","3.1.4","3.1.5","3.1.6","3.1.7","3.1.8","3.1.9","3.2","3.2.1","3.2.2","3.2.3","3.2.4"],"versions_truncated":false}],"severity":"critical","priority_score":78,"links":{"html_es":"/es/cve/CVE-2021-35042/","html_en":"/en/cve/CVE-2021-35042/","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2021-35042","cve_org":"https://www.cve.org/CVERecord?id=CVE-2021-35042"},"untrusted":{"vendor_name":"Djangoproject","product_name":"Django","desc_en":"Django 3.1.x before 3.1.13 and 3.2.x before 3.2.5 allows QuerySet.order_by SQL injection if order_by is untrusted input from a client of a web application.","affected":[],"references":[{"url":"https://docs.djangoproject.com/en/3.2/releases/security/","tags":["Patch","Vendor Advisory"]},{"url":"https://groups.google.com/forum/#%21forum/django-announce","tags":[]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/SS6NJTBYWOX6J7G4U3LUOILARJKWPQ5Y/","tags":[]},{"url":"https://security.netapp.com/advisory/ntap-20210805-0008/","tags":["Third Party Advisory"]},{"url":"https://www.djangoproject.com/weblog/2021/jul/01/security-releases/","tags":["Patch","Vendor Advisory"]},{"url":"https://www.openwall.com/lists/oss-security/2021/07/02/2","tags":["Mailing List","Patch","Third Party Advisory"]}]},"bulletins":[{"source":"suse","id":"openSUSE-SU-2026:11270-1","url":"https://www.suse.com/support/update/","published":"2026-07-14T00:00:00+00:00","severity":"critical","exploited":false,"untrusted":{"title":"python313-Django5-5.2.16-1.1 on GA media"}},{"source":"suse","id":"openSUSE-SU-2026:11248-1","url":"https://www.suse.com/support/update/","published":"2026-07-10T00:00:00+00:00","severity":"critical","exploited":false,"untrusted":{"title":"python313-Django-5.2.16-1.1 on GA media"}},{"source":"suse","id":"openSUSE-SU-2026:11235-1","url":"https://www.suse.com/support/update/","published":"2026-07-09T00:00:00+00:00","severity":"critical","exploited":false,"untrusted":{"title":"python313-Django4-4.2.30-4.1 on GA media"}}]}