VDB
Sign up
—

PYSEC-2021-858

Quick fix

PYSEC-2021-858 — celery: upgrade to the fixed version with the command below.

pip install --upgrade 'celery>=5.2.2'

Details

This affects the package celery before 5.2.2. It by default trusts the messages and metadata stored in backends (result stores). When reading task metadata from the backend, the data is deserialized. Given that an attacker can gain access to, or somehow manipulate the metadata within a celery backend, they could trigger a stored command injection vulnerability and potentially gain further access to the system.

Are you affected?

Enter the version of the package you're using.

Affected packages

PyPI/celery
Introduced in: 0Fixed in: 5.2.2
Fixpip install --upgrade 'celery>=5.2.2'

References