-
Notifications
You must be signed in to change notification settings - Fork 50
chore(deps): update dependency django to v4 [security] #3534
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Open
renovate-bot
wants to merge
1
commit into
googleapis:master
Choose a base branch
from
renovate-bot:renovate/pypi-django-vulnerability
base: master
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
chore(deps): update dependency django to v4 [security] #3534
renovate-bot
wants to merge
1
commit into
googleapis:master
from
renovate-bot:renovate/pypi-django-vulnerability
+1
−1
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
fba5f39
to
bbe3bdd
Compare
bbe3bdd
to
abd2386
Compare
abd2386
to
0f16c3c
Compare
0f16c3c
to
f455e23
Compare
f455e23
to
bed5af4
Compare
bed5af4
to
0b1ace6
Compare
0b1ace6
to
069e21e
Compare
069e21e
to
65af5ef
Compare
65af5ef
to
cd13e88
Compare
cd13e88
to
932f76b
Compare
932f76b
to
e13c36d
Compare
e13c36d
to
f36802d
Compare
f36802d
to
02a6192
Compare
02a6192
to
73d0a76
Compare
73d0a76
to
14c448c
Compare
aca07f5
to
8d5fd3a
Compare
fe9fc4f
to
6379cec
Compare
6379cec
to
e94b44c
Compare
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This PR contains the following updates:
==1.8.12
->==4.2.22
GitHub Vulnerability Alerts
CVE-2018-7537
An issue was discovered in Django 2.0 before 2.0.3, 1.11 before 1.11.11, and 1.8 before 1.8.19. If django.utils.text.Truncator's chars() and words() methods were passed the html=True argument, they were extremely slow to evaluate certain inputs due to a catastrophic backtracking vulnerability in a regular expression. The chars() and words() methods are used to implement the truncatechars_html and truncatewords_html template filters, which were thus vulnerable.
CVE-2017-7234
A maliciously crafted URL to a Django (1.10 before 1.10.7, 1.9 before 1.9.13, and 1.8 before 1.8.18) site using the
django.views.static.serve()
view could redirect to any other domain, aka an open redirect vulnerability.CVE-2019-19844
Django before 1.11.27, 2.x before 2.2.9, and 3.x before 3.0.1 allows account takeover. A suitably crafted email address (that is equal to an existing user's email address after case transformation of Unicode characters) would allow an attacker to be sent a password reset token for the matched user account. (One mitigation in the new releases is to send password reset tokens only to the registered user email address.)
CVE-2020-7471
Django 1.11 before 1.11.28, 2.2 before 2.2.10, and 3.0 before 3.0.3 allows SQL Injection if untrusted data is used as a StringAgg delimiter (e.g., in Django applications that offer downloads of data as a series of rows with a user-specified column delimiter). By passing a suitably crafted delimiter to a contrib.postgres.aggregates.StringAgg instance, it was possible to break escaping and inject malicious SQL.
CVE-2021-33203
Django before 2.2.24, 3.x before 3.1.12, and 3.2.x before 3.2.4 has a potential directory traversal via django.contrib.admindocs. Staff members could use the TemplateDetailView view to check the existence of arbitrary files. Additionally, if (and only if) the default admindocs templates have been customized by application developers to also show file contents, then not only the existence but also the file contents would have been exposed. In other words, there is directory traversal outside of the template root directories.
CVE-2016-6186
Cross-site scripting (XSS) vulnerability in the
dismissChangeRelatedObjectPopup
function incontrib/admin/static/admin/js/admin/RelatedObjectLookups.js
in Django before 1.8.14, 1.9.x before 1.9.8, and 1.10.x before 1.10rc1 allows remote attackers to inject arbitrary web script or HTML via vectors involving unsafe usage of Element.innerHTML.CVE-2016-7401
The cookie parsing code in Django before 1.8.15 and 1.9.x before 1.9.10, when used on a site with Google Analytics, allows remote attackers to bypass an intended CSRF protection mechanism by setting arbitrary cookies.
CVE-2022-36359
An issue was discovered in the HTTP FileResponse class in Django 3.2 before 3.2.15 and 4.0 before 4.0.7. An application is vulnerable to a reflected file download (RFD) attack that sets the Content-Disposition header of a FileResponse when the filename is derived from user-supplied input.
CVE-2016-9013
Django 1.8.x before 1.8.16, 1.9.x before 1.9.11, and 1.10.x before 1.10.3 use a hardcoded password for a temporary database user created when running tests with an Oracle database, which makes it easier for remote attackers to obtain access to the database server by leveraging failure to manually specify a password in the database settings TEST dictionary.
CVE-2017-7233
Django 1.10 before 1.10.7, 1.9 before 1.9.13, and 1.8 before 1.8.18 relies on user input in some cases to redirect the user to an "on success" URL. The security check for these redirects (namely
django.utils.http.is_safe_url()
) considered some numeric URLs "safe" when they shouldn't be, aka an open redirect vulnerability. Also, if a developer relies onis_safe_url()
to provide safe redirect targets and puts such a URL into a link, they could suffer from an XSS attack.CVE-2016-9014
Django before 1.8.x before 1.8.16, 1.9.x before 1.9.11, and 1.10.x before 1.10.3, when settings.DEBUG is True, allow remote attackers to conduct DNS rebinding attacks by leveraging failure to validate the HTTP Host header against settings.ALLOWED_HOSTS.
CVE-2018-7536
An issue was discovered in Django 2.0 before 2.0.3, 1.11 before 1.11.11, and 1.8 before 1.8.19. The
django.utils.html.urlize()
function was extremely slow to evaluate certain inputs due to catastrophic backtracking vulnerabilities in two regular expressions (only one regular expression for Django 1.8.x). Theurlize()
function is used to implement the urlize and urlizetrunc template filters, which were thus vulnerable.CVE-2024-45231
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).
CVE-2025-48432
An issue was discovered in Django 5.2 before 5.2.2, 5.1 before 5.1.10, and 4.2 before 4.2.22. Internal HTTP response logging does not escape request.path, which allows remote attackers to potentially manipulate log output via crafted URLs. This may lead to log injection or forgery when logs are viewed in terminals or processed by external systems.
Release Notes
django/django (django)
v4.2.22
Compare Source
v4.2.21
Compare Source
v4.2.20
Compare Source
v4.2.19
Compare Source
v4.2.18
Compare Source
v4.2.17
Compare Source
v4.2.16
Compare Source
v4.2.15
Compare Source
v4.2.14
Compare Source
v4.2.13
Compare Source
v4.2.12
Compare Source
v4.2.11
Compare Source
v4.2.10
Compare Source
v4.2.9
Compare Source
v4.2.8
Compare Source
v4.2.7
Compare Source
v4.2.6
Compare Source
v4.2.5
Compare Source
v4.2.4
Compare Source
v4.2.3
Compare Source
v4.2.2
Compare Source
v4.2.1
Compare Source
v4.2
Compare Source
v4.1.13
Compare Source
v4.1.12
Compare Source
v4.1.11
Compare Source
v4.1.10
Compare Source
v4.1.9
Compare Source
v4.1.8
Compare Source
v4.1.7
Compare Source
v4.1.6
Compare Source
v4.1.5
Compare Source
v4.1.4
Compare Source
v4.1.3
Compare Source
v4.1.2
Compare Source
v4.1.1
Compare Source
v4.1
Compare Source
v4.0.10
Compare Source
v4.0.9
Compare Source
v4.0.8
Compare Source
v4.0.7
Compare Source
v4.0.6
Compare Source
v4.0.5
Compare Source
v4.0.4
Compare Source
v4.0.3
Compare Source
v4.0.2
Compare Source
v4.0.1
Compare Source
v4.0
Compare Source
v3.2.25
Compare Source
v3.2.24
Compare Source
v3.2.23
Compare Source
v3.2.22
Compare Source
v3.2.21
Compare Source
v3.2.20
Compare Source
v3.2.19
Compare Source
v3.2.18
Compare Source
v3.2.17
Compare Source
v3.2.16
Compare Source
v3.2.15
Compare Source
v3.2.14
Compare Source
v3.2.13
Compare Source
v3.2.12
Compare Source
v3.2.11
Compare Source
v3.2.10
Compare Source
v3.2.9
Compare Source
v3.2.8
Compare Source
v3.2.7
Compare Source
v3.2.6
Compare Source
v3.2.5
Compare Source
v3.2.4
Compare Source
v3.2.3
Compare Source
v3.2.2
Compare Source
v3.2.1
Compare Source
v3.2
Compare Source
v3.1.14
Compare Source
v3.1.13
Compare Source
v3.1.12
Compare Source
v3.1.11
Compare Source
v3.1.10
Compare Source
v3.1.9
Compare Source
v3.1.8
Compare Source
v3.1.7
Compare Source
v3.1.6
Compare Source
v3.1.5
Compare Source
v3.1.4
Compare Source
v3.1.3
Compare Source
v3.1.2
Compare Source
v3.1.1
Compare Source
v3.1
Compare Source
v3.0.14
Compare Source
v3.0.13
Compare Source
v3.0.12
Compare Source
v3.0.11
Compare Source
v3.0.10
Compare Source
v3.0.9
Compare Source
v3.0.8
Compare Source
v3.0.7
Compare Source
v3.0.6
Compare Source
v3.0.5
Compare Source
v3.0.4
Compare Source
v3.0.3
Compare Source
v3.0.2
Compare Source
v3.0.1
Compare Source
v3.0
Compare Source
v2.2.28
Compare Source
v2.2.27
Compare Source
v2.2.26
Compare Source
v2.2.25
Compare Source
v2.2.24
Compare Source
v2.2.23
Compare Source
v2.2.22
Compare Source
v2.2.21
Compare Source
v2.2.20
Compare Source
v2.2.19
Compare Source
v2.2.18
Compare Source
v2.2.17
Compare Source
v2.2.16
Compare Source
v2.2.15
Compare Source
v2.2.14
Compare Source
v2.2.13
Compare Source
v2.2.12
Compare Source
v2.2.11
Compare Source
v2.2.10
Compare Source
v2.2.9
Compare Source
v2.2.8
Compare Source
v2.2.7
Compare Source
v2.2.6
Compare Source
v2.2.5
Compare Source
v2.2.4
Compare Source
v2.2.3
Compare Source
v2.2.2
Compare Source
v2.2.1
Compare Source
v2.2
Compare Source
v2.1.15
Compare Source
v2.1.14
Compare Source
v2.1.13
Compare Source
v2.1.12
Compare Source
v2.1.11
Compare Source
v2.1.10
Compare Source
v2.1.9
Compare Source
v2.1.8
Compare Source
v2.1.7
Compare Source
v2.1.5
Compare Source
v2.1.4
Compare Source
v2.1.3
Compare Source
v2.1.2
Compare Source
v2.1.1
Compare Source
v2.1
Compare Source
v2.0.13
Compare Source
v2.0.12
Compare Source
v2.0.10
Compare Source
v2.0.9
Compare Source
v2.0.8
Compare Source
v2.0.7
Compare Source
v2.0.6
Compare Source
v2.0.5
Compare Source
v2.0.4
Compare Source
v2.0.3
Compare Source
v2.0.2
Compare Source
v2.0.1
Compare Source
v2.0
Compare Source
v1.11.29
Compare Source
v1.11.28
Compare Source
v1.11.27
Compare Source
v1.11.26
Compare Source
v1.11.25
Compare Source
v1.11.24
Compare Source
v1.11.23
Compare Source
v1.11.22
Compare Source
v1.11.21
Compare Source
v1.11.20
Compare Source
v1.11.18
Compare Source
v1.11.17
Compare Source
v1.11.16
Compare Source
v1.11.15
Compare Source
v1.11.14
Compare Source
v1.11.13
Compare Source
v1.11.12
Compare Source
v1.11.11
Compare Source
v1.11.10
Compare Source
v1.11.9
Compare Source
v1.11.8
Compare Source
v1.11.7
Compare Source
v1.11.6
Compare Source
v1.11.5
Compare Source
v1.11.4
Compare Source
v1.11.3
Compare Source
v1.11.2
Compare Source
v1.11.1
Compare Source
v1.11
Compare Source
v1.10.8
Compare Source
v1.10.7
Compare Source
v1.10.6
Compare Source
v1.10.5
Compare Source
v1.10.4
Compare Source
v1.10.3
Compare Source
v1.10.2
Compare Source
v1.10.1
Compare Source
v1.10
Compare Source
v1.9.13
Compare Source
v1.9.12
Compare Source
v1.9.11
Compare Source
v1.9.10
Compare Source
v1.9.9
Compare Source
v1.9.8
Compare Source
v1.9.7
Compare Source
v1.9.6
Compare Source
v1.9.5
Compare Source
v1.9.4
Compare Source
v1.9.3
Compare Source
v1.9.2
Compare Source
v1.9.1
Compare Source
v1.9
Compare Source
v1.8.19
Compare Source
v1.8.18
Compare Source
v1.8.17
Compare Source
v1.8.16
Compare Source
v1.8.15
Compare Source
v1.8.14
Compare Source
v1.8.13
Compare Source
Configuration
📅 Schedule: Branch creation - "" (UTC), Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR was generated by Mend Renovate. View the repository job log.