Live threats

All CVEs / Python

CVE-2013-1895Python Py-bcrypt

High 7.5 No auth needed

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.

Original NVD text.

What to do

  1. Apply the vendor's security update for Py-bcrypt.
  2. It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.

Affected packages

EcosystemPackageAffected versionsFixed inHow 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)

VendorProductVersions
pythonpy-bcrypt< 0.3
fedoraprojectfedora17
fedoraprojectfedora18

Official sources

References

Links published by the sources. Open them with care.