VDB
Sign up
—

PYSEC-2021-427

Quick fix

PYSEC-2021-427 — mpmath: upgrade to the fixed version with the command below.

pip install --upgrade 'mpmath>=46d44c3c8f3244017fe1eb102d564eb4ab8ef750'

Details

A Regular Expression Denial of Service (ReDOS) vulnerability was discovered in Mpmath v1.0.0 when the mpmathify function is called.

Are you affected?

Enter the version of the package you're using.

Affected packages

PyPI/mpmath
Introduced in: 0Fixed in: 46d44c3c8f3244017fe1eb102d564eb4ab8ef750
Fixpip install --upgrade 'mpmath>=46d44c3c8f3244017fe1eb102d564eb4ab8ef750'

References