Logo
componentpython3-django
Name
python3-django
Version
4.2.28
Type
library
Description
A high-level Python Web framework
Licenses
BSD-3-Clause
PURL
-
CPE
cpe:2.3:*:*:python3-django:4.2.28:*:*:*:*:*:*:*

Other Versions#


Project
Branch
Version
master
5.2.15
scarthgap
5.0.14

Patches#


#
Title
Author
Resolve
1
[4.2.x] Fixed CVE-2024-53907 -- Mitigated potential DoS in
Sarah Boyce <42296566+sarahboyce@users.noreply.github.com>
CVE-2024-53907
2
Fixed CVE-2023-41164 -- Fixed potential DoS in
Mariusz Felisiak <felisiak.mariusz@gmail.com>
CVE-2023-41164
3
Fixed CVE-2025-26699 -- Mitigated potential DoS in wordwrap
Sarah Boyce <42296566+sarahboyce@users.noreply.github.com>
CVE-2025-26699
4
Fix patch for CVE-2023-36053
Gyorgy Sarvari <skandigraun@gmail.com>
CVE-2023-36053
5
Fixed CVE-2024-39329 -- Standarized timing of
Michael Manfre <mike@manfre.net>
CVE-2024-39329
6
Fixed #34363 -- Fixed floatformat crash on zero with trailing
"Panagiotis H.M. Issaris" <takis@issaris.com>
CVE-2024-41989
7
Fixed #34098 -- Fixed loss of precision for Decimal values in
Vlastimil Zíma <ziima@users.noreply.github.com>
CVE-2024-41989
8
Fixed CVE-2025-64459 -- Prevented SQL injections in
Jacob Walls <jacobtylerwalls@gmail.com>
CVE-2025-64459
9
Fixed CVE-2024-39330 -- Added extra file name validation in
Natalia <124304+nessita@users.noreply.github.com>
CVE-2024-39330
10
[4.2.x] Fixed CVE-2024-45230 -- Mitigated potential DoS in
Sarah Boyce <42296566+sarahboyce@users.noreply.github.com>
CVE-2024-45230
11
Fixed CVE-2023-36053
Mariusz Felisiak <felisiak.mariusz@gmail.com>
CVE-2023-36053
12
Fixed #35172 -- Fixed intcomma for string floats.
Gyorgy Sarvari <skandigraun@gmail.com>
13
Fixed #32298 -- Fixed URLValidator hostname length
Gyorgy Sarvari <skandigraun@gmail.com>
14
Fixed CVE-2025-32873 -- Mitigated potential DoS in
Marc Deslauriers <marc.deslauriers@ubuntu.com>
CVE-2025-32873
15
[4.2.x] Fixed CVE-2024-41990 -- Mitigated potential DoS in
Sarah Boyce <42296566+sarahboyce@users.noreply.github.com>
CVE-2024-41990
16
[3.2.x] Fixed CVE-2023-23969 -- Prevented DoS with
Nick Pope <nick@nickpope.me.uk>
CVE-2023-23969
17
Fixed CVE-2024-24680 -- Mitigated potential DoS in intcomma
Adam Johnson <me@adamj.eu>
CVE-2024-24680
18
Fixed #34272 -- Fixed floatformat crash on zero with trailing
David Wobrock <david.wobrock@gmail.com>
CVE-2024-41989
19
Fixed CVE-2023-46695 -- Fixed potential DoS in
Mariusz Felisiak <felisiak.mariusz@gmail.com>
CVE-2023-46695
20
Fixed CVE-2024-56374 -- Mitigated potential DoS in IPv6
Natalia <124304+nessita@users.noreply.github.com>
CVE-2024-56374
21
[4.2.x] Fixed CVE-2024-41989 -- Prevented excessive memory
Sarah Boyce <42296566+sarahboyce@users.noreply.github.com>
CVE-2024-41989
22
Fixed CVE-2023-31047, Fixed #31710
Mariusz Felisiak <felisiak.mariusz@gmail.com>
CVE-2023-31047
23
[4.2.x] Fixed CVE-2024-39614 -- Mitigated potential DoS in
Sarah Boyce <42296566+sarahboyce@users.noreply.github.com>
CVE-2024-39614
24
Fixed CVE-2024-42005 -- Mitigated QuerySet.values() SQL
Simon Charette <charette.s@gmail.com>
CVE-2024-42005
25
fix ipv6 test
Gyorgy Sarvari <skandigraun@gmail.com>
26
python3-django: Fix missing JSONField in django.db.models
Haixiao Yan <haixiao.yan.cn@windriver.com>
27
Fix tag_strip tests
Your Name <you@example.com>
28
[4.2.x] Fixed CVE-2024-45231 -- Avoided server error on
Natalia <124304+nessita@users.noreply.github.com>
CVE-2024-45231
29
python3-django: Fix undefined _lazy_re_compile
Haixiao Yan <haixiao.yan.cn@windriver.com>
30
Fixed test_utils.tests.HTMLEqualTests.test_parsing_errors
Gyorgy Sarvari <skandigraun@gmail.com>
31
Fixed inspectdb.tests.InspectDBTestCase.test_custom_fields()
Gyorgy Sarvari <skandigraun@gmail.com>
32
Made RemoteTestResultTest.test_pickle_errors_detection()
Gyorgy Sarvari <skandigraun@gmail.com>
33
fix quote type in expected error message
Gyorgy Sarvari <skandigraun@gmail.com>
34
Fixed #33367 -- Fixed URLValidator crash in some edge cases.
Gyorgy Sarvari <skandigraun@gmail.com>
35
Fixed CVE-2025-57833 -- Protected FilteredRelation against
Jake Howard <git@theorangeone.net>
CVE-2025-57833
36
implement group method for FakeMatch
Gyorgy Sarvari <skandigraun@gmail.com>
37
[4.2.x] Fixed CVE-2024-41991 -- Prevented potential ReDoS in
Mariusz Felisiak <felisiak.mariusz@gmail.com>
CVE-2024-41991
38
Fixed CVE-2023-43665 -- Mitigated potential DoS in
Natalia <124304+nessita@users.noreply.github.com>
CVE-2023-43665
39
Fixed CVE-2024-27351 -- Prevented potential ReDoS in
Shai Berger <shai@platonix.com>
CVE-2024-27351
40
[4.2.x] Fixed CVE-2024-38875 -- Mitigated potential DoS in
Adam Johnson <me@adamj.eu>
CVE-2024-38875

