CVE-2022-28347

Source
https://cve.org/CVERecord?id=CVE-2022-28347
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2022-28347.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2022-28347
Aliases
Downstream
Related
Published
2022-04-12T05:15:07.357Z
Modified
2026-03-15T14:47:14.153340Z
Severity
  • 9.8 (Critical) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H CVSS Calculator
Summary
[none]
Details

A SQL injection issue was discovered in QuerySet.explain() in Django 2.2 before 2.2.28, 3.2 before 3.2.13, and 4.0 before 4.0.4. This occurs by passing a crafted dictionary (with dictionary expansion) as the **options argument, and placing the injection payload in an option name.

References

Affected packages

Git / github.com/django/django

Affected ranges

Type
GIT
Repo
https://github.com/django/django
Events
Database specific
{
    "versions": [
        {
            "introduced": "2.2"
        },
        {
            "fixed": "2.2.28"
        },
        {
            "introduced": "3.2"
        },
        {
            "fixed": "3.2.13"
        },
        {
            "introduced": "4.0"
        },
        {
            "fixed": "4.0.4"
        }
    ]
}

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2022-28347.json"
unresolved_ranges
[
    {
        "events": [
            {
                "introduced": "0"
            },
            {
                "last_affected": "11.0"
            }
        ]
    }
]