Skip to content
OpenAdvisories
High · 7.5 CVE-2018-1000656 EUVD-2018-0075GHSA-562c-5r94-xh97PYSEC-2018-66

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

Published Aug 20, 2018 · Updated Aug 5, 2024 · Assigned by mitre

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. NOTE: this may overlap CVE-2019-1010083.

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Debian 14 flask 1.0.2-1 —
Debian 13 flask 1.0.2-1 —
Debian 12 flask 1.0.2-1 —
Debian 8 flask 0.10.1-2+deb8u1 DLA-1892-1
ReleasePackageFixed inAdvisory
Ubuntu 18.04 LTS flask 0.12.2-3ubuntu0.1 USN-4378-1
Ubuntu 16.04 LTS flask 0.10.1-2ubuntu0.1 USN-4378-1
Show 1 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
Ubuntu Pro 14.04 LTS flask 0.10.1-2ubuntu0.1~esm1 USN-4378-1
ReleasePackageFixed inAdvisory
Red Hat Rhel Extras Other 7 python-flask 1:0.10.1-5.el7_7 RHSA-2020:0870
ReleasePackageFixed inAdvisory
SLES 15 python-Flask 0.12.4-3.3.26 SUSE-SU-2019:0657-1
ReleasePackageFixed inAdvisory
openSUSE Leap 15.0 python-Flask 0.12.4-lp150.2.3.1 openSUSE-SU-2019:1112-1

Affected packages

EcosystemPackageAffectedFixedRecord
PyPI flask < 0.12.3 0.12.3 GHSA-562c-5r94-xh97

Advisories 5

References