CVE-2021-23727: Stored Command Injection

Published Dec 29, 2021
·
Updated

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 Software

4 affected componentsFixes available
pip/celery<5.2.2
5.2.2
Celeryproject Celery Python<5.2.2
Fedoraproject Extra Packages For Enterprise Linux=7.0
Fedoraproject Fedora=35

Event History

Dec 29, 2021
CVE Published
via MITRE·04:35 PM
Data Sourced
via MITRE·04:35 PM
DescriptionSeverityWeakness
Jan 6, 2022
Advisory Published
via GitHub·10:22 PM

Frequently Asked Questions

1

What is CVE-2021-23727?

CVE-2021-23727 is a vulnerability that affects the Celery package before version 5.2.2.

2

How does CVE-2021-23727 impact the Celery package?

CVE-2021-23727 allows an attacker to manipulate and gain unauthorized access to task metadata stored in Celery backends.

3

What is the severity of CVE-2021-23727?

CVE-2021-23727 has a severity score of 7.5, which is considered high.

4

How can I fix CVE-2021-23727?

To fix CVE-2021-23727, update the Celery package to version 5.2.2 or higher.

5

Where can I find more information about CVE-2021-23727?

You can find more information about CVE-2021-23727 on the NVD (National Vulnerability Database) website, GitHub, and Snyk.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203