Skip to content

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

High severity GitHub Reviewed Published Aug 23, 2018 to the GitHub Advisory Database • Updated Sep 5, 2023

Package

pip flask (pip)

Affected versions

< 0.12.3

Patched versions

0.12.3

Description

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.

References

Published to the GitHub Advisory Database Aug 23, 2018
Reviewed Jun 16, 2020
Last updated Sep 5, 2023

Severity

High
7.5
/ 10

CVSS base metrics

Attack vector
Network
Attack complexity
Low
Privileges required
None
User interaction
None
Scope
Unchanged
Confidentiality
None
Integrity
None
Availability
High
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

Weaknesses

CVE ID

CVE-2018-1000656

GHSA ID

GHSA-562c-5r94-xh97

Source code

Credits

Loading Checking history
See something to contribute? Suggest improvements for this vulnerability.