CVE-2022-51020Mher Flower cross-site request forgery (CSRF)
CVSS score
6.0
Medium
CVSS 4.0 from vulncheck.com
Exploit probability (EPSS)
0.14%
0.14% chance of exploitation in the next 30 days, higher than 3.70% of all CVEs.
CISA KEV
Not in KEV
No confirmed exploitation reported by CISA so far.
Official 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.
Source: NVD · CNA: disclosure@vulncheck.com
How to fix it, step by step
Check whether you're affected
Find every system running mher Flower and compare its version with the affected versions.
Update to a fixed version
- Update Flower to 2.2.0 or later.
Confirm the fix
Check that every affected system now reports a fixed version, and recheck the vendor's advisory: fixes are sometimes revised.
Was this useful?
How it can be exploited
- Attack vector
- Network
- Attack complexity
- Low
- Attack requirements
- Present
- Privileges required
- None
- User interaction
- Passive
- Confidentiality
- None
- Integrity
- Low
- Availability
- High
Values in red make the vulnerability easier to exploit or more damaging. 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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
Affected products
| Affected products | Versions |
|---|---|
| mher Flower | < 2.2.0 |
Weakness
- CWE-352 cross-site request forgery (CSRF)
Timeline
- Published:
- Last modified:
Frequently asked questions
Is CVE-2022-51020 being exploited?
There is no confirmed exploitation in CISA's KEV catalog so far. Its EPSS score estimates a 0.1% probability of exploitation in the next 30 days.
What is the CVSS score of CVE-2022-51020?
CVE-2022-51020 has a CVSS 4.0 base score of 6.0 (medium).
Which versions are affected?
Mher Flower (< 2.2.0)
Is there a patch for CVE-2022-51020?
The official record links to vendor advisories or patches; see “What to do” above.
References
- github.com/mher/flower
- github.com/mher/flower/blob/v2.1.0/flower/api/control.py#L25-L27
- github.com/mher/flower/commit/3b2115af7f9c42bd2da2fbcbd919f77013e9ec51
- github.com/mher/flower/commit/a14408b16cc3d2877d36659005ce0d72b6162629
- github.com/mher/flower/issues/1217
- www.vulncheck.com/advisories/flower-before-2.2.0-csrf-via-worker-and-task-control-api-endpoints
Data: NVD, CVE.org (cvelistV5), CISA KEV and FIRST EPSS. Summary written by RedCVE with AI assistance from the official data.