GHSA-94ww-22rx-493x: Flower Cross-Site Scripting Vulnerability

MODERATE
Published
Advisory Summary

GHSA-94ww-22rx-493x is a MODERATE cross-site scripting vulnerability (General Security Weakness) affecting Flower libraries in the PyPI ecosystem. The issue involves cross-site scripting. Remediation is available by upgrading affected packages to version 0.9.2.

GHSA-94ww-22rx-493x at a Glance

CVE Identifier N/A
GHSA Identifier GHSA-94ww-22rx-493x
Severity MODERATE
CVSS v3.1 Base Score N/A
CWE Classification General Security Weakness
Affected Product Flower
Package Ecosystem PyPI
Published Date
Last Updated

How to Fix GHSA-94ww-22rx-493x

To remediate this vulnerability, upgrade all affected Flower dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.

flower fixed: 0.9.2
pip install flower>=0.9.2
Verify Direct and Transitive Dependencies

Run the following command in your project directory to verify that all resolved dependencies use the patched release:

pip show flower

How to Check if You Are Affected

To determine whether your Python environment is affected by GHSA-94ww-22rx-493x, inspect your installed packages using pip:

pip show flower

Analyze the terminal output to locate any version of Flower in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 0.9.2), your application is affected.

Note: The pip show flower command checks currently installed packages in your active Python environment.

Technical Details

Vulnerability Mechanism & Technical Analysis

This vulnerability is classified under General Security Weakness. In Flower, software state validation or input boundaries are circumvented during processing. Review the official source advisory statement below for specific affected components, classes, and reproduction details.

Source Advisory Statement

Flower, before 0.9.2, has a XSS on tasks page because data is not properly escaped.

GHSA-94ww-22rx-493x Affected Flower Versions

1 component(s)
Fixed Versions:
0.9.2
Product / Package Ecosystem Affected Versions Fixed Version
flower
PyPI
< 0.9.2
0.9.2

References

Frequently Asked Questions

What is GHSA-94ww-22rx-493x?
GHSA-94ww-22rx-493x is a security vulnerability in Flower involving Cross-Site Scripting under General Security Weakness.
Which Flower versions are affected?
Affected versions include releases prior to 0.9.2 across affected packages: flower.
What version fixes GHSA-94ww-22rx-493x?
Upgrading to 0.9.2 (or the latest patched release for your respective branch) resolves the vulnerability.
Is flower affected?
Yes, flower is affected in releases prior to 0.9.2. Upgrade your dependency to 0.9.2 or later.
What CWE is associated with GHSA-94ww-22rx-493x?
GHSA-94ww-22rx-493x is classified under General Security Weakness.
How can I check PyPI dependencies for GHSA-94ww-22rx-493x?
Run the dependency tree command: 'pip show flower'. This command lists direct and transitive dependencies in your build configuration so you can verify if a vulnerable version is resolved.
Machine-readable OSV JSON OSV v1.5 Schema
Normalized schema output
{
  "schema_version" : "1.4.0",
  "id" : "GHSA-94ww-22rx-493x",
  "modified" : "2021-02-24T19:46:35Z",
  "published" : "2021-02-24T19:46:35Z",
  "withdrawn" : "2021-02-24T19:46:35Z",
  "aliases" : [ ],
  "summary" : "Cross-Site Scripting",
  "details" : "Flower, before 0.9.2, has a XSS on tasks page because data is not properly escaped.",
  "severity" : [ ],
  "affected" : [ {
    "package" : {
      "ecosystem" : "PyPI",
      "name" : "flower"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "0"
      }, {
        "fixed" : "0.9.2"
      } ]
    } ]
  } ],
  "references" : [ {
    "type" : "WEB",
    "url" : "https://github.com/mher/flower/issues/650"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/mher/flower/commit/0f2eab324f65823340a0146f7a2b44804e4725ee"
  } ],
  "database_specific" : {
    "cwe_ids" : [ ],
    "severity" : "MODERATE",
    "github_reviewed" : true,
    "github_reviewed_at" : "2019-06-05T13:52:45Z",
    "nvd_published_at" : null
  }
}