Advisory

PYSEC-2021-858

Also known as: CVE-2021-23727, GHSA-q4xr-rc97-m4xx, SNYK-PYTHON-CELERY-2314953

Summary

The record has no summary.

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.

Severity

Not rated by the source.

Dates

Published
2021-12-29 17:15 UTC
Modified
2023-11-08 04:05 UTC

Affected packages and fixes

celery

PyPI · All systems

Affected

  • introduced 0, fixed 5.2.2 (ecosystem)

Fixed versions

5.2.2

Fix

  • Fixed version 5.2.2
    pip install --upgrade celery==5.2.2

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: PyPA Advisory Database · CC BY 4.0

Sources & licences