{"schemaVersion":3,"id":"CVE-2013-1895","aliases":["GHSA-r838-q6jp-58xx","PYSEC-2020-249","UBUNTU-CVE-2013-1895","DEBIAN-CVE-2013-1895"],"status":"published","duplicateOf":null,"title":null,"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.","dates":{"published":"2020-01-28T14:30:24.000Z","modified":"2024-08-06T15:20:37.112Z","reserved":null,"kevAdded":[],"kevDue":[]},"cvss":{"headline":{"score":7.5,"severity":"high","version":"3.1","versionLabel":"v3.1","source":"NVD","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N","computed":false,"selection":"backend-summary"},"metrics":[{"version":"3.1","versionLabel":"v3.1","source":"NVD","score":7.5,"severity":"high","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N","exploitability":null,"impact":null,"computed":false},{"version":"2.0","versionLabel":"v2.0","source":"NVD","score":5,"severity":"medium","vector":"AV:N/AC:L/Au:N/C:N/I:P/A:N","exploitability":null,"impact":null,"computed":false},{"version":"4.0","versionLabel":"v4.0","source":"OSV · Pypi","score":8.7,"severity":"high","vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:H/VA:N/SC:N/SI:N/SA:N","exploitability":null,"impact":null,"computed":true},{"version":"3.1","versionLabel":"v3.1","source":"OSV · Pypi","score":7.5,"severity":"high","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N","exploitability":10,"impact":6,"computed":true},{"version":"3.1","versionLabel":"v3.1","source":"OSV · Ubuntu","score":7.5,"severity":"high","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N","exploitability":10,"impact":6,"computed":true},{"version":"3.1","versionLabel":"v3.1","source":"OSV · Debian","score":7.5,"severity":"high","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N","exploitability":10,"impact":6,"computed":true}]},"epss":{"probability":0.02835,"percentile":0.8644,"severity":"low","asOf":"2026-10-19T00:00:00.000Z","change":{"pp":0,"baselineDate":"2026-09-19T00:00:00.000Z","baselineScore":0.02835},"history":[{"date":"2026-09-14T00:00:00.000Z","score":0.02835,"percentile":null},{"date":"2026-09-15T00:00:00.000Z","score":0.02835,"percentile":null},{"date":"2026-09-16T00:00:00.000Z","score":0.02835,"percentile":null},{"date":"2026-09-17T00:00:00.000Z","score":0.02835,"percentile":null},{"date":"2026-09-18T00:00:00.000Z","score":0.02835,"percentile":null},{"date":"2026-09-19T00:00:00.000Z","score":0.02835,"percentile":null},{"date":"2026-09-20T00:00:00.000Z","score":0.02835,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.02835,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.02835,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.02835,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.02835,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.02835,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.02835,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.02835,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.02835,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.02835,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.02835,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.02835,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.02835,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.02835,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.02835,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.02835,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.02835,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.02835,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.02835,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.02835,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.02835,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.02835,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.02835,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.02835,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.02835,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.02835,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.02835,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.02835,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.02835,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.02835,"percentile":0.8644}],"last30":[{"date":"2026-09-19T00:00:00.000Z","score":0.02835,"percentile":null},{"date":"2026-09-20T00:00:00.000Z","score":0.02835,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.02835,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.02835,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.02835,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.02835,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.02835,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.02835,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.02835,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.02835,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.02835,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.02835,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.02835,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.02835,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.02835,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.02835,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.02835,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.02835,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.02835,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.02835,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.02835,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.02835,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.02835,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.02835,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.02835,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.02835,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.02835,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.02835,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.02835,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.02835,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.02835,"percentile":0.8644}]},"kev":{"state":"not-listed","entries":[],"listedCount":0,"totalCatalogs":3,"catalogs":[{"source":"cisa","label":"CISA","listed":false,"entry":null},{"source":"enisa","label":"ENISA","listed":false,"entry":null},{"source":"circl","label":"CIRCL","listed":false,"entry":null}]},"ransomware":{"state":"none-recorded","sources":[]},"exploits":[],"exploitCount":0,"weaknesses":[{"id":"CWE-307","name":"Improper Restriction of Excessive Authentication Attempts","description":"The product does not implement sufficient measures to prevent multiple failed authentication attempts within a short time frame.","type":"weakness","status":"Draft","abstraction":"Base","likelihoodOfExploit":null,"url":"https://cwe.mitre.org/data/definitions/307.html"}],"affected":[{"vendor":"debian","product":"python-bcrypt","name":"python-bcrypt","label":"python-bcrypt","ecosystem":"Debian","cpePart":null,"purl":"pkg:deb/debian/python-bcrypt","purlType":"deb","versions":[{"text":"< 0.4-1","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 0.4-1","eol":null,"hubHref":null},{"vendor":"ubuntu","product":"python-bcrypt","name":"python-bcrypt","label":"python-bcrypt","ecosystem":"Ubuntu","cpePart":null,"purl":"pkg:deb/ubuntu/python-bcrypt","purlType":"deb","versions":[{"text":"< 0.4-1","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 0.4-1","eol":null,"hubHref":null},{"vendor":"fedoraproject","product":"fedora","name":"fedora","label":"fedora","ecosystem":null,"cpePart":"o","purl":null,"purlType":null,"versions":[{"text":"17","noFixRecorded":false,"fixedIn":null},{"text":"18","noFixRecorded":false,"fixedIn":null}],"versionsText":"17 | 18","eol":{"isEol":true,"eolDate":"2013-07-30T00:00:00.000Z","matchMethod":"cpe","cycle":{"name":"17","label":"17 (Beefy Miracle)","eolFrom":"2013-07-30T00:00:00.000Z","isLts":false,"isMaintained":false,"latestVersion":null},"product":{"name":"fedora","label":"Fedora Linux","category":"os"}},"hubHref":"/vendor/fedoraproject/fedora"},{"vendor":"py-bcrypt","product":"py-bcrypt","name":"py-bcrypt","label":"py-bcrypt","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"< 0.3","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 0.3","eol":null,"hubHref":"/vendor/py-bcrypt/py-bcrypt"},{"vendor":"PyPI","product":"py-bcrypt","name":"py-bcrypt","label":"py-bcrypt","ecosystem":"PyPI","cpePart":null,"purl":"pkg:pypi/py-bcrypt","purlType":"pypi","versions":[{"text":"< 0.3","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 0.3","eol":null,"hubHref":null},{"vendor":"python","product":"py-bcrypt","name":"py-bcrypt","label":"py-bcrypt","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"< 0.3","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 0.3","eol":null,"hubHref":"/vendor/python/py-bcrypt"}],"affectedCount":6,"eol":{"hasEol":true,"count":1},"references":[{"url":"http://www.openwall.com/lists/oss-security/2013/03/26/2","label":"www.openwall.com/lists/oss-security/2013/03/26/2","hostname":"www.openwall.com","tags":["X Refsource MISC","Mailing List","Third Party Advisory","WEB"]},{"url":"http://lists.fedoraproject.org/pipermail/package-announce/2013-April/101387.html","label":"lists.fedoraproject.org/pipermail/package-announce/2013-April/101387.html","hostname":"lists.fedoraproject.org","tags":["X Refsource MISC","Third Party Advisory","WEB"]},{"url":"http://lists.fedoraproject.org/pipermail/package-announce/2013-April/101382.html","label":"lists.fedoraproject.org/pipermail/package-announce/2013-April/101382.html","hostname":"lists.fedoraproject.org","tags":["X Refsource MISC","Third Party Advisory","Tool Signature","WEB"]},{"url":"http://www.securityfocus.com/bid/58702","label":"www.securityfocus.com/bid/58702","hostname":"www.securityfocus.com","tags":["X Refsource MISC","Third Party Advisory","VDB Entry","WEB"]},{"url":"https://exchange.xforce.ibmcloud.com/vulnerabilities/83039","label":"exchange.xforce.ibmcloud.com/vulnerabilities/83039","hostname":"exchange.xforce.ibmcloud.com","tags":["X Refsource MISC","Third Party Advisory","VDB Entry","WEB"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2013-1895","label":"nvd.nist.gov/vuln/detail/CVE-2013-1895","hostname":"nvd.nist.gov","tags":["Advisory"]},{"url":"https://github.com/advisories/GHSA-r838-q6jp-58xx","label":"github.com/advisories/GHSA-r838-q6jp-58xx","hostname":"github.com","tags":["Advisory"]},{"url":"https://github.com/grnet/python-bcrypt","label":"github.com/grnet/python-bcrypt","hostname":"github.com","tags":["PACKAGE"]},{"url":"https://github.com/pypa/advisory-database/tree/main/vulns/py-bcrypt/PYSEC-2020-249.yaml","label":"github.com/pypa/advisory-database/tree/main/vulns/py-bcrypt/PYSEC-2020-249.yaml","hostname":"github.com","tags":["WEB"]},{"url":"https://ubuntu.com/security/CVE-2013-1895","label":"ubuntu.com/security/CVE-2013-1895","hostname":"ubuntu.com","tags":["REPORT"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2013-1895","label":"www.cve.org/CVERecord?id=CVE-2013-1895","hostname":"www.cve.org","tags":["REPORT"]},{"url":"https://security-tracker.debian.org/tracker/CVE-2013-1895","label":"security-tracker.debian.org/tracker/CVE-2013-1895","hostname":"security-tracker.debian.org","tags":["Advisory"]}],"lineage":{"upstream":[],"downstream":[],"duplicates":[],"related":[]},"timeline":[{"kind":"published","date":"2020-01-28T14:30:24.000Z","label":"Published","detail":"Vulnerability first disclosed.","source":null},{"kind":"modified","date":"2024-08-06T15:20:37.112Z","label":"Last modified","detail":"Vulnerability information updated.","source":null}],"risk":{"score":31,"level":"medium","profile":"Default","thresholds":{"critical":75,"high":50,"medium":25,"low":10}},"meta":{"dataAsOf":"2026-10-19T18:04:05.509Z","stale":false,"partial":false}}