Advisory

GHSA-562c-5r94-xh97

Also known as: CVE-2018-1000656, PYSEC-2018-66

Summary

Flask is vulnerable to Denial of Service via incorrect encoding of JSON data

Details

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.

Severity

High Basis: The source's own band: HIGH

Dates

Published
2018-08-23 19:10 UTC
Modified
2025-02-21 05:29 UTC

Affected packages and fixes

flask

PyPI · All systems

Affected

  • introduced 0, fixed 0.12.3 (ecosystem)

Fixed versions

0.12.3

Fix

  • Fixed version 0.12.3
    pip install --upgrade flask==0.12.3

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0

Sources & licences