{"id":"CVE-2021-35042","state":"PUBLISHED","title":"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.","description":"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.","publishedAt":"2021-07-02T09:54:11.000Z","updatedAt":"2024-08-04T00:33:49.895Z","severity":null,"assigner":"mitre","products":["n/a n/a"],"affected":[{"vendor":"n/a","product":"n/a","versions":[{"version":"n/a","status":"affected"}]}],"references":["https://groups.google.com/forum/#%21forum/django-announce","https://docs.djangoproject.com/en/3.2/releases/security/","https://www.openwall.com/lists/oss-security/2021/07/02/2","https://www.djangoproject.com/weblog/2021/jul/01/security-releases/","https://security.netapp.com/advisory/ntap-20210805-0008/","https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/SS6NJTBYWOX6J7G4U3LUOILARJKWPQ5Y/"],"weaknesses":[],"ingestedAt":"2026-10-29T19:48:41.709Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2021/35xxx/CVE-2021-35042.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.1","cveMetadata":{"cveId":"CVE-2021-35042","state":"PUBLISHED","datePublished":"2021-07-02T09:54:11.000Z","dateUpdated":"2024-08-04T00:33:49.895Z","assignerShortName":"mitre","assignerOrgId":"8254265b-2729-46b6-b9e3-3dfca2d5bfca","dateReserved":"2021-06-18T00:00:00.000Z"},"containers":{"cna":{"descriptions":[{"lang":"en","value":"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":[{"vendor":"n/a","product":"n/a","versions":[{"version":"n/a","status":"affected"}]}],"references":[{"url":"https://groups.google.com/forum/#%21forum/django-announce","tags":["x_refsource_MISC"]},{"url":"https://docs.djangoproject.com/en/3.2/releases/security/","tags":["x_refsource_MISC"]},{"url":"https://www.openwall.com/lists/oss-security/2021/07/02/2","tags":["x_refsource_CONFIRM"]},{"url":"https://www.djangoproject.com/weblog/2021/jul/01/security-releases/","tags":["x_refsource_CONFIRM"]},{"url":"https://security.netapp.com/advisory/ntap-20210805-0008/","tags":["x_refsource_CONFIRM"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/SS6NJTBYWOX6J7G4U3LUOILARJKWPQ5Y/","name":"FEDORA-2021-78e501d62a","tags":["vendor-advisory","x_refsource_FEDORA"]}],"problemTypes":[{"descriptions":[{"description":"n/a","lang":"en","type":"text"}]}],"providerMetadata":{"shortName":"mitre","dateUpdated":"2021-08-18T02:06:16.000Z","orgId":"8254265b-2729-46b6-b9e3-3dfca2d5bfca"},"x_legacyV4Record":{"CVE_data_meta":{"ASSIGNER":"cve@mitre.org","ID":"CVE-2021-35042","STATE":"PUBLIC"},"affects":{"vendor":{"vendor_data":[{"product":{"product_data":[{"product_name":"n/a","version":{"version_data":[{"version_value":"n/a"}]}}]},"vendor_name":"n/a"}]}},"data_format":"MITRE","data_type":"CVE","data_version":"4.0","description":{"description_data":[{"lang":"eng","value":"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."}]},"problemtype":{"problemtype_data":[{"description":[{"lang":"eng","value":"n/a"}]}]},"references":{"reference_data":[{"name":"https://groups.google.com/forum/#!forum/django-announce","refsource":"MISC","url":"https://groups.google.com/forum/#!forum/django-announce"},{"name":"https://docs.djangoproject.com/en/3.2/releases/security/","refsource":"MISC","url":"https://docs.djangoproject.com/en/3.2/releases/security/"},{"name":"https://www.openwall.com/lists/oss-security/2021/07/02/2","refsource":"CONFIRM","url":"https://www.openwall.com/lists/oss-security/2021/07/02/2"},{"name":"https://www.djangoproject.com/weblog/2021/jul/01/security-releases/","refsource":"CONFIRM","url":"https://www.djangoproject.com/weblog/2021/jul/01/security-releases/"},{"name":"https://security.netapp.com/advisory/ntap-20210805-0008/","refsource":"CONFIRM","url":"https://security.netapp.com/advisory/ntap-20210805-0008/"},{"name":"FEDORA-2021-78e501d62a","refsource":"FEDORA","url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/SS6NJTBYWOX6J7G4U3LUOILARJKWPQ5Y/"}]}}},"adp":[{"title":"CVE Program Container","references":[{"url":"https://groups.google.com/forum/#%21forum/django-announce","tags":["x_refsource_MISC","x_transferred"]},{"url":"https://docs.djangoproject.com/en/3.2/releases/security/","tags":["x_refsource_MISC","x_transferred"]},{"url":"https://www.openwall.com/lists/oss-security/2021/07/02/2","tags":["x_refsource_CONFIRM","x_transferred"]},{"url":"https://www.djangoproject.com/weblog/2021/jul/01/security-releases/","tags":["x_refsource_CONFIRM","x_transferred"]},{"url":"https://security.netapp.com/advisory/ntap-20210805-0008/","tags":["x_refsource_CONFIRM","x_transferred"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/SS6NJTBYWOX6J7G4U3LUOILARJKWPQ5Y/","name":"FEDORA-2021-78e501d62a","tags":["vendor-advisory","x_refsource_FEDORA","x_transferred"]}],"providerMetadata":{"shortName":"CVE","orgId":"af854a3a-2127-422b-91ae-364da2661108","dateUpdated":"2024-08-04T00:33:49.895Z"}}]}}}