CVE-2021-23727
When reading task metadata from the backend, the data is deserialized.
Does this matter?
High impact if exploited, but EPSS currently rates exploitation as unlikely (3.88%). Schedule it in the normal patch cycle and watch for a rise in EPSS or a public exploit.
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 3.1
- 7.5 HIGHCVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H
- EPSS
- 3.88% probability · 90th percentile
- CISA KEV
- Not listed
- Weakness
- CWE-77
- Affected
- celeryproject/celery · fedoraproject/extra packages for enterprise linux · fedoraproject/fedora
- Source
- report@snyk.io
References
- https://github.com/celery/celery/blob/master/Changelog.rst%23522Broken Link, Release Notes, Third Party Advisory
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/SYXRGHWHD2WWMHBWCVD5ULVINPKNY3P5/
- https://snyk.io/vuln/SNYK-PYTHON-CELERY-2314953Exploit, Third Party Advisory
- https://github.com/celery/celery/blob/master/Changelog.rst%23522Broken Link, Release Notes, Third Party Advisory
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/SYXRGHWHD2WWMHBWCVD5ULVINPKNY3P5/
- https://snyk.io/vuln/SNYK-PYTHON-CELERY-2314953Exploit, Third Party Advisory
Source: NVD record, EPSS from FIRST.org, KEV from CISA. Refreshed daily.