GHSA-jh3w-4vvf-mjgr

Suggest an improvement
Source
https://github.com/advisories/GHSA-jh3w-4vvf-mjgr
Import Source
https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2023/07/GHSA-jh3w-4vvf-mjgr/GHSA-jh3w-4vvf-mjgr.json
JSON Data
https://api.osv.dev/v1/vulns/GHSA-jh3w-4vvf-mjgr
Aliases
Published
2023-07-03T15:30:45Z
Modified
2024-09-20T16:08:42.659831Z
Severity
  • 7.5 (High) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H CVSS Calculator
  • 8.7 (High) CVSS_V4 - 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 CVSS Calculator
Summary
Django has regular expression denial of service vulnerability in EmailValidator/URLValidator
Details

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.

References

Affected packages

PyPI / django

Package

Affected ranges

Type
ECOSYSTEM
Events
Introduced
3.2a1
Fixed
3.2.20

Affected versions

3.*

3.2a1
3.2b1
3.2rc1
3.2
3.2.1
3.2.2
3.2.3
3.2.4
3.2.5
3.2.6
3.2.7
3.2.8
3.2.9
3.2.10
3.2.11
3.2.12
3.2.13
3.2.14
3.2.15
3.2.16
3.2.17
3.2.18
3.2.19

Ecosystem specific

{
    "affected_functions": [
        "django.core.validators.URLValidator",
        "django.core.validators.EmailValidator"
    ]
}

PyPI / django

Package

Affected ranges

Type
ECOSYSTEM
Events
Introduced
4.0a1
Fixed
4.1.10

Affected versions

4.*

4.0a1
4.0b1
4.0rc1
4.0
4.0.1
4.0.2
4.0.3
4.0.4
4.0.5
4.0.6
4.0.7
4.0.8
4.0.9
4.0.10
4.1a1
4.1b1
4.1rc1
4.1
4.1.1
4.1.2
4.1.3
4.1.4
4.1.5
4.1.6
4.1.7
4.1.8
4.1.9

Ecosystem specific

{
    "affected_functions": [
        "django.core.validators.URLValidator",
        "django.core.validators.EmailValidator"
    ]
}

PyPI / django

Package

Affected ranges

Type
ECOSYSTEM
Events
Introduced
4.2a1
Fixed
4.2.3

Affected versions

4.*

4.2a1
4.2b1
4.2rc1
4.2
4.2.1
4.2.2

Ecosystem specific

{
    "affected_functions": [
        "django.core.validators.URLValidator",
        "django.core.validators.EmailValidator"
    ]
}