osbdr / pipeline-django-semver-demo

Demo Repository with Sematic Versioning applied in a Django Python example, and autodeployment of releases.
MIT License
5 stars 1 forks source link

chore(deps): update dependency django to v4 [security] #78

Open renovate[bot] opened 3 months ago

renovate[bot] commented 3 months ago

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
Django (changelog) ==3.1.2 -> ==4.2.16 age adoption passing confidence

GitHub Vulnerability Alerts

CVE-2021-3281

In Django 2.2 before 2.2.18, 3.0 before 3.0.12, and 3.1 before 3.1.6, the django.utils.archive.extract method (used by "startapp --template" and "startproject --template") allows directory traversal via an archive with absolute paths or relative paths with dot segments.

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-2021-32052

In Django 2.2 before 2.2.22, 3.1 before 3.1.10, and 3.2 before 3.2.2 (with Python 3.9.5+), URLValidator does not prohibit newlines and tabs (unless the URLField form field is used). If an application uses values with newlines in an HTTP response, header injection can occur. Django itself is unaffected because HttpResponse prohibits newlines in HTTP headers.

CVE-2021-28658

In Django 2.2 before 2.2.20, 3.0 before 3.0.14, and 3.1 before 3.1.8, MultiPartParser allowed directory traversal via uploaded files with suitably crafted file names. Built-in upload handlers were not affected by this vulnerability.

CVE-2021-35042

Django 3.1.x before 3.1.13 and 3.2.x before 3.2.5 allows QuerySet.order_by SQL injection if order_by is untrusted input from a client of a web application.

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-2021-31542

In Django 2.2 before 2.2.21, 3.1 before 3.1.9, and 3.2 before 3.2.1, MultiPartParser, UploadedFile, and FieldFile allowed directory traversal via uploaded files with suitably crafted file names.

CVE-2021-33571

In Django 2.2 before 2.2.24, 3.x before 3.1.12, and 3.2 before 3.2.4, URLValidator, validate_ipv4_address, and validate_ipv46_address do not prohibit leading zero characters in octal literals. This may allow a bypass of access control that is based on IP addresses. (validate_ipv4_address and validate_ipv46_address are unaffected with Python 3.9.5+..) .

CVE-2021-44420

In Django 2.2 before 2.2.25, 3.1 before 3.1.14, and 3.2 before 3.2.10, HTTP requests for URLs with trailing newlines could bypass upstream access control based on URL paths. This issue has low severity, according to the Django security policy.

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).


Release Notes

