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
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| — | 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.
Debian
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian 14 | celery | 5.2.3-1 | — |
| Debian 13 | celery | 5.2.3-1 | — |
| Debian 12 | celery | 5.2.3-1 | — |
Ubuntu
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| 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
| Ecosystem | Package | Affected | Fixed | Record |
|---|---|---|---|---|
| PyPI | celery | < 5.2.2 | 5.2.2 | GHSA-q4xr-rc97-m4xx |
Advisories 1
- WID-SEC-2023-0426 IBM Spectrum Protect: Mehrere Schwachstellen BSI CERT-Bund (WID) · Jan 6, 2025