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
ALPINE (1)
CLEANSTART (1)
CLSA (1)
DEBIAN (1)
MGASA (1)
OESA (1)
openSUSE (7)
RHSA (4)
RLSA (1)
UBUNTU (1)
Related
Published
2022-04-12T00:00:00Z
Modified
2026-11-16T10:45:08Z
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.

Database specific
{
    "cna_assigner": "mitre",
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/28xxx/CVE-2022-28347.json"
}
References

Affected packages

Git / github.com/django/django

Affected ranges

Type
GIT
Repo
https://github.com/django/django
Events
Database specific
Show details
{
    "extracted_events": [
        {
            "cpe": "cpe:2.3:a:djangoproject:django:*:*:*:*:*:*:*:*",
            "range": [
                {
                    "introduced": "2.2"
                },
                {
                    "fixed": "2.2.28"
                }
            ],
            "source": "CPE_RANGE"
        },
        {
            "cpe": "cpe:2.3:a:djangoproject:django:*:*:*:*:*:*:*:*",
            "range": [
                {
                    "introduced": "3.2"
                },
                {
                    "fixed": "3.2.13"
                }
            ],
            "source": "CPE_RANGE"
        },
        {
            "cpe": "cpe:2.3:a:djangoproject:django:*:*:*:*:*:*:*:*",
            "range": [
                {
                    "introduced": "4.0"
                },
                {
                    "fixed": "4.0.4"
                }
            ],
            "source": "CPE_RANGE"
        }
    ]
}

Affected versions

2.*
2.2
2.2.1
2.2.10
2.2.11
2.2.12
2.2.13
2.2.14
2.2.15
2.2.16
2.2.17
2.2.18
2.2.19
2.2.2
2.2.20
2.2.21
2.2.22
2.2.23
2.2.24
2.2.25
2.2.26
2.2.27
2.2.3
2.2.4
2.2.5
2.2.6
2.2.7
2.2.8
2.2.9
3.*
3.2
3.2.1
3.2.10
3.2.11
3.2.12
3.2.2
3.2.3
3.2.4
3.2.5
3.2.6
3.2.7
3.2.8
3.2.9

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2022-28347.json"