CVE-2013-1895 Improper Restriction of Excessive Authentication Attempts in py-bcrypt
Attackers can bypass authentication in the py-bcrypt library by exploiting a race condition that overwrites password hashes during concurrent requests.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- Available
What is CVE-2013-1895?
CVE-2013-1895 is a high-severity vulnerability in Fedoraproject Fedora, published on 28 Jan 2020. An attacker can exploit it over the internet without logging in, with no action from the victim.
Official description
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.
Weakness: CWE-307
Which versions are affected by CVE-2013-1895?
3 open source packages ship an affected version, including py-bcrypt. It affects 2 products.
| Package | Affected | Fixed in |
|---|---|---|
py-bcrypt PyPI | All versions | 0.3 |
py-bcrypt PyPI | All versions | 0.3 |
py-bcrypt PyPI | All versions | 0.3 |
Products include Fedoraproject Fedora, Python Py-Bcrypt.
How do I fix CVE-2013-1895?
Upgrade py-bcrypt to 0.3 or later.
Is CVE-2013-1895 being exploited?
There is no known exploitation of CVE-2013-1895 in the wild and no public exploit code.
Other vulnerabilities in Fedoraproject Fedora
Sources
Also known as DEBIAN-CVE-2013-1895, GHSA-r838-q6jp-58xx, PYSEC-2020-249.