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.
The product does not implement sufficient measures to prevent multiple failed authentication attempts within a short time frame, making it more susceptible to brute force attacks.
Name | Vendor | Start Version | End Version |
---|---|---|---|
Py-bcrypt | Python | * | 0.3 (excluding) |
Python-bcrypt | Ubuntu | oneiric | * |
Python-bcrypt | Ubuntu | quantal | * |
Python-bcrypt | Ubuntu | raring | * |
Python-bcrypt | Ubuntu | saucy | * |
Python-bcrypt | Ubuntu | upstream | * |
Common protection mechanisms include:
Use a vetted library or framework that does not allow this weakness to occur or provides constructs that make this weakness easier to avoid.
Consider using libraries with authentication capabilities such as OpenSSL or the ESAPI Authenticator. [REF-45]