Skip to content
CVE PROGRAM SOURCE RECORD6.0 Medium

CVE-2022-51020

Flower before 2.2.0 CSRF via Worker and Task Control API Endpoints

Description

Flower before 2.2.0 contains a cross-site request forgery vulnerability because Tornado xsrf_cookies is disabled and the OAuth session cookie lacks SameSite. Attackers can lure authenticated users to malicious pages that POST to /api/worker/shutdown, /api/worker/pool/restart, or /api/task/revoke to shut down Celery workers, resize pools, and revoke tasks.

Affected products

Version statuses are supplied by the assigning organization. Consult the original record for detailed ranges and platform conditions.

mher flower

Default version status: unaffected

  • 0 to < 2.2.0affected
  • 2.2.0unaffected
pkg:pypi/flower

References