CVE-2024-27351

Source
https://cve.org/CVERecord?id=CVE-2024-27351
Import Source
https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2024-27351.json
JSON Data
https://api.test.osv.dev/v1/vulns/CVE-2024-27351
Aliases
Downstream
Related
Published
2024-03-15T20:15:09.303Z
Modified
2026-03-20T12:35:33.276594Z
Severity
  • 5.3 (Medium) CVSS_V3 - CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:N/I:N/A:H CVSS Calculator
Summary
[none]
Details

In Django 3.2 before 3.2.25, 4.2 before 4.2.11, and 5.0 before 5.0.3, the django.utils.text.Truncator.words() method (with html=True) and the truncatewords_html template filter are subject to a potential regular expression denial-of-service attack via a crafted string. NOTE: this issue exists because of an incomplete fix for CVE-2019-14232 and CVE-2023-43665.

References

Affected packages

Git / github.com/django/django

Affected ranges

Type
GIT
Repo
https://github.com/django/django
Events
Database specific
{
    "versions": [
        {
            "introduced": "3.2"
        },
        {
            "fixed": "3.2.25"
        },
        {
            "introduced": "4.2"
        },
        {
            "fixed": "4.2.11"
        },
        {
            "introduced": "5.0"
        },
        {
            "fixed": "5.0.3"
        }
    ]
}

Affected versions

4.*
4.2
4.2.1
4.2.10
4.2.2
4.2.3
4.2.4
4.2.5
4.2.6
4.2.7
4.2.8
4.2.9

Database specific

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