VDB
Sign up
—

PYSEC-2020-340

Quick fix

PYSEC-2020-340 — bleach: upgrade to the fixed version with the command below.

pip install --upgrade 'bleach>=3.1.4'

Details

In Mozilla Bleach before 3.1.4, `bleach.clean` behavior parsing style attributes could result in a regular expression denial of service (ReDoS).

Are you affected?

Enter the version of the package you're using.

Affected packages

PyPI/bleach
Introduced in: 0Fixed in: 3.1.4
Fixpip install --upgrade 'bleach>=3.1.4'

References