{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2023-46695","id":"CVE-2023-46695","title":"Django potential denial of service vulnerability in UsernameField on Windows","description":"An issue was discovered in Django 3.2 before 3.2.23, 4.1 before 4.1.13, and 4.2 before 4.2.7. The NFKC normalization is slow on Windows. As a consequence, django.contrib.auth.forms.UsernameField is subject to a potential DoS (denial of service) attack via certain inputs with a very large number of Unicode characters.","descriptionLong":"An issue was discovered in Django 3.2 before 3.2.23, 4.1 before 4.1.13, and 4.2 before 4.2.7. The NFKC normalization is slow on Windows. As a consequence, django.contrib.auth.forms.UsernameField is subject to a potential DoS (denial of service) attack via certain inputs with a very large number of Unicode characters.","published":"2023-11-02T00:00:00.000Z","updated":"2026-11-16T10:45:11.362719058Z","reserved":"2023-10-25T00:00:00.000Z","status":"Modified","rejected":false,"assigner":"mitre","metric":{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","rating":"high","source":"NVD"},"metrics":[{"version":"4.0","score":null,"vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N","rating":"high","source":"GitHub"},{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","rating":"high","source":"NVD"},{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","rating":"high","source":"GitHub"}],"rating":"high","products":[],"affectedProducts":[{"vendor":"n/a","product":"n/a","defaultStatus":null,"versions":[{"version":"n/a","status":"affected"}],"platforms":[]}],"packages":[{"ecosystem":"PyPI","name":"django","purl":"pkg:pypi/django","ranges":[">=3.2a1 <3.2.23",">=4.1a1 <4.1.13",">=4.2a1 <4.2.7",">=3.2 <3.2.23",">=4.1 <4.1.13",">=4.2 <4.2.7"],"fixed":["3.2.23","4.1.13","4.2.7"],"advisory":"GHSA-qmf9-6jqf-j8fq"}],"cwes":["CWE-770","CWE-400"],"aliases":["BIT-django-2023-46695","GHSA-qmf9-6jqf-j8fq","PYSEC-2023-222"],"references":[{"url":"https://groups.google.com/forum/#%21forum/django-announce","tags":["x_transferred","Permissions Required","web"]},{"url":"https://docs.djangoproject.com/en/4.2/releases/security/","tags":["x_transferred","Patch","web"]},{"url":"https://www.djangoproject.com/weblog/2023/nov/01/security-releases/","tags":["x_transferred","Patch","Vendor Advisory","article"]},{"url":"https://security.netapp.com/advisory/ntap-20231214-0001/","tags":["x_transferred","advisory"]},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2023/46xxx/CVE-2023-46695.json","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2023-46695","tags":["advisory"]},{"url":"https://github.com/django/django/commit/048a9ebb6ea468426cb4e57c71572cbbd975517f","tags":["web"]},{"url":"https://github.com/django/django/commit/4965bfdde2e5a5c883685019e57d123a3368a75e","tags":["web"]},{"url":"https://github.com/django/django/commit/f9a7fb8466a7ba4857eaf930099b5258f3eafb2b","tags":["web"]},{"url":"https://docs.djangoproject.com/en/4.2/releases/security","tags":["web"]},{"url":"https://github.com/django/django","tags":["package"]},{"url":"https://github.com/pypa/advisory-database/tree/main/vulns/django/PYSEC-2023-222.yaml","tags":["web"]},{"url":"https://groups.google.com/forum/#!forum/django-announce","tags":["web"]},{"url":"https://security.netapp.com/advisory/ntap-20231214-0001","tags":["web"]},{"url":"https://www.djangoproject.com/weblog/2023/nov/01/security-releases","tags":["web"]},{"url":"https://github.com/advisories/GHSA-qmf9-6jqf-j8fq","tags":["advisory"]}],"patchReferenced":true,"fixAvailable":true,"exploitReferenced":false,"kev":false,"kevAdded":null,"kevDue":null,"kevEntry":null,"ssvc":null,"epss":0.53447,"epssPercentile":0.99011,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2023-46695","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2023-46695","ok":true,"note":"Modified"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2023-46695","ok":true,"note":"1 package"},{"name":"GitHub Advisory","url":"https://github.com/advisories/GHSA-qmf9-6jqf-j8fq","ok":true,"note":"GHSA-qmf9-6jqf-j8fq"},{"name":"CISA KEV","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","ok":true,"note":"not listed"},{"name":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2023-46695","ok":true,"note":"scored 2026-11-19"}],"aiTitle":false,"tech":["django"],"critical":["EPSS 53% with CVSS 7.5"],"attention":null}