Advisory Database
  • Advisories
  • Dependency Scanning
  1. pypi
  2. ›
  3. Flask
  4. ›
  5. CVE-2018-1000656

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

August 23, 2018 (updated September 20, 2024)

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

  • github.com/advisories/GHSA-562c-5r94-xh97
  • github.com/pallets/flask
  • github.com/pallets/flask/commit/b178e89e4456e777b1a7ac6d7199052d0dfdbbbe
  • github.com/pallets/flask/pull/2691
  • github.com/pallets/flask/releases/tag/0.12.3
  • github.com/pypa/advisory-database/tree/main/vulns/flask/PYSEC-2018-66.yaml
  • lists.debian.org/debian-lts-announce/2019/08/msg00025.html
  • nvd.nist.gov/vuln/detail/CVE-2018-1000656
  • security.netapp.com/advisory/ntap-20190221-0001
  • usn.ubuntu.com/4378-1

Code Behaviors & Features

Detect and mitigate CVE-2018-1000656 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions before 0.12.3

Fixed versions

  • 0.12.3

Solution

Upgrade to version 0.12.3 or above.

Impact 7.5 HIGH

CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

Learn more about CVSS

Weakness

  • CWE-20: Improper Input Validation

Source file

pypi/Flask/CVE-2018-1000656.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Wed, 14 May 2025 12:15:37 +0000.