Skip to content
This repository has been archived by the owner on Aug 12, 2024. It is now read-only.

build(deps): [security] bump jinja2 from 2.11.1 to 2.11.3 #436

Open
wants to merge 1 commit into
base: develop
Choose a base branch
from

Conversation

dependabot-preview[bot]
Copy link
Contributor

Bumps jinja2 from 2.11.1 to 2.11.3. This update includes a security fix.

Vulnerabilities fixed

Sourced from The GitHub Security Advisory Database.

Regular Expression Denial of Service (ReDoS) This affects the package jinja2 from 0.0.0 and before 2.11.3. The ReDOS vulnerability of the regex is mainly due to the sub-pattern [a-zA-Z0-9.-]+.[a-zA-Z0-9.-]+ This issue can be mitigated by Markdown to format user content instead of the urlize filter, or by implementing request timeouts and limiting process memory.

Affected versions: < 2.11.3

Release notes

Sourced from jinja2's releases.

2.11.3

This contains a fix for a speed issue with the urlize filter. urlize is likely to be called on untrusted user input. For certain inputs some of the regular expressions used to parse the text could take a very long time due to backtracking. As part of the fix, the email matching became slightly stricter. The various speedups apply to urlize in general, not just the specific input cases.

2.11.2

Changelog

Sourced from jinja2's changelog.

Version 2.11.3

Released 2021-01-31

  • Improve the speed of the urlize filter by reducing regex backtracking. Email matching requires a word character at the start of the domain part, and only word characters in the TLD. 1343

Version 2.11.2

Released 2020-04-13

  • Fix a bug that caused callable objects with __getattr__, like ~unittest.mock.Mock to be treated as a contextfunction. 1145
  • Update wordcount filter to trigger Undefined methods by wrapping the input in soft_str. 1160
  • Fix a hang when displaying tracebacks on Python 32-bit. 1162
  • Showing an undefined error for an object that raises AttributeError on access doesn't cause a recursion error. 1177
  • Revert changes to ~loaders.PackageLoader from 2.10 which removed the dependency on setuptools and pkg_resources, and added limited support for namespace packages. The changes caused issues when using Pytest. Due to the difficulty in supporting Python 2 and 451 simultaneously, the changes are reverted until 3.0. 1182
  • Fix line numbers in error messages when newlines are stripped. 1178
  • The special namespace() assignment object in templates works in async environments. 1180
  • Fix whitespace being removed before tags in the middle of lines when lstrip_blocks is enabled. 1138
  • ~nativetypes.NativeEnvironment doesn't evaluate intermediate strings during rendering. This prevents early evaluation which could change the value of an expression. 1186
Commits

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 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)
  • @dependabot use these labels will set the current labels as the default for future PRs for this repo and language
  • @dependabot use these reviewers will set the current reviewers as the default for future PRs for this repo and language
  • @dependabot use these assignees will set the current assignees as the default for future PRs for this repo and language
  • @dependabot use this milestone will set the current milestone as the default for future PRs for this repo and language
  • @dependabot badge me will comment on this PR with code to add a "Dependabot enabled" badge to your readme

Additionally, you can set the following in your Dependabot dashboard:

  • Update frequency (including time of day and day of week)
  • Pull request limits (per update run and/or open at any time)
  • Out-of-range updates (receive only lockfile updates, if desired)
  • Security updates (receive only security updates, if desired)

Bumps [jinja2](https://github.com/pallets/jinja) from 2.11.1 to 2.11.3. **This update includes a security fix.**
- [Release notes](https://github.com/pallets/jinja/releases)
- [Changelog](https://github.com/pallets/jinja/blob/master/CHANGES.rst)
- [Commits](pallets/jinja@2.11.1...2.11.3)

Signed-off-by: dependabot-preview[bot] <[email protected]>
@dependabot-preview dependabot-preview bot added dependabot dependencies Pull requests that update a dependency file security Pull requests that address a security vulnerability labels Mar 19, 2021
@dependabot-preview
Copy link
Contributor Author

Dependabot tried to add @shekhar-shubhendu and @noandrea as reviewers to this PR, but received the following error from GitHub:

POST https://api.github.com/repos/aeternity/aepp-sdk-python/pulls/436/requested_reviewers: 422 - Reviews may only be requested from collaborators. One or more of the users or teams you specified is not a collaborator of the aeternity/aepp-sdk-python repository. // See: https://docs.github.com/rest/reference/pulls#request-reviewers-for-a-pull-request

@codecov
Copy link

codecov bot commented Mar 19, 2021

Codecov Report

Merging #436 (d7711f0) into develop (58ac2d1) will decrease coverage by 0.32%.
The diff coverage is n/a.

Impacted file tree graph

@@             Coverage Diff             @@
##           develop     #436      +/-   ##
===========================================
- Coverage    78.13%   77.80%   -0.33%     
===========================================
  Files           18       18              
  Lines         2785     2785              
===========================================
- Hits          2176     2167       -9     
- Misses         609      618       +9     
Impacted Files Coverage Δ
aeternity/exceptions.py 85.71% <0.00%> (-14.29%) ⬇️
aeternity/node.py 85.76% <0.00%> (-1.16%) ⬇️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 58ac2d1...d7711f0. Read the comment docs.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
dependabot dependencies Pull requests that update a dependency file security Pull requests that address a security vulnerability
Projects
None yet
Development

Successfully merging this pull request may close these issues.

0 participants