Skip to content
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

chore(deps-dev): bump django from 4.2.5 to 4.2.6 #1753

Merged
merged 1 commit into from Oct 5, 2023

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Oct 4, 2023

Bumps django from 4.2.5 to 4.2.6.

Commits
  • c22017b [4.2.x] Bumped version for 4.2.6 release.
  • be9c27c [4.2.x] Fixed CVE-2023-43665 -- Mitigated potential DoS in django.utils.text....
  • 39fc3f4 [4.2.x] Added stub release notes and release date for 4.2.6, 4.1.12, and 3.2.22.
  • dd0bf63 [4.2.x] Added warning about flatpages and untrusted users.
  • fec4ed0 [4.2.x] Refs #34320 -- Skipped SchemaTests.test_rename_field_with_check_to_tr...
  • a148461 [4.2.x] Fixed #34840 -- Avoided casting string base fields on PostgreSQL.
  • b08f53f [4.2.x] Refs #34808 -- Doc'd that aggregation functions on empty groups can r...
  • c70f08c [4.2.x] Added updating the Django release process on Trac to release steps.
  • d485aa2 [4.2.x] Fixed typo in docs/howto/custom-file-storage.txt.
  • ff26e6a [4.2.x] Corrected QuerySet.prefetch_related() note about GenericRelation().
  • Additional commits viewable in compare view

Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

Bumps [django](https://github.com/django/django) from 4.2.5 to 4.2.6.
- [Commits](django/django@4.2.5...4.2.6)

---
updated-dependencies:
- dependency-name: django
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot bot requested a review from a team as a code owner October 4, 2023 21:19
@dependabot dependabot bot added the dependencies [auto] Pull requests that update 3rd party software libraries and requirements label Oct 4, 2023
@github-actions
Copy link

github-actions bot commented Oct 4, 2023

Coverage report

The coverage rate went from 90.9% to 90.9% ⬆️
The branch rate is 85%.

None of the new lines are part of the tested code. Therefore, there is no coverage data about them.

@machikoyasuda
Copy link
Member

This is a security release: https://www.djangoproject.com/weblog/2023/oct/04/security-releases/


CVE-2023-43665: Denial-of-service possibility in django.utils.text.Truncator

Following the fix for CVE-2019-14232, the regular expressions used in the implementation of django.utils.text.Truncator’s chars() and words() methods (with html=True) were revised and improved. However, these regular expressions still exhibited linear backtracking complexity, so when given a very long, potentially malformed HTML input, the evaluation would still be slow, leading to a potential denial of service vulnerability.

The chars() and words() methods are used to implement the truncatechars_html and truncatewords_html template filters, which were thus also vulnerable.

The input processed by Truncator, when operating in HTML mode, has been limited to the first five million characters in order to avoid potential performance and memory issues.

Thanks Wenchao Li of Alibaba Group for the report.

This issue has severity "moderate" according to the Django security policy.

@machikoyasuda machikoyasuda self-assigned this Oct 5, 2023
Copy link
Member

@machikoyasuda machikoyasuda left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Tested locally

@machikoyasuda machikoyasuda merged commit ef11391 into dev Oct 5, 2023
10 checks passed
@machikoyasuda machikoyasuda deleted the dependabot/pip/django-4.2.6 branch October 5, 2023 22:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dependencies [auto] Pull requests that update 3rd party software libraries and requirements
Projects
Status: Done
Development

Successfully merging this pull request may close these issues.

None yet

1 participant