VDB
Sign up
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

PyPI/flask
Introduced in: 0Fixed in: 0.12.3
Fixpip install --upgrade 'flask>=0.12.3'

References

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"]}'