CVE-2022-51020
JSON

6.0medium

Flower before 2.2.0 CSRF via Worker and Task Control API Endpoints

Severity
6.0medium CVSS:4.0 by VulnCheck
Exploit likelihood
0.14% (higher than 3% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
VulnCheck

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

Product or packageVersionsReported by
mher flowerbefore 2.2.0
Not affected: 2.2.0
CVE List

All scores

VulnCheck6.0medium CVSS:4.0CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:P/VC:N/VI:L/VA:H/SC:N/SI:N/SA:N
VulnCheck5.9medium CVSS:3.1CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:N/I:L/A:H

Classification

CWE-352

SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial.

What each source says

CVE List

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.

NVD (es)

Flower versiones anteriores a 2.2.0 contiene una vulnerabilidad de falsificación de petición en sitios cruzados (CSRF) porque xsrf_cookies de Tornado está deshabilitado y la cookie de sesión OAuth no tiene SameSite. Los atacantes pueden engañar a usuarios autenticados a páginas maliciosas que realicen un POST a /api/worker/shutdown, /api/worker/pool/restart o /api/task/revoke para detener los workers de Celery, redimensionar los pools y revocar tareas.

References

Sources

SourceRecordLicence
CVE ListCVE-2022-51020 changed 2026-10-15CVE Terms of Use
NVDCVE-2022-51020 changed 2026-11-10Public domain