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.
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.
Affected software
Click a technology to see all vulnerabilities affecting it.
| Platform | Package | Vulnerable versions | Fixed in |
|---|---|---|---|
| Python (PyPI) | keyring | < 0.9.2 | 0.9.2 |
References
- https://nvd.nist.gov/vuln/detail/CVE-2012-4571
- 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://bugs.launchpad.net/ubuntu/+source/python-keyring/+bug/1004845
- https://github.com/jaraco/keyring
- https://github.com/pypa/advisory-database/tree/main/vulns/keyring/PYSEC-2012-8.yaml
- http://pypi.python.org/pypi/keyring
- http://www.openwall.com/lists/oss-security/2012/10/31/8
- http://www.ubuntu.com/usn/USN-1634-1
- https://github.com/advisories/GHSA-p3h7-3c45-qj4v
- CVSS vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N- Weakness (CWE)
CWE-326- Platform
- Python (PyPI)
- Package
keyring- Disclosed
- 30.11.2012
- Updated
- 11.10.2026 12:20
Sources and licenses
OSV / GitHub Advisory Database - GHSA-p3h7-3c45-qj4v - CC BY 4.0
OSV / GitHub Advisory Database - PYSEC-2012-8 - PyPA Advisory Database; CC BY 4.0
Vulnerability history: keyring
All published vulnerabilities of this package (Python (PyPI)), newest first. Shows whether this is a one-off slip or a package that needs watching.
- Total entries
- 3
- First → latest
- 11.2012 11.2019
- Without a fix
- 0
- Exploited in attacks
- 0
Severity breakdown
- High 3
Disclosures per year
- 2017: 0
- 2018: 0
- 2019: 2
- 2020: 0
- 2021: 0
- 2022: 0
- 2023: 0
- 2024: 0
- 2025: 0
- 2026: 0
earlier: 1
-
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. this entry
Know which vulnerabilities affect your application
With the DockRay integration and software inventory enabled, DockRay checks reported component versions against known vulnerabilities and notifies you about confirmed matches. Coverage depends on the supported technology and available advisory data.