{"id":"CVE-2012-4571","aliases":["GHSA-p3h7-3c45-qj4v","PYSEC-2012-8"],"url":"https://o3.security/vulnerability/CVE-2012-4571","summary":"Python Keyring does not securely initialize encryption cipher","details":"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.","published":"2012-11-30T22:55:01Z","modified":"2026-04-10T03:42:30.581852Z","cvss":{"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"},"epss":{"score":0.0037,"percentile":0.30287,"asOf":"2026-09-09"},"cisaKev":null,"exploitsKnown":0,"affectedPackages":[{"ecosystem":"PyPI","name":"keyring","fixedVersion":"0.9.2"}],"fix":{"url":"https://github.com/jaraco/keyring/commit/162f2ed0e39e16d561732b9fad8af6cd2341d7bd","label":"jaraco/keyring@162f2ed"},"references":[{"type":"ADVISORY","url":"http://www.ubuntu.com/usn/USN-1634-1"},{"type":"WEB","url":"http://pypi.python.org/pypi/keyring"},{"type":"WEB","url":"http://www.openwall.com/lists/oss-security/2012/10/31/8"},{"type":"WEB","url":"https://bugs.launchpad.net/ubuntu/+source/python-keyring/+bug/1004845"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2012-4571"},{"type":"WEB","url":"https://github.com/jaraco/keyring/commit/162f2ed0e39e16d561732b9fad8af6cd2341d7bd"},{"type":"WEB","url":"https://github.com/jaraco/keyring/commit/56272d908ba7a3fe4ebb6d6e87a7cc569f4726ac"},{"type":"WEB","url":"https://github.com/jaraco/keyring/commit/a76942672f6ac85a88bd9b9ed31fd133119b7702"},{"type":"WEB","url":"https://github.com/jaraco/keyring/commit/cbf509b0386c3063d8b2879ce72d78ac18023f72"},{"type":"WEB","url":"https://github.com/jaraco/keyring/commit/cc1ead78d1e3fab9fa8bb0b4bb334cb82d35db52"},{"type":"PACKAGE","url":"https://github.com/jaraco/keyring"},{"type":"WEB","url":"https://github.com/pypa/advisory-database/tree/main/vulns/keyring/PYSEC-2012-8.yaml"}],"provenance":{"sources":["OSV.dev","FIRST.org (EPSS)"],"lastVerified":"2026-04-10T03:42:30.581852Z"}}