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.
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| py-bcrypt | py-bcrypt | before 0.3 | — |
Fixed in Linux distributions
Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.
Debian
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian 14 | python-bcrypt | 0.4-1 | — |
| Debian 13 | python-bcrypt | 0.4-1 | — |
| Debian 12 | python-bcrypt | 0.4-1 | — |
Affected packages
| Ecosystem | Package | Affected | Fixed | Record |
|---|---|---|---|---|
| PyPI | py-bcrypt | < 0.3 | 0.3 | GHSA-r838-q6jp-58xx |
References
- http://www.openwall.com/lists/oss-security/2013/03/26/2
- http://lists.fedoraproject.org/pipermail/package-announce/2013-April/101387.html
- http://lists.fedoraproject.org/pipermail/package-announce/2013-April/101382.html
- http://www.securityfocus.com/bid/58702
- https://exchange.xforce.ibmcloud.com/vulnerabilities/83039