Advisory

GHSA-rpc6-h455-3rx5

Also known as: CVE-2011-4356, PYSEC-2011-17

Summary

Celery local privilege escalation vulnerability

Details

Celery 2.1 and 2.2 before 2.2.8, 2.3 before 2.3.4, and 2.4 before 2.4.4 changes the effective id but not the real id during processing of the --uid and --gid arguments to celerybeat, celeryd_detach, celeryd-multi, and celeryev, which allows local users to gain privileges via vectors involving crafted code that is executed by the worker process.

Severity

Medium Basis: The source's own band: MODERATE

Dates

Published
2022-05-17 05:36 UTC
Modified
2024-12-08 05:25 UTC

Affected packages and fixes

celery

PyPI · All systems

Affected

  • introduced 2.1.0, fixed 2.2.8 (ecosystem)

Fixed versions

2.2.8

Fix

  • Fixed version 2.2.8
    pip install --upgrade celery==2.2.8

celery

PyPI · All systems

Affected

  • introduced 2.3.0, fixed 2.3.4 (ecosystem)

Fixed versions

2.3.4

Fix

  • Fixed version 2.3.4
    pip install --upgrade celery==2.3.4

celery

PyPI · All systems

Affected

  • introduced 2.4.0, fixed 2.4.4 (ecosystem)

Fixed versions

2.4.4

Fix

  • Fixed version 2.4.4
    pip install --upgrade celery==2.4.4

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0

Sources & licences