CVE-2023-31047

Source
https://cve.org/CVERecord?id=CVE-2023-31047
Import Source
https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2023-31047.json
JSON Data
https://api.test.osv.dev/v1/vulns/CVE-2023-31047
Aliases
Downstream
Related
Published
2023-05-07T00:00:00Z
Modified
2026-07-07T08:52:34.225751618Z
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

In Django 3.2 before 3.2.19, 4.x before 4.1.9, and 4.2 before 4.2.1, it was possible to bypass validation when using one form field to upload multiple files. This multiple upload has never been supported by forms.FileField or forms.ImageField (only the last uploaded file was validated). However, Django's "Uploading multiple files" documentation suggested otherwise.

Database specific
{
    "unresolved_ranges": [
        {
            "extracted_events": [
                {
                    "introduced": "3.2"
                },
                {
                    "fixed": "3.2.19"
                },
                {
                    "introduced": "4.x"
                },
                {
                    "fixed": "4.1.9"
                },
                {
                    "introduced": "4.2"
                },
                {
                    "fixed": "4.2.1"
                }
            ],
            "source": "DESCRIPTION"
        }
    ],
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2023/31xxx/CVE-2023-31047.json",
    "cna_assigner": "mitre"
}
References

Affected packages

Git / github.com/django/django

Affected ranges

Type
GIT
Repo
https://github.com/django/django
Events
Database specific
{
    "extracted_events": [
        {
            "introduced": "3.2"
        },
        {
            "fixed": "3.2.19"
        },
        {
            "introduced": "4.0"
        },
        {
            "fixed": "4.1.9"
        },
        {
            "introduced": "4.2-NA"
        },
        {
            "last_affected": "4.2-NA"
        },
        {
            "introduced": "4.2-b1"
        },
        {
            "last_affected": "4.2-b1"
        },
        {
            "introduced": "4.2-rc1"
        },
        {
            "last_affected": "4.2-rc1"
        }
    ],
    "cpe": [
        "cpe:2.3:a:djangoproject:django:*:*:*:*:*:*:*:*",
        "cpe:2.3:a:djangoproject:django:4.2:-:*:*:*:*:*:*",
        "cpe:2.3:a:djangoproject:django:4.2:b1:*:*:*:*:*:*",
        "cpe:2.3:a:djangoproject:django:4.2:rc1:*:*:*:*:*:*"
    ],
    "source": [
        "CPE_RANGE",
        "CPE_STRING"
    ]
}

Affected versions

4.*
4.2-NA
4.2-b1
4.2-rc1

Database specific

source
"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2023-31047.json"