{"schemaVersion":3,"id":"CVE-2012-4571","aliases":["GHSA-p3h7-3c45-qj4v","PYSEC-2012-8","DEBIAN-CVE-2012-4571"],"status":"published","duplicateOf":null,"title":null,"description":"Python Keyring 0.9.1 does not securely initialize the cipher when encrypting passwords for CryptedFileKeyring files, which makes it easier for local users to obtain passwords via a brute-force attack.","dates":{"published":"2012-11-30T22:00:00.000Z","modified":"2024-09-17T03:07:17.992Z","reserved":null,"kevAdded":[],"kevDue":[]},"cvss":{"headline":{"score":2.1,"severity":"low","version":"2.0","versionLabel":"v2.0","source":"NVD","vector":"AV:L/AC:L/Au:N/C:P/I:N/A:N","computed":false,"selection":"backend-summary"},"metrics":[{"version":"2.0","versionLabel":"v2.0","source":"NVD","score":2.1,"severity":"low","vector":"AV:L/AC:L/Au:N/C:P/I:N/A:N","exploitability":null,"impact":null,"computed":false},{"version":"4.0","versionLabel":"v4.0","source":"OSV · Pypi","score":9.3,"severity":"critical","vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:N/VA:N/SC:H/SI:H/SA:H/E:P","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:H/I:N/A:N","exploitability":10,"impact":6,"computed":true}]},"epss":{"probability":0.0037,"percentile":0.29357,"severity":"low","asOf":"2026-10-18T00:00:00.000Z","change":{"pp":0,"baselineDate":"2026-09-18T00:00:00.000Z","baselineScore":0.0037},"history":[{"date":"2026-09-14T00:00:00.000Z","score":0.0037,"percentile":null},{"date":"2026-09-15T00:00:00.000Z","score":0.0037,"percentile":null},{"date":"2026-09-16T00:00:00.000Z","score":0.0037,"percentile":null},{"date":"2026-09-17T00:00:00.000Z","score":0.0037,"percentile":null},{"date":"2026-09-18T00:00:00.000Z","score":0.0037,"percentile":null},{"date":"2026-09-19T00:00:00.000Z","score":0.0037,"percentile":null},{"date":"2026-09-20T00:00:00.000Z","score":0.0037,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.0037,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.0037,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.0037,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.0037,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.0037,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.0037,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.0037,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.0037,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.0037,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.0037,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.0037,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.0037,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.0037,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.0037,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.0037,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.0037,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.0037,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.0037,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.0037,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.0037,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.0037,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.0037,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.0037,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.0037,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.0037,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.0037,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.0037,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.0037,"percentile":0.29357}],"last30":[{"date":"2026-09-18T00:00:00.000Z","score":0.0037,"percentile":null},{"date":"2026-09-19T00:00:00.000Z","score":0.0037,"percentile":null},{"date":"2026-09-20T00:00:00.000Z","score":0.0037,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.0037,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.0037,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.0037,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.0037,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.0037,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.0037,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.0037,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.0037,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.0037,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.0037,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.0037,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.0037,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.0037,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.0037,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.0037,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.0037,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.0037,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.0037,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.0037,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.0037,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.0037,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.0037,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.0037,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.0037,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.0037,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.0037,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.0037,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.0037,"percentile":0.29357}]},"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-310","name":"Cryptographic Issues","description":"Weaknesses in this category are related to the design and implementation of data confidentiality and integrity. Frequently these deal with the use of encoding techniques, encryption libraries, and hashing algorithms. The weaknesses in this category could lead to a degradation of the quality data if they are not addressed.","type":"category","status":"Draft","abstraction":null,"likelihoodOfExploit":null,"url":"https://cwe.mitre.org/data/definitions/310.html"}],"affected":[{"vendor":"debian","product":"python-keyring","name":"python-keyring","label":"python-keyring","ecosystem":"Debian","cpePart":null,"purl":"pkg:deb/debian/python-keyring","purlType":"deb","versions":[{"text":"< 0.9.2-1","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 0.9.2-1","eol":null,"hubHref":null},{"vendor":"PyPI","product":"keyring","name":"keyring","label":"keyring","ecosystem":"PyPI","cpePart":null,"purl":"pkg:pypi/keyring","purlType":"pypi","versions":[{"text":"< 0.9.2","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 0.9.2","eol":null,"hubHref":null},{"vendor":"python","product":"keyring","name":"keyring","label":"keyring","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"0.9.1","noFixRecorded":false,"fixedIn":null}],"versionsText":"0.9.1","eol":null,"hubHref":"/vendor/python/keyring"}],"affectedCount":3,"eol":{"hasEol":false,"count":0},"references":[{"url":"http://pypi.python.org/pypi/keyring","label":"pypi.python.org/pypi/keyring","hostname":"pypi.python.org","tags":["X Refsource CONFIRM","WEB"]},{"url":"https://bugs.launchpad.net/ubuntu/+source/python-keyring/+bug/1004845","label":"bugs.launchpad.net/ubuntu/+source/python-keyring/+bug/1004845","hostname":"bugs.launchpad.net","tags":["X Refsource MISC","WEB"]},{"url":"http://www.openwall.com/lists/oss-security/2012/10/31/8","label":"www.openwall.com/lists/oss-security/2012/10/31/8","hostname":"www.openwall.com","tags":["Mailing List","X Refsource MLIST","WEB"]},{"url":"http://www.ubuntu.com/usn/USN-1634-1","label":"www.ubuntu.com/usn/USN-1634-1","hostname":"www.ubuntu.com","tags":["Vendor Advisory","X Refsource UBUNTU","WEB","Advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2012-4571","label":"nvd.nist.gov/vuln/detail/CVE-2012-4571","hostname":"nvd.nist.gov","tags":["Advisory"]},{"url":"https://github.com/jaraco/keyring/commit/162f2ed0e39e16d561732b9fad8af6cd2341d7bd","label":"github.com/jaraco/keyring/commit/162f2ed0e39e16d561732b9fad8af6cd2341d7bd","hostname":"github.com","tags":["WEB"]},{"url":"https://github.com/jaraco/keyring/commit/56272d908ba7a3fe4ebb6d6e87a7cc569f4726ac","label":"github.com/jaraco/keyring/commit/56272d908ba7a3fe4ebb6d6e87a7cc569f4726ac","hostname":"github.com","tags":["WEB"]},{"url":"https://github.com/jaraco/keyring/commit/a76942672f6ac85a88bd9b9ed31fd133119b7702","label":"github.com/jaraco/keyring/commit/a76942672f6ac85a88bd9b9ed31fd133119b7702","hostname":"github.com","tags":["WEB"]},{"url":"https://github.com/jaraco/keyring/commit/cbf509b0386c3063d8b2879ce72d78ac18023f72","label":"github.com/jaraco/keyring/commit/cbf509b0386c3063d8b2879ce72d78ac18023f72","hostname":"github.com","tags":["WEB"]},{"url":"https://github.com/jaraco/keyring/commit/cc1ead78d1e3fab9fa8bb0b4bb334cb82d35db52","label":"github.com/jaraco/keyring/commit/cc1ead78d1e3fab9fa8bb0b4bb334cb82d35db52","hostname":"github.com","tags":["WEB"]},{"url":"https://github.com/jaraco/keyring","label":"github.com/jaraco/keyring","hostname":"github.com","tags":["PACKAGE"]},{"url":"https://github.com/pypa/advisory-database/tree/main/vulns/keyring/PYSEC-2012-8.yaml","label":"github.com/pypa/advisory-database/tree/main/vulns/keyring/PYSEC-2012-8.yaml","hostname":"github.com","tags":["WEB"]},{"url":"https://github.com/advisories/GHSA-p3h7-3c45-qj4v","label":"github.com/advisories/GHSA-p3h7-3c45-qj4v","hostname":"github.com","tags":["Advisory"]},{"url":"https://security-tracker.debian.org/tracker/CVE-2012-4571","label":"security-tracker.debian.org/tracker/CVE-2012-4571","hostname":"security-tracker.debian.org","tags":["Advisory"]}],"lineage":{"upstream":[],"downstream":[],"duplicates":[],"related":[]},"timeline":[{"kind":"published","date":"2012-11-30T22:00:00.000Z","label":"Published","detail":"Vulnerability first disclosed.","source":null},{"kind":"modified","date":"2024-09-17T03:07:17.992Z","label":"Last modified","detail":"Vulnerability information updated.","source":null}],"risk":{"score":8,"level":"minimal","profile":"Default","thresholds":{"critical":75,"high":50,"medium":25,"low":10}},"meta":{"dataAsOf":"2026-10-19T13:31:55.521Z","stale":false,"partial":false}}