Command Injection in celery - CVE-2021-23727

 

Command Injection in celery - CVE-2021-23727

Published: October 24, 2023


Vulnerability identifier: #VU82326
CSH Severity: Medium
CVSS v4: 7.7 [CVSS:4.0/AV:N/AC:L/AT:P/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N]
CVE-ID: CVE-2021-23727
CWE-ID: CWE-77
Exploitation vector: Remote access
Exploit availability: No public exploit available

Vulnerability details

The vulnerability allows a remote user to execute arbitrary code on the target system.

The vulnerability exists due to celery by default trusts the messages and metadata stored in backends (result stores). A remote user can trigger the vulnerability and execute arbitrary code on the target system.


Affected software

celery
QRadar Assistant
Fedora
Qradar Advisor
python-celery
python-kombu

How to mitigate CVE-2021-23727

Install updates from vendor's website.

celery - update to 5.2.2
Qradar Advisor - update to 2.6.4
QRadar Assistant - update to 3.8.0
python-celery - addressed in versions 5.2.3-1.fc35, 5.2.3-2.fc35
python-kombu - update to 5.2.3-1.fc35

External References

Related Security Bulletins