CVE-2012-4571
HIGH7.5EPSS 0.07%Python Keyring does not securely initialize encryption cipher
Published: 5/17/2022Modified: 4/28/2026
Description
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 packages (3)
- Debian/python-keyringfrom 0, < 0.9.2-1
- PyPI/keyringfrom 0, < 0.9.2
- PyPI/keyringfrom 0, < 0.9.2
CVSS scores
| Source | Version | Severity | Vector |
|---|---|---|---|
| osv | 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 | CVSS 3.1 | HIGH7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N |
References (13)
- ADVISORYhttps://nvd.nist.gov/vuln/detail/CVE-2012-4571
- ADVISORYhttps://security-tracker.debian.org/tracker/CVE-2012-4571
- PATCHhttps://github.com/jaraco/keyring
- WEBhttp://pypi.python.org/pypi/keyring
- WEBhttps://bugs.launchpad.net/ubuntu/+source/python-keyring/+bug/1004845
- WEBhttps://github.com/jaraco/keyring/commit/162f2ed0e39e16d561732b9fad8af6cd2341d7bd
- WEBhttps://github.com/jaraco/keyring/commit/56272d908ba7a3fe4ebb6d6e87a7cc569f4726ac
- WEBhttps://github.com/jaraco/keyring/commit/a76942672f6ac85a88bd9b9ed31fd133119b7702
- WEBhttps://github.com/jaraco/keyring/commit/cbf509b0386c3063d8b2879ce72d78ac18023f72
- WEBhttps://github.com/jaraco/keyring/commit/cc1ead78d1e3fab9fa8bb0b4bb334cb82d35db52
- WEBhttps://github.com/pypa/advisory-database/tree/main/vulns/keyring/PYSEC-2012-8.yaml
- WEBhttp://www.openwall.com/lists/oss-security/2012/10/31/8
- WEBhttp://www.ubuntu.com/usn/USN-1634-1