Feed
7.5HIGH
CVE-2023-46695Django potential denial of service vulnerability in UsernameField on Windows
A high-severity vulnerability reachable over the network, needing no privileges and no user interaction. EPSS estimates a 1.9% chance of exploitation in the next 30 days. A fixed version is named.
- Exploited in the wild
- Not in KEV
- EPSS
- 1.9%
- percentile 80%
- Fix
- Named by a source
- CVE published 2 Nov 2023
Reference
None of the "Needs attention" rules apply right now.
EPSS 1.9% (+2) · Network attack vector (+10) · No privileges required (+5) · No user interaction (+5)
Immediate actions
- django (PyPI): upgrade to 3.2.23 / 4.1.13 / 4.2.7 or later on your release line.
- Commit / pull request: https://github.com/django/django/commit/048a9ebb6ea468426cb4e57c71572cbbd975517f
- Commit / pull request: https://github.com/django/django/commit/4965bfdde2e5a5c883685019e57d123a3368a75e
- Commit / pull request: https://github.com/django/django/commit/f9a7fb8466a7ba4857eaf930099b5258f3eafb2b
Who should check
django (PyPI) pkg:pypi/django
- Affected>= 3.2a1, < 3.2.23Fixed in3.2.23OSV (GHSA-qmf9-6jqf-j8fq)
- Affected>= 4.1a1, < 4.1.13Fixed in4.1.13OSV (GHSA-qmf9-6jqf-j8fq)
- Affected>= 4.2a1, < 4.2.7Fixed in4.2.7OSV (GHSA-qmf9-6jqf-j8fq)
- Affected>= 3.2, < 3.2.23Fixed in3.2.23OSV (PYSEC-2023-222)
- Affected>= 4.1, < 4.1.13Fixed in4.1.13OSV (PYSEC-2023-222)
- Affected>= 4.2, < 4.2.7Fixed in4.2.7OSV (PYSEC-2023-222)
Confirmed facts
- CVSS
- 7.5 HIGH (version 3.1)
- Score from
- GitHub Advisory Database (GHSA-qmf9-6jqf-j8fq)
- Attack vector
- network
- Attack complexity
- low
- Privileges required
- none
- User interaction
- none
- Weakness
- CWE-400, CWE-770
Unknowns
- We show one CVSS score. Other sources may score this CVE differently.
Advisory text
Quoted from the source advisory (untrusted)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.
Update history
- 2 Nov 2026Exploitation more likely 49.8% → 53.4%
References
- advisoryhttps://nvd.nist.gov/vuln/detail/CVE-2023-46695
- commit / pull requesthttps://github.com/django/django/commit/048a9ebb6ea468426cb4e57c71572cbbd975517f
- commit / pull requesthttps://github.com/django/django/commit/4965bfdde2e5a5c883685019e57d123a3368a75e
- commit / pull requesthttps://github.com/django/django/commit/f9a7fb8466a7ba4857eaf930099b5258f3eafb2b
- otherhttps://docs.djangoproject.com/en/4.2/releases/security
- otherhttps://github.com/django/django
- otherhttps://github.com/pypa/advisory-database/tree/main/vulns/django/PYSEC-2023-222.yaml
- otherhttps://groups.google.com/forum/#!forum/django-announce
- otherhttps://groups.google.com/forum/#%21forum/django-announce
- otherhttps://security.netapp.com/advisory/ntap-20231214-0001
- otherhttps://www.djangoproject.com/weblog/2023/nov/01/security-releases
- otherhttps://docs.djangoproject.com/en/4.2/releases/security/
- otherhttps://www.djangoproject.com/weblog/2023/nov/01/security-releases/
- advisoryhttps://github.com/advisories/GHSA-qmf9-6jqf-j8fq
Sources
- EPSS by FIRST.org, Free to use, attribution requested. Scores generated by Empirical Security.
- GHSA-qmf9-6jqf-j8fq (GitHub Advisory Database), CC BY 4.0.
- PYSEC-2023-222 (PyPA Advisory Database), CC BY 4.0.
- OSV.dev, Per database.
This page is our own presentation: records are shortened, normalised and merged. Licences
Last checked: kev 45 min ago · osv 45 min ago · nvd 45 min ago · epss 45 min ago · JSON · ask via MCP: explain_vulnerability
Also known as BIT-django-2023-46695, GHSA-qmf9-6jqf-j8fq, PYSEC-2023-222