PYSEC-2021-858

At a glance

Published
Updated
CVE
CVE-2021-23727
Aliases
GHSA-q4xr-rc97-m4xx, SNYK-PYTHON-CELERY-2314953

Description

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.

Affected packages

PackageVersions
PyPI · celeryintroduced 0, fixed 5.2.2

References

Sources

SourceLicence
OSV.devCC-BY 4.0 — PyPA Advisory Database