CVE-2022-51020

Source
https://cve.org/CVERecord?id=CVE-2022-51020
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2022-51020.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2022-51020
Published
2026-10-12T20:55:06Z
Modified
2026-10-14T02:45:24Z
Severity
  • 6.0 (Medium) CVSS_V4 - CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:P/VC:N/VI:L/VA:H/SC:N/SI:N/SA:N CVSS Calculator
Summary
Flower before 2.2.0 CSRF via Worker and Task Control API Endpoints
Details

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.

Database specific
{
    "cna_assigner":  "VulnCheck",
    "cwe_ids":  [
        "CWE-352"
    ],
    "osv_generated_from":  "https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/51xxx/CVE-2022-51020.json"
}
References

Affected packages

Git / github.com/mher/flower

Affected ranges

Type
GIT
Repo
https://github.com/mher/flower
Events
Introduced
0 Unknown introduced commit / All previous commits are affected
Fixed
Fixed
Fixed
Database specific
Show details
{
    "extracted_events":  [
        {
            "introduced":  "0"
        },
        {
            "fixed":  "2.2.0"
        }
    ],
    "source":  [
        "DESCRIPTION",
        "REFERENCES"
    ]
}

Affected versions

v0.*
v0.2
v0.3
v0.4
v0.5
v0.5.1
v0.5.2
v0.6
v0.7
v0.8
v2.*
v2.0.0
v2.0.1
v2.1.0

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2022-51020.json"