Security mailing lists by PureSourceCode

CVE-2021-23727

HIGH 7.5CVSS 3.1

OS Command Injection in celery

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.

Published
29 Dec 2021
Last modified
17 Jun 2026
Assigned by
report@snyk.io
NVD status
Modified
Weakness
CWE-77CWE-78
Also known as
GHSA-q4xr-rc97-m4xxPYSEC-2021-858SNYK-PYTHON-CELERY-2314953
Sources
NVDJSONOSV GHSA-q4xr-rc97-m4xxJSONOSV PYSEC-2021-858JSON

Scores

SourceScored byVersionScoreVector / decision
OSV GitHub CVSS 4.0 CVSS:4.0/AV:N/AC:H/AT:N/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N
NVD report@snyk.io (Secondary) CVSS 3.1 HIGH 7.5 CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H
NVD nvd@nist.gov (Primary) CVSS 3.1 HIGH 7.5 CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H
OSV GitHub CVSS 3.1 HIGH 7.5 CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H
NVD nvd@nist.gov (Primary) CVSS 2.0 MEDIUM 6.0 AV:N/AC:M/Au:S/C:P/I:P/A:P

Affected

SourceVendor / ecosystemProduct / packageAffected versionsFixed in
NVD celeryproject celery
cpe:2.3:a:celeryproject:celery:*:*:*:*:*:python:*:*
< 5.2.2 5.2.2
NVD fedoraproject extra_packages_for_enterprise_linux
cpe:2.3:a:fedoraproject:extra_packages_for_enterprise_linux:7.0:*:*:*:*:*:*:*
= 7.0
NVD fedoraproject fedora
cpe:2.3:o:fedoraproject:fedora:35:*:*:*:*:*:*:*
= 35
OSV PyPI celery < 5.2.2 5.2.2

References

History

  • 25 Nov 2026 20:33 UTC · NVD: first stored (published 29 Dec 2021)
  • 25 Nov 2026 20:12 UTC · OSV: first stored (published 29 Dec 2021)
  • 25 Nov 2026 20:12 UTC · OSV: first stored (published 6 Jan 2022)
An unhandled error has occurred. Reload ×

Rejoining the server...

Rejoin failed... trying again in seconds.

Failed to rejoin.
Please retry or reload the page.

The session has been paused by the server.

Failed to resume the session.
Please retry or reload the page.