{"schema":"threatline.record/2","record":{"id":"CVE-2022-51020","aliases":[],"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.","categories":["Unclassified"],"product":"flower","vendor":"mher","ecosystem":null,"affected_ranges":[{"source":"CVE List","source_url":"https://www.cve.org/CVERecord?id=CVE-2022-51020","source_modified_at":"2026-10-15T13:49:48.409Z","fetched_at":"2026-10-23T18:48:36.087640Z","product":"flower","vendor":"mher","versions":[{"version":"0","status":"affected","versionType":"semver","lessThan":"2.2.0"},{"version":"2.2.0","status":"unaffected","versionType":"semver"}],"defaultStatus":"unaffected"}],"fixed_versions":[{"source":"CVE List","source_url":"https://www.cve.org/CVERecord?id=CVE-2022-51020","source_modified_at":"2026-10-15T13:49:48.409Z","fetched_at":"2026-10-23T18:48:36.087640Z","package":{"name":"flower","ecosystem":null},"version":"2.2.0","basis":"first unaffected version stated in the CVE record"}],"cvss":6,"severity":"Medium","kev":{"listed":false},"epss":{"probability":0.00144,"percentile":0.034,"score_date":"2026-10-23"},"published_at":"2026-10-12T20:55:06.611Z","modified_at":"2026-10-15T13:49:48.409Z","provenance":[{"source":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2022-51020","fetched_at":"2026-10-23T18:48:36.087640Z","source_modified_at":"2026-10-15T13:49:48.409Z"},{"source":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2022-51020","fetched_at":"2026-10-23T18:42:43.628194Z","source_modified_at":"2026-10-23"}],"sources":["CVE List","EPSS"],"references":[{"source":"CVE List","url":"https://github.com/mher/flower/issues/1217","tags":["issue-tracking"]},{"source":"CVE List","url":"https://github.com/mher/flower/commit/a14408b16cc3d2877d36659005ce0d72b6162629","tags":["patch"]},{"source":"CVE List","url":"https://github.com/mher/flower/commit/3b2115af7f9c42bd2da2fbcbd919f77013e9ec51","tags":["patch"]},{"source":"CVE List","url":"https://github.com/mher/flower/blob/v2.1.0/flower/api/control.py#L25-L27","tags":["technical-description"]},{"source":"CVE List","url":"https://github.com/mher/flower","tags":["product"]},{"source":"CVE List","url":"https://www.vulncheck.com/advisories/flower-before-2.2.0-csrf-via-worker-and-task-control-api-endpoints","tags":["third-party-advisory"]}],"locations":[],"motoko_assessment":{"status":"requires_architecture_review","automatic_remediation":false},"cve_state":"PUBLISHED","cvss_source":"CVE List","ssvc":{"exploitation":"none","automatable":"no","technical_impact":"partial","assessed_at":"2026-10-15T13:49:35.993557Z"},"classification":{"method":"product-first software-layer rules","rules_version":"2.1","matched_on":null,"confidence":"unknown","reviewed":false},"change_timestamp":"2026-10-15T13:49:48.409Z","content_hash":"5030c69824c4735d2e218f0cac8c46303e5a35d081b806306666bad4e7f0f9fd"}}
