7.5high
Stored Command Injection
- Severity
- 7.5high CVSS:3.1 by snyk
- Exploit likelihood
- 3.60% (higher than 89% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- snyk
- Also known as
- GHSA-q4xr-rc97-m4xxPYSEC-2021-858SNYK-PYTHON-CELERY-2314953
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.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| celery | from unspecified before 5.2.2 | CVE List |
| celery (PyPI) | before 5.2.2 | GitHub Advisory Database, PyPA Advisory Database |
| celeryproject celery | before 5.2.2 | NVD |
| fedoraproject extra_packages_for_enterprise_linux | 7.0 | NVD |
| fedoraproject fedora | 35 | NVD |
All scores
| snyk | 7.5high CVSS:3.1 | 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 |
| GitHub | 7.5high CVSS:3.1 | CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H |
| GitHub | high CVSS:4.0 | CVSS:4.0/AV:N/AC:H/AT:N/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N |
| NVD | 7.5high CVSS:3.1 | CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H |
| NVD | 6.0medium CVSS:2.0 | AV:N/AC:M/Au:S/C:P/I:P/A:P |
Classification
What each source says
CVE List
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.
NVD (es)
Esto afecta al paquete celery versiones anteriores a 5.2.2. Por defecto confía en los mensajes y metadatos almacenados en los backends (almacenes de resultados). Cuando son leídos los metadatos de la tarea desde el backend, los datos son deserializados. Dado que un atacante puede conseguir acceso a, o de alguna manera manipular los metadatos dentro de un backend de celery, podría desencadenar una vulnerabilidad de inyección de comandos almacenados y potencialmente conseguir acceso al sistema
References
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2021-23727 changed 2024-09-16 | CVE Terms of Use |
| GitHub Advisory Database | GHSA-q4xr-rc97-m4xx changed 2024-09-06 | CC-BY-4.0 |
| NVD | CVE-2021-23727 changed 2026-06-17 | Public domain |
| PyPA Advisory Database | PYSEC-2021-858 changed 2023-11-08 | CC-BY-4.0 |