CVE-2013-1895 Improper Restriction of Excessive Authentication Attempts in py-bcrypt

High 7.5 Published Updated

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.

PackageAffectedFixed in
py-bcrypt PyPIAll versions0.3
py-bcrypt PyPIAll versions0.3
py-bcrypt PyPIAll versions0.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.

All Fedoraproject Fedora vulnerabilities

Sources

Also known as DEBIAN-CVE-2013-1895, GHSA-r838-q6jp-58xx, PYSEC-2020-249.

Is CVE-2013-1895 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free