VDB
Sign up
—

PYSEC-2020-249

Quick fix

PYSEC-2020-249 — py-bcrypt: upgrade to the fixed version with the command below.

pip install --upgrade 'py-bcrypt>=0.3'

Details

The py-bcrypt module before 0.3 for Python does not properly handle concurrent memory access, which allows attackers to bypass authentication via multiple authentication requests, which trigger the password hash to be overwritten.

Are you affected?

Enter the version of the package you're using.

Affected packages

PyPI/py-bcrypt
Introduced in: 0Fixed in: 0.3
Fixpip install --upgrade 'py-bcrypt>=0.3'

References