Feed
7.5HIGH
CVE-2023-36053Django has regular expression denial of service vulnerability in EmailValidator/URLValidator
A high-severity vulnerability reachable over the network, needing no privileges and no user interaction. EPSS estimates a 3.3% chance of exploitation in the next 30 days. A fixed version is named.
- Exploited in the wild
- Not in KEV
- EPSS
- 3.3%
- percentile 89%
- Fix
- Named by a source
- CVE published 3 Jul 2023
Reference
None of the "Needs attention" rules apply right now.
EPSS 3.3% (+3) · Network attack vector (+10) · No privileges required (+5) · No user interaction (+5)
Immediate actions
- django (PyPI): upgrade to 3.2.20 / 4.1.10 / 4.2.3 or later on your release line.
- Patch: https://www.djangoproject.com/weblog/2023/jul/03/security-releases/
- Commit / pull request: https://github.com/django/django/commit/454f2fb93437f98917283336201b4048293f7582
- Commit / pull request: https://github.com/django/django/commit/ad0410ec4f458aa39803e5f6b9a3736527062dcd
- Commit / pull request: https://github.com/django/django/commit/b7c5feb35a31799de6e582ad6a5a91a9de74e0f9
- Commit / pull request: https://github.com/django/django/commit/beb3f3d55940d9aa7198bf9d424ab74e873aec3d
Who should check
django (PyPI) pkg:pypi/django
- Affected>= 3.2a1, < 3.2.20Fixed in3.2.20OSV (GHSA-jh3w-4vvf-mjgr)
- Affected>= 4.0a1, < 4.1.10Fixed in4.1.10OSV (GHSA-jh3w-4vvf-mjgr)
- Affected>= 4.2a1, < 4.2.3Fixed in4.2.3OSV (GHSA-jh3w-4vvf-mjgr)
- Affected>= 4.2, < 4.2.3Fixed in4.2.3OSV (PYSEC-2023-100)
- Affected>= 4.0, < 4.1.10Fixed in4.1.10OSV (PYSEC-2023-100)
- Affected>= 3.2, < 3.2.20Fixed in3.2.20OSV (PYSEC-2023-100)
Confirmed facts
- CVSS
- 7.5 HIGH (version 3.1)
- Score from
- GitHub Advisory Database (GHSA-jh3w-4vvf-mjgr)
- Attack vector
- network
- Attack complexity
- low
- Privileges required
- none
- User interaction
- none
- Weakness
- CWE-1333
Unknowns
- We show one CVSS score. Other sources may score this CVE differently.
Advisory text
Quoted from the source advisory (untrusted)In Django 3.2 before 3.2.20, 4 before 4.1.10, and 4.2 before 4.2.3, `EmailValidator` and `URLValidator` are subject to a potential ReDoS (regular expression denial of service) attack via a very large number of domain name labels of emails and URLs.
Update history
- 18 Nov 2025Exploitation more likely 9.6% → 51.7%
- 12 Apr 2025Exploitation more likely 3.9% → 21.1%
References
- advisoryhttps://nvd.nist.gov/vuln/detail/CVE-2023-36053
- commit / pull requesthttps://github.com/django/django/commit/454f2fb93437f98917283336201b4048293f7582
- commit / pull requesthttps://github.com/django/django/commit/ad0410ec4f458aa39803e5f6b9a3736527062dcd
- commit / pull requesthttps://github.com/django/django/commit/b7c5feb35a31799de6e582ad6a5a91a9de74e0f9
- commit / pull requesthttps://github.com/django/django/commit/beb3f3d55940d9aa7198bf9d424ab74e873aec3d
- otherhttps://www.djangoproject.com/weblog/2023/jul/03/security-releases
- otherhttps://www.debian.org/security/2023/dsa-5465
- otherhttps://lists.fedoraproject.org/archives/list/[email protected]/message/ZQJOMNRMVPCN5WMIZ7YSX5LQ7IR2NY4D
- otherhttps://lists.fedoraproject.org/archives/list/[email protected]/message/XG5DYKPNDCEHJQ3TKPJQO7QGSR4FAYMS
- otherhttps://lists.fedoraproject.org/archives/list/[email protected]/message/NRDGTUN4LTI6HG4TWR3JYLSFVXPZT42A
- otherhttps://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/ZQJOMNRMVPCN5WMIZ7YSX5LQ7IR2NY4D
- otherhttps://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/XG5DYKPNDCEHJQ3TKPJQO7QGSR4FAYMS
- otherhttps://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/NRDGTUN4LTI6HG4TWR3JYLSFVXPZT42A
- otherhttps://lists.debian.org/debian-lts-announce/2023/07/msg00022.html
- otherhttps://groups.google.com/forum/#%21forum/django-announce
- otherhttps://groups.google.com/forum/#!forum/django-announce
- otherhttps://github.com/pypa/advisory-database/tree/main/vulns/django/PYSEC-2023-100.yaml
- otherhttps://github.com/django/django
- otherhttps://docs.djangoproject.com/en/4.2/releases/security
- patchhttps://www.djangoproject.com/weblog/2023/jul/03/security-releases/
- otherhttps://docs.djangoproject.com/en/4.2/releases/security/
- advisoryhttps://github.com/advisories/GHSA-jh3w-4vvf-mjgr
Sources
- EPSS by FIRST.org, Free to use, attribution requested. Scores generated by Empirical Security.
- GHSA-jh3w-4vvf-mjgr (GitHub Advisory Database), CC BY 4.0.
- PYSEC-2023-100 (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 7 min ago · osv 7 min ago · nvd 68 min ago · epss 7 min ago · JSON · ask via MCP: explain_vulnerability
Also known as BIT-django-2023-36053, GHSA-jh3w-4vvf-mjgr, PYSEC-2023-100