CVE-2021-23727
Celeryproject Celery vulnerability
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 products
Celery, Extra Packages For Enterprise Linux, Fedora. The exact versions are in the references.
What to do now
- Check your exposureFind out whether Celeryproject Celery runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Set the orderSystems that can be reached from the internet come first, then the rest.
References
- github.com/celery/celery/blob/master/Changelog.rst%23522 · Third Party Advisory
- snyk.io/vuln/SNYK-PYTHON-CELERY-2314953 · Exploit
- lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/S
- nvd.nist.gov/vuln/detail/CVE-2021-23727
- github.com/celery/celery/commit/1f7ad7e6df1e02039b6ab9eec617d283598cad6b
- github.com/advisories/GHSA-q4xr-rc97-m4xx
- github.com/pypa/advisory-database/tree/main/vulns/celery/PYSEC-2021-858.yaml
- lists.fedoraproject.org/archives/list/[email protected]/message/SYX
- nvd.nist.gov/vuln/detail/CVE-2021-23727
- cve.org/CVERecord?id=CVE-2021-23727
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.