Skip to content

OS Command Injection in celery

High severity GitHub Reviewed Published Jan 6, 2022 to the GitHub Advisory Database • Updated Sep 27, 2023

Package

pip celery (pip)

Affected versions

< 5.2.2

Patched versions

5.2.2

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.

References

Published by the National Vulnerability Database Dec 29, 2021
Reviewed Jan 6, 2022
Published to the GitHub Advisory Database Jan 6, 2022
Last updated Sep 27, 2023

Severity

High
7.5
/ 10

CVSS base metrics

Attack vector
Network
Attack complexity
High
Privileges required
Low
User interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
High
CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H

CVE ID

CVE-2021-23727

GHSA ID

GHSA-q4xr-rc97-m4xx

Source code

Loading Checking history
See something to contribute? Suggest improvements for this vulnerability.