django/django (Django) ### [`v4.2.16`](https://redirect.github.com/django/django/compare/4.2.15...4.2.16) [Compare Source](https://redirect.github.com/django/django/compare/4.2.15...4.2.16) ### [`v4.2.15`](https://redirect.github.com/django/django/compare/4.2.14...4.2.15) [Compare Source](https://redirect.github.com/django/django/compare/4.2.14...4.2.15) ### [`v4.2.14`](https://redirect.github.com/django/django/compare/4.2.13...4.2.14) [Compare Source](https://redirect.github.com/django/django/compare/4.2.13...4.2.14) ### [`v4.2.13`](https://redirect.github.com/django/django/compare/4.2.12...4.2.13) [Compare Source](https://redirect.github.com/django/django/compare/4.2.12...4.2.13) ### [`v4.2.12`](https://redirect.github.com/django/django/compare/4.2.11...4.2.12) [Compare Source](https://redirect.github.com/django/django/compare/4.2.11...4.2.12) ### [`v4.2.11`](https://redirect.github.com/django/django/compare/4.2.10...4.2.11) [Compare Source](https://redirect.github.com/django/django/compare/4.2.10...4.2.11) ### [`v4.2.10`](https://redirect.github.com/django/django/compare/4.2.9...4.2.10) [Compare Source](https://redirect.github.com/django/django/compare/4.2.9...4.2.10) ### [`v4.2.9`](https://redirect.github.com/django/django/compare/4.2.8...4.2.9) [Compare Source](https://redirect.github.com/django/django/compare/4.2.8...4.2.9) ### [`v4.2.8`](https://redirect.github.com/django/django/compare/4.2.7...4.2.8) [Compare Source](https://redirect.github.com/django/django/compare/4.2.7...4.2.8) ### [`v4.2.7`](https://redirect.github.com/django/django/compare/4.2.6...4.2.7) [Compare Source](https://redirect.github.com/django/django/compare/4.2.6...4.2.7) ### [`v4.2.6`](https://redirect.github.com/django/django/compare/4.2.5...4.2.6) [Compare Source](https://redirect.github.com/django/django/compare/4.2.5...4.2.6) ### [`v4.2.5`](https://redirect.github.com/django/django/compare/4.2.4...4.2.5) [Compare Source](https://redirect.github.com/django/django/compare/4.2.4...4.2.5) ### [`v4.2.4`](https://redirect.github.com/django/django/compare/4.2.3...4.2.4) [Compare Source](https://redirect.github.com/django/django/compare/4.2.3...4.2.4) ### [`v4.2.3`](https://redirect.github.com/django/django/compare/4.2.2...4.2.3) [Compare Source](https://redirect.github.com/django/django/compare/4.2.2...4.2.3) ### [`v4.2.2`](https://redirect.github.com/django/django/compare/4.2.1...4.2.2) [Compare Source](https://redirect.github.com/django/django/compare/4.2.1...4.2.2) ### [`v4.2.1`](https://redirect.github.com/django/django/compare/4.2...4.2.1) [Compare Source](https://redirect.github.com/django/django/compare/4.2...4.2.1) ### [`v4.2`](https://redirect.github.com/django/django/compare/4.1.13...4.2) [Compare Source](https://redirect.github.com/django/django/compare/4.1.13...4.2) ### [`v4.1.13`](https://redirect.github.com/django/django/compare/4.1.12...4.1.13) [Compare Source](https://redirect.github.com/django/django/compare/4.1.12...4.1.13) ### [`v4.1.12`](https://redirect.github.com/django/django/compare/4.1.11...4.1.12) [Compare Source](https://redirect.github.com/django/django/compare/4.1.11...4.1.12) ### [`v4.1.11`](https://redirect.github.com/django/django/compare/4.1.10...4.1.11) [Compare Source](https://redirect.github.com/django/django/compare/4.1.10...4.1.11) ### [`v4.1.10`](https://redirect.github.com/django/django/compare/4.1.9...4.1.10) [Compare Source](https://redirect.github.com/django/django/compare/4.1.9...4.1.10) ### [`v4.1.9`](https://redirect.github.com/django/django/compare/4.1.8...4.1.9) [Compare Source](https://redirect.github.com/django/django/compare/4.1.8...4.1.9) ### [`v4.1.8`](https://redirect.github.com/django/django/compare/4.1.7...4.1.8) [Compare Source](https://redirect.github.com/django/django/compare/4.1.7...4.1.8) ### [`v4.1.7`](https://redirect.github.com/django/django/compare/4.1.6...4.1.7) [Compare Source](https://redirect.github.com/django/django/compare/4.1.6...4.1.7) ### [`v4.1.6`](https://redirect.github.com/django/django/compare/4.1.5...4.1.6) [Compare Source](https://redirect.github.com/django/django/compare/4.1.5...4.1.6) ### [`v4.1.5`](https://redirect.github.com/django/django/compare/4.1.4...4.1.5) [Compare Source](https://redirect.github.com/django/django/compare/4.1.4...4.1.5) ### [`v4.1.4`](https://redirect.github.com/django/django/compare/4.1.3...4.1.4) [Compare Source](https://redirect.github.com/django/django/compare/4.1.3...4.1.4) ### [`v4.1.3`](https://redirect.github.com/django/django/compare/4.1.2...4.1.3) [Compare Source](https://redirect.github.com/django/django/compare/4.1.2...4.1.3) ### [`v4.1.2`](https://redirect.github.com/django/django/compare/4.1.1...4.1.2) [Compare Source](https://redirect.github.com/django/django/compare/4.1.1...4.1.2) ### [`v4.1.1`](https://redirect.github.com/django/django/compare/4.1...4.1.1) [Compare Source](https://redirect.github.com/django/django/compare/4.1...4.1.1) ### [`v4.1`](https://redirect.github.com/django/django/compare/4.0.10...4.1) [Compare Source](https://redirect.github.com/django/django/compare/4.0.10...4.1) ### [`v4.0.10`](https://redirect.github.com/django/django/compare/4.0.9...4.0.10) [Compare Source](https://redirect.github.com/django/django/compare/4.0.9...4.0.10) ### [`v4.0.9`](https://redirect.github.com/django/django/compare/4.0.8...4.0.9) [Compare Source](https://redirect.github.com/django/django/compare/4.0.8...4.0.9) ### [`v4.0.8`](https://redirect.github.com/django/django/compare/4.0.7...4.0.8) [Compare Source](https://redirect.github.com/django/django/compare/4.0.7...4.0.8) ### [`v4.0.7`](https://redirect.github.com/django/django/compare/4.0.6...4.0.7) [Compare Source](https://redirect.github.com/django/django/compare/4.0.6...4.0.7) ### [`v4.0.6`](https://redirect.github.com/django/django/compare/4.0.5...4.0.6) [Compare Source](https://redirect.github.com/django/django/compare/4.0.5...4.0.6) ### [`v4.0.5`](https://redirect.github.com/django/django/compare/4.0.4...4.0.5) [Compare Source](https://redirect.github.com/django/django/compare/4.0.4...4.0.5) ### [`v4.0.4`](https://redirect.github.com/django/django/compare/4.0.3...4.0.4) [Compare Source](https://redirect.github.com/django/django/compare/4.0.3...4.0.4) ### [`v4.0.3`](https://redirect.github.com/django/django/compare/4.0.2...4.0.3) [Compare Source](https://redirect.github.com/django/django/compare/4.0.2...4.0.3) ### [`v4.0.2`](https://redirect.github.com/django/django/compare/4.0.1...4.0.2) [Compare Source](https://redirect.github.com/django/django/compare/4.0.1...4.0.2) ### [`v4.0.1`](https://redirect.github.com/django/django/compare/4.0...4.0.1) [Compare Source](https://redirect.github.com/django/django/compare/4.0...4.0.1) ### [`v4.0`](https://redirect.github.com/django/django/compare/3.2.25...4.0) [Compare Source](https://redirect.github.com/django/django/compare/3.2.25...4.0) ### [`v3.2.25`](https://redirect.github.com/django/django/compare/3.2.24...3.2.25) [Compare Source](https://redirect.github.com/django/django/compare/3.2.24...3.2.25) ### [`v3.2.24`](https://redirect.github.com/django/django/compare/3.2.23...3.2.24) [Compare Source](https://redirect.github.com/django/django/compare/3.2.23...3.2.24) ### [`v3.2.23`](https://redirect.github.com/django/django/compare/3.2.22...3.2.23) [Compare Source](https://redirect.github.com/django/django/compare/3.2.22...3.2.23) ### [`v3.2.22`](https://redirect.github.com/django/django/compare/3.2.21...3.2.22) [Compare Source](https://redirect.github.com/django/django/compare/3.2.21...3.2.22) ### [`v3.2.21`](https://redirect.github.com/django/django/compare/3.2.20...3.2.21) [Compare Source](https://redirect.github.com/django/django/compare/3.2.20...3.2.21) ### [`v3.2.20`](https://redirect.github.com/django/django/compare/3.2.19...3.2.20) [Compare Source](https://redirect.github.com/django/django/compare/3.2.19...3.2.20) ### [`v3.2.19`](https://redirect.github.com/django/django/compare/3.2.18...3.2.19) [Compare Source](https://redirect.github.com/django/django/compare/3.2.18...3.2.19) ### [`v3.2.18`](https://redirect.github.com/django/django/compare/3.2.17...3.2.18) [Compare Source](https://redirect.github.com/django/django/compare/3.2.17...3.2.18) ### [`v3.2.17`](https://redirect.github.com/django/django/compare/3.2.16...3.2.17) [Compare Source](https://redirect.github.com/django/django/compare/3.2.16...3.2.17) ### [`v3.2.16`](https://redirect.github.com/django/django/compare/3.2.15...3.2.16) [Compare Source](https://redirect.github.com/django/django/compare/3.2.15...3.2.16) ### [`v3.2.15`](https://redirect.github.com/django/django/compare/3.2.14...3.2.15) [Compare Source](https://redirect.github.com/django/django/compare/3.2.14...3.2.15) ### [`v3.2.14`](https://redirect.github.com/django/django/compare/3.2.13...3.2.14) [Compare Source](https://redirect.github.com/django/django/compare/3.2.13...3.2.14) ### [`v3.2.13`](https://redirect.github.com/django/django/compare/3.2.12...3.2.13) [Compare Source](https://redirect.github.com/django/django/compare/3.2.12...3.2.13) ### [`v3.2.12`](https://redirect.github.com/django/django/compare/3.2.11...3.2.12) [Compare Source](https://redirect.github.com/django/django/compare/3.2.11...3.2.12) ### [`v3.2.11`](https://redirect.github.com/django/django/compare/3.2.10...3.2.11) [Compare Source](https://redirect.github.com/django/django/compare/3.2.10...3.2.11) ### [`v3.2.10`](https://redirect.github.com/django/django/compare/3.2.9...3.2.10) [Compare Source](https://redirect.github.com/django/django/compare/3.2.9...3.2.10) ### [`v3.2.9`](https://redirect.github.com/django/django/compare/3.2.8...3.2.9) [Compare Source](https://redirect.github.com/django/django/compare/3.2.8...3.2.9) ### [`v3.2.8`](https://redirect.github.com/django/django/compare/3.2.7...3.2.8) [Compare Source](https://redirect.github.com/django/django/compare/3.2.7...3.2.8) ### [`v3.2.7`](https://redirect.github.com/django/django/compare/3.2.6...3.2.7) [Compare Source](https://redirect.github.com/django/django/compare/3.2.6...3.2.7) ### [`v3.2.6`](https://redirect.github.com/django/django/compare/3.2.5...3.2.6) [Compare Source](https://redirect.github.com/django/django/compare/3.2.5...3.2.6) ### [`v3.2.5`](https://redirect.github.com/django/django/compare/3.2.4...3.2.5) [Compare Source](https://redirect.github.com/django/django/compare/3.2.4...3.2.5) ### [`v3.2.4`](https://redirect.github.com/django/django/compare/3.2.3...3.2.4) [Compare Source](https://redirect.github.com/django/django/compare/3.2.3...3.2.4) ### [`v3.2.3`](https://redirect.github.com/django/django/compare/3.2.2...3.2.3) [Compare Source](https://redirect.github.com/django/django/compare/3.2.2...3.2.3) ### [`v3.2.2`](https://redirect.github.com/django/django/compare/3.2.1...3.2.2) [Compare Source](https://redirect.github.com/django/django/compare/3.2.1...3.2.2) ### [`v3.2.1`](https://redirect.github.com/django/django/compare/3.2...3.2.1) [Compare Source](https://redirect.github.com/django/django/compare/3.2...3.2.1) ### [`v3.2`](https://redirect.github.com/django/django/compare/3.1.14...3.2) [Compare Source](https://redirect.github.com/django/django/compare/3.1.14...3.2) ### [`v3.1.14`](https://redirect.github.com/django/django/compare/3.1.13...3.1.14) [Compare Source](https://redirect.github.com/django/django/compare/3.1.13...3.1.14) ### [`v3.1.13`](https://redirect.github.com/django/django/compare/3.1.12...3.1.13) [Compare Source](https://redirect.github.com/django/django/compare/3.1.12...3.1.13) ### [`v3.1.12`](https://redirect.github.com/django/django/compare/3.1.11...3.1.12) [Compare Source](https://redirect.github.com/django/django/compare/3.1.11...3.1.12) ### [`v3.1.11`](https://redirect.github.com/django/django/compare/3.1.10...3.1.11) [Compare Source](https://redirect.github.com/django/django/compare/3.1.10...3.1.11) ### [`v3.1.10`](https://redirect.github.com/django/django/compare/3.1.9...3.1.10) [Compare Source](https://redirect.github.com/django/django/compare/3.1.9...3.1.10) ### [`v3.1.9`](https://redirect.github.com/django/django/compare/3.1.8...3.1.9) [Compare Source](https://redirect.github.com/django/django/compare/3.1.8...3.1.9) ### [`v3.1.8`](https://redirect.github.com/django/django/compare/3.1.7...3.1.8) [Compare Source](https://redirect.github.com/django/django/compare/3.1.7...3.1.8) ### [`v3.1.7`](https://redirect.github.com/django/django/compare/3.1.6...3.1.7) [Compare Source](https://redirect.github.com/django/django/compare/3.1.6...3.1.7) ### [`v3.1.6`](https://redirect.github.com/django/django/compare/3.1.5...3.1.6) [Compare Source](https://redirect.github.com/django/django/compare/3.1.5...3.1.6) ### [`v3.1.5`](https://redirect.github.com/django/django/compare/3.1.4...3.1.5) [Compare Source](https://redirect.github.com/django/django/compare/3.1.4...3.1.5) ### [`v3.1.4`](https://redirect.github.com/django/django/compare/3.1.3...3.1.4) [Compare Source](https://redirect.github.com/django/django/compare/3.1.3...3.1.4) ### [`v3.1.3`](https://redirect.github.com/django/django/compare/3.1.2...3.1.3) [Compare Source](https://redirect.github.com/django/django/compare/3.1.2...3.1.3)

Configuration

📅 Schedule: Branch creation - "" (UTC), Automerge - At any time (no schedule defined).

🚦 Automerge: Enabled.

Rebasing: Whenever PR is behind base branch, 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.