{"id":"GHSA-p3h7-3c45-qj4v","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.","aliases":["CVE-2012-4571","PYSEC-2012-8"],"modified":"2024-09-27T18:47:40.558390Z","published":"2022-05-17T05:18:21Z","database_specific":{"github_reviewed":true,"github_reviewed_at":"2023-08-29T21:40:04Z","nvd_published_at":"2012-11-30T22:55:00Z","cwe_ids":["CWE-326"],"severity":"HIGH"},"references":[{"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":"WEB","url":"https://bugs.launchpad.net/ubuntu/+source/python-keyring/+bug/1004845"},{"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"},{"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":"http://www.ubuntu.com/usn/USN-1634-1"}],"affected":[{"package":{"name":"keyring","ecosystem":"PyPI","purl":"pkg:pypi/keyring"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.9.2"}]}],"versions":["0.1","0.2","0.3","0.4","0.5","0.5.1","0.6.2","0.7","0.7.1","0.8","0.8.1","0.9","0.9.1"],"database_specific":{"last_known_affected_version_range":"\u003c= 0.9.1","source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2022/05/GHSA-p3h7-3c45-qj4v/GHSA-p3h7-3c45-qj4v.json"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N"},{"type":"CVSS_V4","score":"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"}]}