CVE-2013-1895Python Py-bcrypt
High 7.5 No auth needed
Follow: this CVE · Python · Python Py-bcrypt We alert you by email or Slack (account required).
- Priority
- 60
- CVSS 3.1
- 7.5
- EPSS
- 2.8% probability of exploitation in 30 days · percentile 87
- Auth required
- No
- Published
- Jan 28, 2020
- Updated
- Jun 16, 2026
- Category
- Application · Cross-platform
- Weakness (CWE)
- CWE-307
- Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N
What happens
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.
What to do
- Apply the vendor's security update for Py-bcrypt.
- It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How to upgrade |
|---|---|---|---|---|
| PyPI | py-bcrypt |
< 0.3 |
0.3 |
pip install "py-bcrypt>=0.3" |
| PyPI | py-bcrypt |
< 0.3 |
0.3 |
pip install "py-bcrypt>=0.3" |
Per OSV / GitHub Advisories (GHSA-r838-q6jp-58xx, PYSEC-2020-249). Check the version in your lockfile before upgrading.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| python | py-bcrypt | < 0.3 |
| fedoraproject | fedora | 17 |
| fedoraproject | fedora | 18 |
Official sources
References
Links published by the sources. Open them with care.
- lists.fedoraproject.org Third Party Advisory Tool Signature
- lists.fedoraproject.org Third Party Advisory
- www.openwall.com Mailing List Third Party Advisory
- www.securityfocus.com Third Party Advisory VDB Entry
- exchange.xforce.ibmcloud.com Third Party Advisory VDB Entry