HIGH7.5
PYSEC-2018-66
Quick fix
PYSEC-2018-66 — flask: upgrade to the fixed version with the command below.
pip install --upgrade 'flask>=0.12.3'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. NOTE: this may overlap CVE-2019-1010083.
Are you affected?
Enter the version of the package you're using.
Affected packages
References
- https://github.com/pallets/flask/releases/tag/0.12.3[WEB]
- https://github.com/pallets/flask/pull/2691[WEB]
- https://security.netapp.com/advisory/ntap-20190221-0001/[ADVISORY]
- https://lists.debian.org/debian-lts-announce/2019/08/msg00025.html[WEB]
- https://usn.ubuntu.com/4378-1/[WEB]
- https://github.com/advisories/GHSA-562c-5r94-xh97[ADVISORY]
Check it before you install it
One call answers whether to add this package: known advisories, CISA KEV, and whether the name is a hallucinated or freshly squatted one. No key needed to try it.
curl -s https://vdb.ai.kr/v1/ai/check-packages \
-H 'Content-Type: application/json' \
-d '{"packages":["pkg:pypi/flask"]}'