The SIO2 project
  1. The SIO2 project
  2. SIO-1933

Celery 3.2 Pickle use explicitly or not at all

    Details

      Description

      Starting from version 3.2 Celery will refuse to accept pickle by default.

      The pickle serializer is a security concern as it may give attackers
      the ability to execute any command. It's important to secure
      your broker from unauthorized access when using pickle, so we think
      that enabling pickle should require a deliberate action and not be
      the default choice.

      If you depend on pickle then you should set a setting to disable this
      warning and to be sure that everything will continue working
      when you upgrade to Celery 3.2::

          CELERY_ACCEPT_CONTENT = ['pickle', 'json', 'msgpack', 'yaml']

      You must only enable the serializers that you will actually use.

        warnings.warn(CDeprecationWarning(W_PICKLE_DEPRECATED))

        Activity

        Hide
        Szymon Acedański added a comment -
        This issue has been automatically closed as Obsolete due to no activity for 365 days.

        Feel free to reopen it or create a new one if it's still relevant.
        Show
        Szymon Acedański added a comment - This issue has been automatically closed as Obsolete due to no activity for 365 days. Feel free to reopen it or create a new one if it's still relevant.

          People

          • Assignee:
            Szymon Acedański
            Reporter:
            Szymon Pajzert
          • Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: