CVE-2021-23727: celeryproject celery Command Injection
Vulnerability summary
CVE-2021-23727 is a high (CVSS 7.5) Command Injection vulnerability in celeryproject celery. EPSS estimates a 3.88% chance of exploitation in the next 30 days, higher than 90.1% of scored vulnerabilities. 1 public exploit is recorded.
Timeline
- 29-12-2021PublishedVulnerability first disclosed.
- 16-09-2024Last modifiedVulnerability information updated.
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.
CVSS metrics
7 scores · 5 sources · 3 versions- OSV · PypiEcosystem advisory · calculated7.5HighCVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H
- OSV · UbuntuEcosystem advisory · calculated7.5HighCVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H
- OSV · DebianEcosystem advisory · calculated7.5HighCVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H
- NVDNIST7.5HighCVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H
EPSS trend
Probability
3.88%
Chance of exploitation in the next 30 days
Percentile
90%
Versus all other CVEs
30-day change
0.00 pp
From 3.88% on 21-09-2026
Known exploited
Compare KEV catalogsNot in any of the 3 tracked catalogs.
Public exploits
1 foundExploit Reference (snyk.io)
Maturity: unknown
Weaknesses
CWE · root causeAffected systems
Fedoraproject2 products
Mageia2 products
- python-billiard< 3.6.4.0-1.mga8
- python-celery< 5.0.5-1.1.mga8
Celeryproject1 product
- celery< 5.2.2
Debian1 product
- celery< 5.2.3-1
PyPI1 product
- celery< 5.2.2
Ubuntu1 product
- celeryAll versions (No fix recorded)
6 vendors · 8 products
References
15 links- github.com/celery/celery/blob/master/Changelog.rst%23522X Refsource MISCWEBREPORTBroken LinkRelease NotesThird Party Advisory
- github.com/celery/celeryPACKAGE