pysec-2021-109
Vulnerability from pysec
Published
2021-07-02 10:15
Modified
2021-07-08 03:14
Details

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.

Impacted products
Name purl
django pkg:pypi/django



{
   affected: [
      {
         package: {
            ecosystem: "PyPI",
            name: "django",
            purl: "pkg:pypi/django",
         },
         ranges: [
            {
               events: [
                  {
                     introduced: "3.1",
                  },
                  {
                     fixed: "3.1.13",
                  },
                  {
                     introduced: "3.2",
                  },
                  {
                     fixed: "3.2.5",
                  },
               ],
               type: "ECOSYSTEM",
            },
         ],
         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",
         ],
      },
   ],
   aliases: [
      "CVE-2021-35042",
      "GHSA-xpfp-f569-q3p2",
   ],
   details: "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.",
   id: "PYSEC-2021-109",
   modified: "2021-07-08T03:14:19.151485Z",
   published: "2021-07-02T10:15:00Z",
   references: [
      {
         type: "WEB",
         url: "https://docs.djangoproject.com/en/3.2/releases/security/",
      },
      {
         type: "WEB",
         url: "https://www.openwall.com/lists/oss-security/2021/07/02/2",
      },
      {
         type: "WEB",
         url: "https://groups.google.com/forum/#!forum/django-announce",
      },
      {
         type: "ARTICLE",
         url: "https://www.djangoproject.com/weblog/2021/jul/01/security-releases/",
      },
      {
         type: "ADVISORY",
         url: "https://github.com/advisories/GHSA-xpfp-f569-q3p2",
      },
   ],
}


Log in or create an account to share your comment.

Security Advisory comment format.

This schema specifies the format of a comment related to a security advisory.

UUIDv4 of the comment
UUIDv4 of the Vulnerability-Lookup instance
When the comment was created originally
When the comment was last updated
Title of the comment
Description of the comment
The identifier of the vulnerability (CVE ID, GHSA-ID, PYSEC ID, etc.).



Tags
Taxonomy of the tags.


Loading…

Loading…

Loading…

Sightings

Author Source Type Date

Nomenclature

  • Seen: The vulnerability was mentioned, discussed, or seen somewhere by the user.
  • Confirmed: The vulnerability is confirmed from an analyst perspective.
  • Exploited: This vulnerability was exploited and seen by the user reporting the sighting.
  • Patched: This vulnerability was successfully patched by the user reporting the sighting.
  • Not exploited: This vulnerability was not exploited or seen by the user reporting the sighting.
  • Not confirmed: The user expresses doubt about the veracity of the vulnerability.
  • Not patched: This vulnerability was not successfully patched by the user reporting the sighting.