GitHub Advisoryadvisory · PyPI

GHSA-q4xr-rc97-m4xx OS Command Injection in celery

HIGH Published 2022-01-06 Modified 2024-09-06 Official page ↗
Aliases
CVE-2021-23727
Ecosystem
PyPI
Packages
celery
Severity
High
CVSS vector
CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H
Weaknesses
CWE-77, CWE-78
Reviewed
2022-01-06

Affected packages

• PyPI celery: < 5.2.2 → fixed in 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.

Related

Alias · CVE (1)

  • CVE-2021-23727 This affects the package celery before 5.2.2. vulnerability

Weakness · CWE (2)

  • CWE-77 Improper Neutralization of Special Elements used in a Command weakness
  • CWE-78 Improper Neutralization of Special Elements used in an OS Command weakness

References