Vulnerabilities#


Name
Analysis
Description
Patched
An issue was discovered in 5.1 before 5.1.14, 4.2 before 4.2.26, and 5.2 before 5.2.8. The methods `QuerySet.filter()`, `QuerySet.exclude()`, and `QuerySet.get()`, and the class `Q()`, are subject to SQL injection when using a suitably crafted dictionary, with dictionary expansion, as the `_connector` argument. Earlier, unsupported Django series (such as 5.0.x, 4.1.x, and 3.2.x) were not evaluated and may also be affected. Django would like to thank cyberstan for reporting this issue.
Patched
An issue was discovered in Django 4.2 before 4.2.24, 5.1 before 5.1.12, and 5.2 before 5.2.6. FilteredRelation is subject to SQL injection in column aliases, using a suitably crafted dictionary, with dictionary expansion, as the **kwargs passed QuerySet.annotate() or QuerySet.alias().
Patched
An issue was discovered in Django 4.2 before 4.2.21, 5.1 before 5.1.9, and 5.2 before 5.2.1. The django.utils.html.strip_tags() function is vulnerable to a potential denial-of-service (slow performance) when processing inputs containing large sequences of incomplete HTML tags. The template filter striptags is also vulnerable, because it is built on top of strip_tags().
Patched
An issue was discovered in Django 5.1 before 5.1.7, 5.0 before 5.0.13, and 4.2 before 4.2.20. The django.utils.text.wrap() method and wordwrap template filter are subject to a potential denial-of-service attack when used with very long strings.
Patched
An issue was discovered in Django 5.1 before 5.1.5, 5.0 before 5.0.11, and 4.2 before 4.2.18. Lack of upper-bound limit enforcement in strings passed when performing IPv6 validation could lead to a potential denial-of-service attack. The undocumented and private functions clean_ipv6_address and is_valid_ipv6_address are vulnerable, as is the django.forms.GenericIPAddressField form field. (The django.db.models.GenericIPAddressField model field is not affected.)
Patched
An issue was discovered in Django 5.1 before 5.1.4, 5.0 before 5.0.10, and 4.2 before 4.2.17. The strip_tags() method and striptags template filter are subject to a potential denial-of-service attack via certain inputs containing large sequences of nested incomplete HTML entities.
Patched
An issue was discovered in Django v5.1.1, v5.0.9, and v4.2.16. The django.contrib.auth.forms.PasswordResetForm class, when used in a view implementing password reset flows, allows remote attackers to enumerate user e-mail addresses by sending password reset requests and observing the outcome (only when e-mail sending is consistently failing).
Patched
An issue was discovered in Django 5.1 before 5.1.1, 5.0 before 5.0.9, and 4.2 before 4.2.16. The urlize() and urlizetrunc() template filters are subject to a potential denial-of-service attack via very large inputs with a specific sequence of characters.
Patched
An issue was discovered in Django 5.0 before 5.0.8 and 4.2 before 4.2.15. QuerySet.values() and values_list() methods on models with a JSONField are subject to SQL injection in column aliases via a crafted JSON object key as a passed *arg.
Patched
An issue was discovered in Django 5.0 before 5.0.8 and 4.2 before 4.2.15. The urlize and urlizetrunc template filters, and the AdminURLFieldWidget widget, are subject to a potential denial-of-service attack via certain inputs with a very large number of Unicode characters.
Patched
An issue was discovered in Django 5.0 before 5.0.8 and 4.2 before 4.2.15. The urlize() and urlizetrunc() template filters are subject to a potential denial-of-service attack via very large inputs with a specific sequence of characters.
Patched
An issue was discovered in Django 5.0 before 5.0.8 and 4.2 before 4.2.15. The floatformat template filter is subject to significant memory consumption when given a string representation of a number in scientific notation with a large exponent.
Patched
An issue was discovered in Django 5.0 before 5.0.7 and 4.2 before 4.2.14. get_supported_language_variant() was subject to a potential denial-of-service attack when used with very long strings containing specific characters.
Patched
An issue was discovered in Django 5.0 before 5.0.7 and 4.2 before 4.2.14. Derived classes of the django.core.files.storage.Storage base class, when they override generate_filename() without replicating the file-path validations from the parent class, potentially allow directory traversal via certain inputs during a save() call. (Built-in Storage sub-classes are unaffected.)
Patched
An issue was discovered in Django 5.0 before 5.0.7 and 4.2 before 4.2.14. The django.contrib.auth.backends.ModelBackend.authenticate() method allows remote attackers to enumerate users via a timing attack involving login requests for users with an unusable password.
Patched
An issue was discovered in Django 4.2 before 4.2.14 and 5.0 before 5.0.7. urlize and urlizetrunc were subject to a potential denial of service attack via certain inputs with a very large number of brackets.
Patched
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.
Patched
An issue was discovered in Django 3.2 before 3.2.24, 4.2 before 4.2.10, and Django 5.0 before 5.0.2. The intcomma template filter was subject to a potential denial-of-service attack when used with very long strings.
Patched
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.
Patched
In Django 3.2 before 3.2.22, 4.1 before 4.1.12, and 4.2 before 4.2.6, the django.utils.text.Truncator chars() and words() methods (when used with html=True) are subject to a potential DoS (denial of service) attack via certain inputs with very long, potentially malformed HTML text. The chars() and words() methods are used to implement the truncatechars_html and truncatewords_html template filters, which are thus also vulnerable. NOTE: this issue exists because of an incomplete fix for CVE-2019-14232.
Patched
In Django 3.2 before 3.2.21, 4.1 before 4.1.11, and 4.2 before 4.2.5, django.utils.encoding.uri_to_iri() is subject to a potential DoS (denial of service) attack via certain inputs with a very large number of Unicode characters.
Patched
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.
Patched
In Django 3.2 before 3.2.19, 4.x before 4.1.9, and 4.2 before 4.2.1, it was possible to bypass validation when using one form field to upload multiple files. This multiple upload has never been supported by forms.FileField or forms.ImageField (only the last uploaded file was validated). However, Django's "Uploading multiple files" documentation suggested otherwise.
Patched
In Django 3.2 before 3.2.17, 4.0 before 4.0.9, and 4.1 before 4.1.6, the parsed values of Accept-Language headers are cached in order to avoid repetitive parsing. This leads to a potential denial-of-service vector via excessive memory usage if the raw value of Accept-Language headers is very large.