{"api_version":"1","generated_at":"2026-04-22T22:49:45+00:00","cve":"CVE-2021-23727","urls":{"html":"https://cve.report/CVE-2021-23727","api":"https://cve.report/api/cve/CVE-2021-23727.json","docs":"https://cve.report/api","cve_org":"https://www.cve.org/CVERecord?id=CVE-2021-23727","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2021-23727"},"summary":{"title":"CVE-2021-23727","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.","state":"PUBLIC","assigner":"report@snyk.io","published_at":"2021-12-29 17:15:00","updated_at":"2023-11-07 03:30:00"},"problem_types":["CWE-77"],"metrics":[],"references":[{"url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/SYXRGHWHD2WWMHBWCVD5ULVINPKNY3P5/","name":"FEDORA-2022-1dae017601","refsource":"","tags":[],"title":"[SECURITY] Fedora 35 Update: python-celery-5.2.3-2.fc35 - package-announce - Fedora Mailing-Lists","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"https://github.com/celery/celery/blob/master/Changelog.rst%23522","name":"https://github.com/celery/celery/blob/master/Changelog.rst%23522","refsource":"MISC","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":""},{"url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/SYXRGHWHD2WWMHBWCVD5ULVINPKNY3P5/","name":"FEDORA-2022-1dae017601","refsource":"FEDORA","tags":[],"title":"[SECURITY] Fedora 35 Update: python-celery-5.2.3-2.fc35 - package-announce - Fedora Mailing-Lists","mime":"text/html","httpstatus":"200","archivestatus":"404"},{"url":"https://snyk.io/vuln/SNYK-PYTHON-CELERY-2314953","name":"https://snyk.io/vuln/SNYK-PYTHON-CELERY-2314953","refsource":"MISC","tags":[],"title":"Stored Command Injection in celery | CVE-2021-23727 | Snyk","mime":"text/html","httpstatus":"200","archivestatus":"404"},{"url":"https://github.com/celery/celery/blob/master/Changelog.rst#522","name":"MISC:https://github.com/celery/celery/blob/master/Changelog.rst%23522","refsource":"MITRE","tags":[],"title":"celery/Changelog.rst at master · celery/celery · GitHub","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"https://www.cve.org/CVERecord?id=CVE-2021-23727","name":"CVE Program record","refsource":"CVE.ORG","tags":["canonical"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2021-23727","name":"NVD vulnerability detail","refsource":"NVD","tags":["canonical","analysis"]}],"affected":[],"timeline":[],"solutions":[],"workarounds":[],"exploits":[],"credits":[{"source":"LEGACY","value":"Calum Hutton from Snyk Research Team","lang":""}],"nvd_cpes":[{"cve_year":"2021","cve_id":"23727","vulnerable":"1","versionEndIncluding":"","cpe1":"cpe","cpe2":"2.3","cpe3":"a","cpe4":"celeryproject","cpe5":"celery","cpe6":"*","cpe7":"*","cpe8":"*","cpe9":"*","cpe10":"*","cpe11":"python","cpe12":"*","cpe13":"*"},{"cve_year":"2021","cve_id":"23727","vulnerable":"1","versionEndIncluding":"","cpe1":"cpe","cpe2":"2.3","cpe3":"a","cpe4":"fedoraproject","cpe5":"extra_packages_for_enterprise_linux","cpe6":"7.0","cpe7":"*","cpe8":"*","cpe9":"*","cpe10":"*","cpe11":"*","cpe12":"*","cpe13":"*"},{"cve_year":"2021","cve_id":"23727","vulnerable":"1","versionEndIncluding":"","cpe1":"cpe","cpe2":"2.3","cpe3":"o","cpe4":"fedoraproject","cpe5":"fedora","cpe6":"35","cpe7":"*","cpe8":"*","cpe9":"*","cpe10":"*","cpe11":"*","cpe12":"*","cpe13":"*"},{"cve_year":"2021","cve_id":"23727","vulnerable":"1","versionEndIncluding":"","cpe1":"cpe","cpe2":"2.3","cpe3":"a","cpe4":"fedoraproject","cpe5":"fedora_extra_packages_for_enterprise_linux","cpe6":"7.0","cpe7":"*","cpe8":"*","cpe9":"*","cpe10":"*","cpe11":"*","cpe12":"*","cpe13":"*"}],"vendor_comments":[],"enrichments":{"kev":null,"epss":null,"legacy_qids":[{"cve":"CVE-2021-23727","qid":"184288","title":"Debian Security Update for celery (CVE-2021-23727)"},{"cve":"CVE-2021-23727","qid":"282246","title":"Fedora Security Update for python (FEDORA-2022-1dae017601)"},{"cve":"CVE-2021-23727","qid":"691131","title":"Free Berkeley Software Distribution (FreeBSD) Security Update for py39 (0a38a0d9-757f-4ac3-9561-b439e933dfa9)"}]},"source_records":{"cve_program":{"data_type":"CVE","data_format":"MITRE","data_version":"4.0","CVE_data_meta":{"ASSIGNER":"report@snyk.io","DATE_PUBLIC":"2021-12-29T16:34:07.450278Z","ID":"CVE-2021-23727","STATE":"PUBLIC","TITLE":"Stored Command Injection"},"affects":{"vendor":{"vendor_data":[{"product":{"product_data":[{"product_name":"celery","version":{"version_data":[{"version_affected":"<","version_value":"5.2.2"}]}}]},"vendor_name":"n/a"}]}},"problemtype":{"problemtype_data":[{"description":[{"lang":"eng","value":"Stored Command Injection"}]}]},"references":{"reference_data":[{"refsource":"MISC","url":"https://snyk.io/vuln/SNYK-PYTHON-CELERY-2314953","name":"https://snyk.io/vuln/SNYK-PYTHON-CELERY-2314953"},{"refsource":"MISC","url":"https://github.com/celery/celery/blob/master/Changelog.rst%23522","name":"https://github.com/celery/celery/blob/master/Changelog.rst%23522"},{"refsource":"FEDORA","name":"FEDORA-2022-1dae017601","url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/SYXRGHWHD2WWMHBWCVD5ULVINPKNY3P5/"}]},"description":{"description_data":[{"lang":"eng","value":"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."}]},"impact":{"cvss":{"version":"3.1","vectorString":"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","baseScore":7.5,"baseSeverity":"HIGH","attackVector":"NETWORK","attackComplexity":"HIGH","privilegesRequired":"LOW","userInteraction":"NONE","scope":"UNCHANGED","confidentialityImpact":"HIGH","integrityImpact":"HIGH","availabilityImpact":"HIGH"}},"credit":[{"lang":"eng","value":"Calum Hutton from Snyk Research Team"}]},"nvd":{"publishedDate":"2021-12-29 17:15:00","lastModifiedDate":"2023-11-07 03:30:00","problem_types":["CWE-77"],"metrics":{"baseMetricV3":{"cvssV3":{"version":"3.1","vectorString":"CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H","attackVector":"NETWORK","attackComplexity":"HIGH","privilegesRequired":"LOW","userInteraction":"NONE","scope":"UNCHANGED","confidentialityImpact":"HIGH","integrityImpact":"HIGH","availabilityImpact":"HIGH","baseScore":7.5,"baseSeverity":"HIGH"},"exploitabilityScore":1.6,"impactScore":5.9},"baseMetricV2":{"cvssV2":{"version":"2.0","vectorString":"AV:N/AC:M/Au:S/C:P/I:P/A:P","accessVector":"NETWORK","accessComplexity":"MEDIUM","authentication":"SINGLE","confidentialityImpact":"PARTIAL","integrityImpact":"PARTIAL","availabilityImpact":"PARTIAL","baseScore":6},"severity":"MEDIUM","exploitabilityScore":6.8,"impactScore":6.4,"acInsufInfo":false,"obtainAllPrivilege":false,"obtainUserPrivilege":false,"obtainOtherPrivilege":false,"userInteractionRequired":false}},"configurations":{"CVE_data_version":"4.0","nodes":[{"operator":"OR","children":[],"cpe_match":[{"vulnerable":true,"cpe23Uri":"cpe:2.3:a:celeryproject:celery:*:*:*:*:*:python:*:*","versionEndExcluding":"5.2.2","cpe_name":[]}]},{"operator":"OR","children":[],"cpe_match":[{"vulnerable":true,"cpe23Uri":"cpe:2.3:o:fedoraproject:fedora:35:*:*:*:*:*:*:*","cpe_name":[]},{"vulnerable":true,"cpe23Uri":"cpe:2.3:a:fedoraproject:extra_packages_for_enterprise_linux:7.0:*:*:*:*:*:*:*","cpe_name":[]}]}]}},"legacy_mitre":{"record":{"CveYear":"2021","CveId":"23727","Ordinal":"198454","Title":"CVE-2021-23727","CVE":"CVE-2021-23727","Year":"2021"},"notes":[{"CveYear":"2021","CveId":"23727","Ordinal":"1","NoteData":"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.","Type":"Description","Title":null},{"CveYear":"2021","CveId":"23727","Ordinal":"2","NoteData":"2021-12-29","Type":"Other","Title":"Published"},{"CveYear":"2021","CveId":"23727","Ordinal":"3","NoteData":"2022-01-15","Type":"Other","Title":"Modified"}]}}}