{"id":"CVE-2021-23727","published":"2021-12-29T16:35:11Z","modified":"2024-09-16T20:53:22Z","title":"Stored Command Injection","vendor":null,"product":null,"tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":7.5,"severity":"HIGH","version":"3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H/E:P/RL:O/RC:C","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.03598,"percentile":0.89725,"provenance":"source"},"cwes":[],"references":[{"url":"https://snyk.io/vuln/SNYK-PYTHON-CELERY-2314953","tags":["x_refsource_MISC"]},{"url":"https://github.com/celery/celery/blob/master/Changelog.rst%23522","tags":["x_refsource_MISC"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/SYXRGHWHD2WWMHBWCVD5ULVINPKNY3P5/","tags":["vendor-advisory","x_refsource_FEDORA"]}],"priority":{"score":23.2,"factors":[{"name":"EPSS percentile","points":17.95},{"name":"CVSS severity","points":5.25}]},"affectedVersions":[{"vendor":"n/a","product":"celery","versions":[">= unspecified, < 5.2.2"]}],"affected":[{"ecosystem":"PyPI","package":"celery","vulnerableRanges":["<5.2.2"],"patched":["5.2.2"],"from":["GHSA-q4xr-rc97-m4xx","PYSEC-2021-858"],"provenance":"source"}],"summary":{"text":"The flaw is a stored command injection in the celery Python package before 5.2.2, where task metadata read from result backends is deserialized by default because such backends are trusted. An attacker who can access or manipulate the metadata held in a Celery backend can trigger the injection, which may lead to further access to the underlying system, provided they already have some foothold to reach or alter that stored data.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T06:40:23Z"},"euvd":{"id":"EUVD-2021-0040","exploited":false,"provenance":"source"}}