Python Keyring 0.9.1 does not securely initialize the cipher when encrypting passwords…
Priority LOW 11CWE-310Published · Updated
Key facts
- Attack vector
- Local
- Privileges required
- None
- User interaction
- — Not recorded in CVSS 2.0
- Attack complexity
- Low
- Impact type
- Information disclosure
- Confidentiality · integrity · availability
- Partial · None · None
- Fix status
- Partial Red Hat: 2 without a fix
Attack profile from CVSS 2.0 · NVD. Fix status from CNA, GitHub and Red Hat. Impact type from CWE-326.
Summary
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.
Why it matters now
EPSS 0.0037 31st percentileScored 2026-11-07
Fix Partial keyring (PyPI): 0.9.2Red Hat: 2 without a fix
SSVC decision points
Not available: CISA has not published SSVC decision points for this record.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| — | — | all versions | — | No fix listed | CNA |
| — | keyring (PyPI) | before 0.9.2 | 0.9.2 | Patch available | GHSA-p3h7-3c45-qj4v |
- — Vendor— Affected all versions Fixed in — No fix listed CNA
- keyring (PyPI) Vendor— Affected before 0.9.2 Fixed in 0.9.2 Patch available GHSA-p3h7-3c45-qj4v
CPE configurations NVD · 1
| CPE | Versions | Role | Vendor |
|---|---|---|---|
| cpe:2.3:a:python:keyring:0.9.1:*:*:*:*:*:*:* | 0.9.1 | Vulnerable | python-pillow |
- cpe:2.3:a:python:keyring:0.9.1:*:*:*:*:*:*:* Versions 0.9.1 Vulnerable ·python-pillow
Remediation
- Fix · GHSA-p3h7-3c45-qj4v keyring (PyPI) Fixed in 0.9.2 Advisory →
Vendor assessments
Red Hat
Red Hat rating: Low. Red Hat's page for this CVE →
| Product | Status | Plan or fix |
|---|---|---|
| Red Hat OpenStack Platform 3 | Affected | No fix planned: Will not fix |
| Red Hat OpenStack Platform 4 | Affected | No fix planned: Will not fix |
Timeline
- 2026-10-02 Threatist record created from CVE-2012-4571
- 2026-10-03 Alias added: GHSA-p3h7-3c45-qj4v
References
Other 10
- http://pypi.python.org/pypi/keyring
- https://bugs.launchpad.net/ubuntu/+source/python-keyring/+bug/1004845
- [oss-security] 20121031 Re: CVE Request: Python keyring
- https://github.com/jaraco/keyring/commit/162f2ed0e39e16d561732b9fad8af6cd2341d7bd
- https://github.com/jaraco/keyring/commit/56272d908ba7a3fe4ebb6d6e87a7cc569f4726ac
- https://github.com/jaraco/keyring/commit/a76942672f6ac85a88bd9b9ed31fd133119b7702
- https://github.com/jaraco/keyring/commit/cbf509b0386c3063d8b2879ce72d78ac18023f72
- https://github.com/jaraco/keyring/commit/cc1ead78d1e3fab9fa8bb0b4bb334cb82d35db52
- https://github.com/jaraco/keyring
- https://github.com/pypa/advisory-database/tree/main/vulns/keyring/PYSEC-2012-8.yaml
More python-pillow Keyring vulnerabilities
- TI-2012-04693 Python keyring lib before 0.10 created keyring files with world-readable permissions. CVSS 3.1HIGH 7.5
- TI-2012-04694 Python keyring has insecure permissions on new databases allowing world-readable files to be created CVSS 3.1MEDIUM 6.2
Sources
- CVE-2012-4571 · CVE Program
- CVE-2012-4571 · NVD
- FIRST EPSS
- GHSA-p3h7-3c45-qj4v · GitHub Advisory Database · CC BY 4.0
- CVE-2012-4571 · Red Hat security data · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences