CVE-2012-4571
LOW 2.1CVSS 2.0Python Keyring does not securely initialize encryption cipher
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
- 30 Nov 2012
- Last modified
- 16 Jun 2026
- Assigned by
- secalert@redhat.com
- NVD status
- Modified
- Weakness
- CWE-310CWE-326
- Also known as
- GHSA-p3h7-3c45-qj4vPYSEC-2012-8
- Sources
- NVDJSONOSV GHSA-p3h7-3c45-qj4vJSONOSV PYSEC-2012-8JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| OSV | GitHub | CVSS 4.0 | 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 | |
| OSV | GitHub | CVSS 3.1 | HIGH 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N |
| NVD | nvd@nist.gov (Primary) | CVSS 2.0 | LOW 2.1 | AV:L/AC:L/Au:N/C:P/I:N/A:N |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | python | keyringcpe:2.3:a:python:keyring:0.9.1:*:*:*:*:*:*:* |
= 0.9.1 | |
| OSV | PyPI | keyring | < 0.9.2 | 0.9.2 |
References
- http://pypi.python.org/pypi/keyring · WEB
- http://www.openwall.com/lists/oss-security/2012/10/31/8 · WEB
- http://www.ubuntu.com/usn/USN-1634-1 · WEB, ADVISORY
- https://bugs.launchpad.net/ubuntu/+source/python-keyring/+bug/1004845 · WEB
- https://nvd.nist.gov/vuln/detail/CVE-2012-4571 · ADVISORY
- https://github.com/jaraco/keyring/commit/162f2ed0e39e16d561732b9fad8af6cd2341d7bd · WEB
- https://github.com/jaraco/keyring/commit/56272d908ba7a3fe4ebb6d6e87a7cc569f4726ac · WEB
- https://github.com/jaraco/keyring/commit/a76942672f6ac85a88bd9b9ed31fd133119b7702 · WEB
- https://github.com/jaraco/keyring/commit/cbf509b0386c3063d8b2879ce72d78ac18023f72 · WEB
- https://github.com/jaraco/keyring/commit/cc1ead78d1e3fab9fa8bb0b4bb334cb82d35db52 · WEB
- https://github.com/jaraco/keyring · PACKAGE
- https://github.com/pypa/advisory-database/tree/main/vulns/keyring/PYSEC-2012-8.yaml · WEB
- https://github.com/advisories/GHSA-p3h7-3c45-qj4v · ADVISORY
History
- 25 Nov 2026 20:17 UTC · NVD: first stored (published 30 Nov 2012)
- 25 Nov 2026 20:12 UTC · OSV: first stored (published 30 Nov 2012)
- 25 Nov 2026 20:11 UTC · OSV: first stored (published 17 May 2022)