{"id":"GHSA-rpc6-h455-3rx5","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.","aliases":["CVE-2011-4356","PYSEC-2011-17"],"modified":"2024-12-08T05:25:41.675688Z","published":"2022-05-17T05:36:00Z","database_specific":{"github_reviewed":true,"github_reviewed_at":"2024-05-01T16:44:52Z","nvd_published_at":"2011-12-05T11:55:00Z","cwe_ids":["CWE-269"],"severity":"MODERATE"},"references":[{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2011-4356"},{"type":"WEB","url":"https://github.com/celery/celery/pull/544"},{"type":"WEB","url":"https://github.com/celery/celery/commit/53514b158b743678d8993638be5920cd09ccc35c"},{"type":"WEB","url":"https://github.com/celery/celery/commit/73388921731a0e6feb28ab0d389c4f7dc4d524f6"},{"type":"WEB","url":"https://github.com/celery/celery/commit/e0767e40994754fe8482bf4ff622c5c6d0b9f671"},{"type":"PACKAGE","url":"https://github.com/celery/celery"},{"type":"WEB","url":"https://github.com/celery/celery/blob/master/docs/sec/CELERYSA-0001.txt"},{"type":"WEB","url":"https://github.com/pypa/advisory-database/tree/main/vulns/celery/PYSEC-2011-17.yaml"},{"type":"WEB","url":"https://web.archive.org/web/20140722114447/http://secunia.com/advisories/46973"},{"type":"WEB","url":"https://web.archive.org/web/20200305001706/http://www.securityfocus.com/bid/50825"}],"affected":[{"package":{"name":"celery","ecosystem":"PyPI","purl":"pkg:pypi/celery"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"2.1.0"},{"fixed":"2.2.8"}]}],"versions":["2.1.0","2.1.1","2.1.2","2.1.3","2.1.4","2.2.0","2.2.1","2.2.2","2.2.3","2.2.4","2.2.5","2.2.6","2.2.7"],"database_specific":{"source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2022/05/GHSA-rpc6-h455-3rx5/GHSA-rpc6-h455-3rx5.json"}},{"package":{"name":"celery","ecosystem":"PyPI","purl":"pkg:pypi/celery"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"2.3.0"},{"fixed":"2.3.4"}]}],"versions":["2.3.0","2.3.1","2.3.2","2.3.3"],"database_specific":{"source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2022/05/GHSA-rpc6-h455-3rx5/GHSA-rpc6-h455-3rx5.json"}},{"package":{"name":"celery","ecosystem":"PyPI","purl":"pkg:pypi/celery"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"2.4.0"},{"fixed":"2.4.4"}]}],"versions":["2.4.0","2.4.1","2.4.2","2.4.3"],"database_specific":{"source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2022/05/GHSA-rpc6-h455-3rx5/GHSA-rpc6-h455-3rx5.json"}}],"schema_version":"1.9.0"}