CVE catalog

CVE-2021-23727

celery: CVE-2021-23727

[CVE catalog]

Severity
High · CVSS 8CVSS:3.1/AV:N/AC:H/PR:H/UI:N/S:C/C:H/I:H/A:H
Published
Source
[NVD] · [CVE record]
EPSS
3.60% · Oct 25, 2026

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.

Vulnerable and fixed packages

Distribution-reported package versions and fixes. These do not depend on matching against the OpenFactory package catalog.

DistributionPackageReleaseVersionStatus
Debiancelerysid5.6.3-4fixed
Debianceleryforky5.6.3-4fixed
Debiancelerytrixie5.5.2-2fixed
Debiancelerybookworm5.2.6-5fixed
Ubuntucelery14.042.5.3-4ubuntu1vulnerable
Ubuntucelery14.043.1.6-1ubuntu1vulnerable
Ubuntucelery16.043.1.18-1ubuntu1vulnerable
Ubuntucelery16.043.1.20-1vulnerable
Ubuntucelery18.044.0.2-0ubuntu1vulnerable
Ubuntucelery18.044.1.0-2ubuntu1vulnerable
Ubuntucelery20.044.2.1-5fakesync1vulnerable
Ubuntucelery20.044.2.1-5ubuntu1vulnerable
Ubuntucelery24.045.3.1-1vulnerable
Ubuntucelery24.045.3.4-1vulnerable
Ubuntucelery24.045.3.6-1vulnerable

Fixed-version evidence

DistributionPackageTypeReleaseFixed versionUrgencyOriginBugs
Debiancelerysourcesid5.2.3-1not yet assignedNot reportedNot reported
Debiancelerysourceforky5.2.3-1not yet assignedNot reportedNot reported
Debiancelerysourcetrixie5.2.3-1not yet assignedNot reportedNot reported
Debiancelerysourcebookworm5.2.3-1not yet assignedNot reportedNot reported

OpenFactory catalog packages

[Debian 12 (Bookworm)]

  • [celery]Fixed
    Details (2)
    • 5.2.6-5 · all · bookworm

      Fixed · Fixed: 5.2.3-1

      dsa · celery · debian · bookworm; dsa · celery · debian · 12

    • 5.2.6-5 · all · bookworm

      Fixed · Fixed: 5.2.3-1

      dsa · celery · debian · bookworm; dsa · celery · debian · 12

  • Source package: [celery]

    Details (2)
    • 5.2.6-5 · all · bookworm

      Fixed · Fixed: 5.2.3-1

      dsa · celery · debian · bookworm; dsa · celery · debian · 12

    • 5.2.6-5 · all · bookworm

      Fixed · Fixed: 5.2.3-1

      dsa · celery · debian · bookworm; dsa · celery · debian · 12

  • Source package: [celery]

    Details (2)
    • 5.2.6-5 · all · bookworm

      Fixed · Fixed: 5.2.3-1

      dsa · celery · debian · bookworm; dsa · celery · debian · 12

    • 5.2.6-5 · all · bookworm

      Fixed · Fixed: 5.2.3-1

      dsa · celery · debian · bookworm; dsa · celery · debian · 12

  • Source package: [celery]

    Details (2)
    • 5.2.6-5 · all · bookworm

      Fixed · Fixed: 5.2.3-1

      dsa · celery · debian · bookworm; dsa · celery · debian · 12

    • 5.2.6-5 · all · bookworm

      Fixed · Fixed: 5.2.3-1

      dsa · celery · debian · bookworm; dsa · celery · debian · 12

[Debian 13 (Trixie)]

  • [celery]Fixed
    Details (2)
    • 5.5.2-2 · all · trixie

      Fixed · Fixed: 5.2.3-1

      dsa · celery · debian · 13

    • 5.5.2-2 · all · trixie

      Fixed · Fixed: 5.2.3-1

      dsa · celery · debian · 13

  • Source package: [celery]

    Details (2)
    • 5.5.2-2 · all · trixie

      Fixed · Fixed: 5.2.3-1

      dsa · celery · debian · 13

    • 5.5.2-2 · all · trixie

      Fixed · Fixed: 5.2.3-1

      dsa · celery · debian · 13

  • Source package: [celery]

    Details (2)
    • 5.5.2-2 · all · trixie

      Fixed · Fixed: 5.2.3-1

      dsa · celery · debian · 13

    • 5.5.2-2 · all · trixie

      Fixed · Fixed: 5.2.3-1

      dsa · celery · debian · 13

Observed:

References