CVE-2018-1000656: Flask is vulnerable to Denial of Service via incorrect encoding of JSON data

CVE-2018-1000656 · Severity: low · CVSS 3.1 · Published 2018-08-20

The Pallets Project flask version Before 0.12.3 contains a CWE-20: Improper Input Validation vulnerability in flask that can result in Large amount of memory usage possibly leading to denial of service. This attack appear to be exploitable via Attacker provides JSON data in incorrect encoding. This vulnerability appears to have been fixed in 0.12.3. NOTE: this may overlap CVE-2019-1010083.

Technologies: flask (PyPI). Vendors: PyPI.

Quick answers

Is CVE-2018-1000656 exploited in the wild?
No. Junglewise Threat Intelligence has no report of CVE-2018-1000656 being exploited in the wild.
How severe is CVE-2018-1000656?
Low severity, with a CVSS score of 3.1, published 20 August 2018.
Which products and versions are affected?
flask (PyPI) ECOSYSTEM:introduced=0,fixed=0.12.3.
Is there a fix for CVE-2018-1000656?
Yes. flask (PyPI): upgrade to 0.12.3 or later. Junglewise finds every place you run it, drafts the upgrade and applies it once you approve.
Am I affected by CVE-2018-1000656?
Check whether you run flask (PyPI) at an affected version. Junglewise does that check for you around the clock: connect your code, cloud and domains, and it matches new vulnerabilities like this one against what you actually run and tells you when one reaches you.

How to fix

  • flask (PyPI): upgrade to 0.12.3 or later
    pip install "flask>=0.12.3"

Affected products

  • flask (PyPI) ECOSYSTEM:introduced=0,fixed=0.12.3

Identifiers

  • CVE-2018-1000656
  • GHSA-562c-5r94-xh97
  • PYSEC-2018-66

This page as Markdown. Free to reuse under CC BY 4.0 with a link back.