PT-2020-7373 · Pypi · Py-Bcrypt
Kurt Seifried
·
Published
2020-01-28
·
Updated
2021-10-12
·
CVE-2013-1895
CVSS v4.0
8.7
High
| Vector | AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:H/VA:N/SC:N/SI:N/SA:N |
Name of the Vulnerable Software and Affected Versions:
py-bcrypt versions prior to 0.3
Description:
The issue arises from improper handling of concurrent memory access in the py-bcrypt module, allowing attackers to bypass authentication. This is achieved through multiple authentication requests that trigger the password hash to be overwritten.
Recommendations:
For versions prior to 0.3, update to version 0.3 or later to resolve the issue. As a temporary workaround, consider implementing synchronization mechanisms to prevent concurrent access to the password hash. Restrict access to authentication endpoints to minimize the risk of exploitation.
Fix
Improper Restriction of Excessive Authentication Attempts
Found an issue in the description? Have something to add? Feel free to write us 👾
Weakness Enumeration
Related Identifiers
Affected Products
Py-Bcrypt