{"id":"CVE-2018-1000656","aliases":["DEBIAN-CVE-2018-1000656","DLA-1892-1","EUVD-2018-0075","GHSA-562c-5r94-xh97","PYSEC-2018-66","RHSA-2020:0870","SUSE-SU-2019:0657-1","UBUNTU-CVE-2018-1000656","USN-4378-1","openSUSE-SU-2019:1112-1"],"status":"published","title":"Flask is vulnerable to Denial of Service via incorrect encoding of JSON data","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.","severity":{"version":"3.0","score":7.5,"vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","level":"high","assessor":"primary","from":"nvd"},"epss":{"day":"2026-11-08","score":0.03855,"percentile":0.90232,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":true},"cwes":["CWE-20"],"published":"2018-08-20T19:00:00Z","modified":"2026-10-23T18:03:53Z","fixes":[{"ecosystem":"PyPI","package":"flask","fixed_in":["0.12.3"],"sources":["ghsa","osv"]},{"ecosystem":"Debian:12","package":"flask","fixed_in":["1.0.2-1"],"sources":["osv"]},{"ecosystem":"Debian:13","package":"flask","fixed_in":["1.0.2-1"],"sources":["osv"]},{"ecosystem":"Debian:14","package":"flask","fixed_in":["1.0.2-1"],"sources":["osv"]},{"ecosystem":"Debian:8","package":"flask","fixed_in":["0.10.1-2+deb8u1"],"sources":["osv"]},{"ecosystem":"Red Hat:rhel_extras_other:7","package":"python-flask","fixed_in":["1:0.10.1-5.el7_7"],"sources":["osv"]},{"ecosystem":"SUSE:Linux Enterprise Module for Basesystem 15","package":"python-Flask","fixed_in":["0.12.4-3.3.26"],"sources":["osv"]},{"ecosystem":"SUSE:Linux Enterprise Module for Package Hub 15","package":"python-Flask","fixed_in":["0.12.4-3.3.26"],"sources":["osv"]},{"ecosystem":"Ubuntu:Pro:14.04:LTS","package":"flask","fixed_in":["0.10.1-2ubuntu0.1~esm1"],"sources":["osv"]},{"ecosystem":"Ubuntu:16.04:LTS","package":"flask","fixed_in":["0.10.1-2ubuntu0.1"],"sources":["osv"]},{"ecosystem":"Ubuntu:18.04:LTS","package":"flask","fixed_in":["0.12.2-3ubuntu0.1"],"sources":["osv"]},{"ecosystem":"openSUSE:Leap 15.0","package":"python-Flask","fixed_in":["0.12.4-lp150.2.3.1"],"sources":["osv"]}],"affected":[{"source":"ghsa","ecosystem":"PyPI","package":"flask","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.12.3"}]}]},{"source":"osv","ecosystem":"Debian:12","package":"flask","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.0.2-1"}]}]},{"source":"osv","ecosystem":"Debian:13","package":"flask","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.0.2-1"}]}]},{"source":"osv","ecosystem":"Debian:14","package":"flask","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.0.2-1"}]}]},{"source":"osv","ecosystem":"Debian:8","package":"flask","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.10.1-2+deb8u1"}]}],"versions":["0.10.1-2"]},{"source":"osv","ecosystem":"PyPI","package":"flask","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.12.3"}]}],"versions":["0.1","0.10","0.10.1","0.11","0.11.1","0.12","0.12.1","0.12.2","0.2","0.3","0.3.1","0.4","0.5","0.5.1","0.5.2","0.6","0.6.1","0.7","0.7.1","0.7.2","0.8","0.8.1","0.9"]},{"source":"osv","ecosystem":"PyPI","package":"flask","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.12.3"}]}],"versions":["0.1","0.10","0.10.1","0.11","0.11.1","0.12","0.12.1","0.12.2","0.2","0.3","0.3.1","0.4","0.5","0.5.1","0.5.2","0.6","0.6.1","0.7","0.7.1","0.7.2","0.8","0.8.1","0.9"]},{"source":"osv","ecosystem":"Red Hat:rhel_extras_other:7","package":"python-flask","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1:0.10.1-5.el7_7"}]}]},{"source":"osv","ecosystem":"SUSE:Linux Enterprise Module for Basesystem 15","package":"python-Flask","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.12.4-3.3.26"}]}]},{"source":"osv","ecosystem":"SUSE:Linux Enterprise Module for Package Hub 15","package":"python-Flask","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.12.4-3.3.26"}]}]},{"source":"osv","ecosystem":"Ubuntu:Pro:14.04:LTS","package":"flask","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.10.1-2ubuntu0.1~esm1"}]}],"versions":["0.10.1-2","0.10.1-2build1"]},{"source":"osv","ecosystem":"Ubuntu:16.04:LTS","package":"flask","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.10.1-2ubuntu0.1"}]}],"versions":["0.10.1-2build2"]},{"source":"osv","ecosystem":"Ubuntu:18.04:LTS","package":"flask","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.12.2-3ubuntu0.1"}]}],"versions":["0.12.2-2","0.12.2-3"]},{"source":"osv","ecosystem":"Ubuntu:Pro:14.04:LTS","package":"flask","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.10.1-2ubuntu0.1~esm1"}]}],"versions":["0.10.1-2","0.10.1-2build1"]},{"source":"osv","ecosystem":"Ubuntu:16.04:LTS","package":"flask","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.10.1-2ubuntu0.1"}]}],"versions":["0.10.1-2build2"]},{"source":"osv","ecosystem":"Ubuntu:18.04:LTS","package":"flask","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.12.2-3ubuntu0.1"}]}],"versions":["0.12.2-2","0.12.2-3"]},{"source":"osv","ecosystem":"openSUSE:Leap 15.0","package":"python-Flask","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.12.4-lp150.2.3.1"}]}]}],"products":[{"vendor":"netapp","product":"active_iq"},{"vendor":"netapp","product":"hyper_converged_infrastructure"},{"vendor":"netapp","product":"ontap_select_deploy_utility"},{"vendor":"palletsprojects","product":"flask"}],"references":[{"url":"https://security.netapp.com/advisory/ntap-20190221-0001/","tags":["x_refsource_CONFIRM","x_transferred","Patch","Third Party Advisory","fix","advisory"]},{"url":"https://github.com/pallets/flask/pull/2691","tags":["x_refsource_CONFIRM","x_transferred","Issue Tracking","Patch","Third Party Advisory","fix","web"]},{"url":"https://github.com/pallets/flask/releases/tag/0.12.3","tags":["x_refsource_CONFIRM","x_transferred","Third Party Advisory","advisory","web","report"]},{"url":"https://lists.debian.org/debian-lts-announce/2019/08/msg00025.html","tags":["mailing-list","x_refsource_MLIST","x_transferred","web"]},{"url":"https://usn.ubuntu.com/4378-1/","tags":["vendor-advisory","x_refsource_UBUNTU","x_transferred","web"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2018-1000656","tags":["advisory"]},{"url":"https://github.com/advisories/GHSA-562c-5r94-xh97","tags":["advisory"]},{"url":"https://github.com/pallets/flask/commit/b178e89e4456e777b1a7ac6d7199052d0dfdbbbe","tags":["web"]},{"url":"https://github.com/pypa/advisory-database/tree/main/vulns/flask/PYSEC-2018-66.yaml","tags":["web"]},{"url":"https://security.netapp.com/advisory/ntap-20190221-0001","tags":["web"]},{"url":"https://usn.ubuntu.com/4378-1","tags":["web"]},{"url":"https://security-tracker.debian.org/tracker/CVE-2018-1000656","tags":["advisory"]},{"url":"https://github.com/pallets/flask","tags":["package"]},{"url":"https://access.redhat.com/errata/RHSA-2020:0870","tags":["advisory"]},{"url":"https://access.redhat.com/security/updates/classification/#low","tags":["article"]},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=1623131","tags":["report"]},{"url":"https://security.access.redhat.com/data/csaf/v2/advisories/2020/rhsa-2020_0870.json","tags":["advisory"]},{"url":"https://access.redhat.com/security/cve/CVE-2018-1000656","tags":["report"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2018-1000656","tags":["advisory","report"]},{"url":"https://www.suse.com/support/update/announcement/2019/suse-su-20190657-1/","tags":["advisory"]},{"url":"https://bugzilla.suse.com/1106279","tags":["report"]},{"url":"https://www.suse.com/security/cve/CVE-2018-1000656","tags":["web"]},{"url":"https://ubuntu.com/security/CVE-2018-1000656","tags":["report"]},{"url":"https://ubuntu.com/security/notices/USN-4378-1","tags":["advisory"]},{"url":"https://lists.opensuse.org/archives/list/security-announce@lists.opensuse.org/thread/QUU23JPF524WRYT6P2BYP5R5F5XP2QR2/#QUU23JPF524WRYT6P2BYP5R5F5XP2QR2","tags":["advisory"]}],"sources":{"cve":[{"id":"CVE-2018-1000656","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.","status":"published","published":"2018-08-20T19:00:00Z","modified":"2024-08-05T12:40:47.801Z","updated_at":"2026-11-02T14:35:10.685174Z"}],"euvd":[{"id":"EUVD-2018-0075","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.","status":"published","published":"2018-08-20T19:00:00Z","modified":"2024-08-05T12:40:47Z","updated_at":"2026-11-03T02:39:26.268404Z"}],"ghsa":[{"id":"GHSA-562c-5r94-xh97","title":"Flask is vulnerable to Denial of Service via incorrect encoding of JSON data","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.","status":"published","published":"2018-08-23T19:10:40Z","modified":"2024-09-20T20:16:30Z","cvss":[{"version":"4.0","score":8.7,"vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N","level":"high"},{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","level":"high"}],"cwes":["CWE-20"],"updated_at":"2026-11-02T14:38:05.526697Z"}],"nvd":[{"id":"CVE-2018-1000656","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.","status":"published","published":"2018-08-20T19:31:45.34Z","modified":"2026-06-17T01:33:02.153Z","cvss":[{"version":"3.0","score":7.5,"vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","level":"high","assessor":"primary"},{"version":"2.0","score":5,"vector":"AV:N/AC:L/Au:N/C:N/I:N/A:P","level":"medium","assessor":"primary"}],"cwes":["CWE-20"],"updated_at":"2026-11-02T14:04:36.842579Z"}],"osv":[{"id":"CVE-2018-1000656","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.","status":"published","published":"2018-08-20T19:31:45.34Z","modified":"2026-10-20T10:50:15.770105853Z","cvss":[{"version":"3.0","score":7.5,"vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","level":"high"}],"updated_at":"2026-11-02T15:44:07.641418Z"},{"id":"DEBIAN-CVE-2018-1000656","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.","status":"published","published":"2018-08-20T19:31:45.34Z","modified":"2026-10-23T18:03:53.48777817Z","cvss":[{"version":"3.0","score":7.5,"vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","level":"high"}],"updated_at":"2026-11-02T15:45:29.988046Z"},{"id":"GHSA-562c-5r94-xh97","title":"Flask is vulnerable to Denial of Service via incorrect encoding of JSON data","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.","status":"published","published":"2018-08-23T19:10:40Z","modified":"2025-02-21T05:29:40.872529Z","cvss":[{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","level":"high"},{"version":"4.0","score":8.7,"vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N","level":"high"}],"cwes":["CWE-20"],"updated_at":"2026-11-02T15:46:37.864461Z"},{"id":"RHSA-2020:0870","title":"Red Hat Security Advisory: python-flask security update","status":"published","published":"2024-09-18T04:12:15Z","modified":"2025-11-22T11:56:45Z","cvss":[{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","level":"high"}],"updated_at":"2026-11-02T15:53:06.535721Z"},{"id":"UBUNTU-CVE-2018-1000656","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.","status":"published","published":"2018-08-20T19:31:00Z","modified":"2026-02-04T03:29:41.428932Z","cvss":[{"version":"3.0","score":7.5,"vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","level":"high"}],"updated_at":"2026-11-02T15:54:16.544091Z"},{"id":"DLA-1892-1","title":"flask - security update","status":"published","published":"2019-08-20T00:00:00Z","modified":"2026-03-09T01:20:22.610162Z","updated_at":"2026-11-02T15:46:10.227108Z"},{"id":"openSUSE-SU-2019:1112-1","title":"Security update for python-Flask","description":"This update for python-Flask to version 0.12.4 fixes the following issues:\n\nSecurity issue fixed:\n\n- CVE-2018-1000656: Fixed an improper input validation vulnerability in flask\n  that can result in Large amount of memory usage possibly leading to denial of\n  service. (bsc#1106279)\n\nThis update was imported from the SUSE:SLE-15:Update update project.","status":"published","published":"2019-04-02T11:03:44Z","modified":"2026-02-04T04:04:40.998441Z","updated_at":"2026-11-02T16:58:30.784344Z"},{"id":"PYSEC-2018-66","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.","status":"published","published":"2018-08-20T19:31:00Z","modified":"2023-11-08T03:59:39.887416Z","updated_at":"2026-11-02T15:52:52.192131Z"},{"id":"SUSE-SU-2019:0657-1","title":"Security update for python-Flask","description":"This update for python-Flask to version 0.12.4 fixes the following issues:\n\nSecurity issue fixed:\n\n- CVE-2018-1000656: Fixed an improper input validation vulnerability in flask\n  that can result in Large amount of memory usage possibly leading to denial of\n  service. (bsc#1106279)\n","status":"published","published":"2019-03-20T11:49:45Z","modified":"2026-02-04T03:12:28.423758Z","updated_at":"2026-11-02T15:53:45.926331Z"},{"id":"USN-4378-1","title":"flask vulnerability","description":"It was discovered that Flask incorrectly handled certain inputs.\nAn attacker could possibly use this issue to cause a denial of service.\n","status":"published","published":"2020-06-01T15:28:34Z","modified":"2026-06-29T13:48:00.486457348Z","updated_at":"2026-11-02T16:58:14.547547Z"}]}}
