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.
{
"cna_assigner": "VulnCheck",
"cwe_ids": [
"CWE-352"
],
"osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/51xxx/CVE-2022-51020.json"
}{
"extracted_events": [
{
"range": [
{
"introduced": "0"
},
{
"fixed": "2.2.0"
}
],
"source": "AFFECTED_FIELD",
"strategy": "StandardRange"
},
{
"range": [
{
"fixed": "a14408b16cc3d2877d36659005ce0d72b6162629"
}
],
"source": "REFERENCES_COMMIT"
},
{
"range": [
{
"fixed": "3b2115af7f9c42bd2da2fbcbd919f77013e9ec51"
}
],
"source": "REFERENCES_COMMIT"
}
]
}