Skip to content
OpenAdvisories
High · 7.5 CVE-2021-23727 EUVD-2021-0040GHSA-q4xr-rc97-m4xxPYSEC-2021-858SNYK-PYTHON-CELERY-2314953

Stored Command Injection

Published Dec 29, 2021 · Updated Sep 16, 2024 · Assigned by snyk

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 products

VendorProductAffectedFixed
— celery unspecified – < 5.2.2 5.2.2

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Debian 14 celery 5.2.3-1 —
Debian 13 celery 5.2.3-1 —
Debian 12 celery 5.2.3-1 —
ReleasePackageFixed inAdvisory
Ubuntu 24.04 LTS celery No fix yet —
Ubuntu 20.04 LTS celery No fix yet —
Ubuntu 18.04 LTS celery No fix yet —
Ubuntu 16.04 LTS celery No fix yet —
Ubuntu 14.04 LTS celery No fix yet —

Affected packages

EcosystemPackageAffectedFixedRecord
PyPI celery < 5.2.2 5.2.2 GHSA-q4xr-rc97-m4xx

Advisories 1

References