# CVE-2012-5577: PYSEC-2019-181 - Python keyring lib before 0.10 created keyring files with world-readable permissions.

Source: https://junglewise.ai/threats/cve-2012-5577-incorrect-default-permissions-in-keyring  
Publisher: Junglewise Threat Intelligence, https://junglewise.ai/threats  
Published: 2019-10-28  
License: CC BY 4.0 with a link back

CVE-2012-5577 · Severity: low · CVSS 3.1 · Published 2019-10-28

Python keyring lib before 0.10 created keyring files with world-readable permissions.

Technologies: [keyring (PyPI)](https://junglewise.ai/threats/technologies/keyring). Vendors: [PyPI](https://junglewise.ai/threats/vendors/pypi).

## Quick answers

**Is CVE-2012-5577 exploited in the wild?** No. Junglewise Threat Intelligence has no report of CVE-2012-5577 being exploited in the wild.

**How severe is CVE-2012-5577?** Low severity, with a CVSS score of 3.1, published 28 October 2019.

**Which products and versions are affected?** keyring (PyPI) ECOSYSTEM:introduced=0,fixed=0.10.

**Is there a fix for CVE-2012-5577?** Yes. keyring (PyPI): upgrade to 0.10 or later. Junglewise finds every place you run it, drafts the upgrade and applies it once you approve.

**Am I affected by CVE-2012-5577?** Check whether you run keyring (PyPI) at an affected version. Junglewise does that check for you around the clock: connect your code, cloud and domains, and it matches new vulnerabilities like this one against what you actually run and tells you when one reaches you.

## How to fix

- keyring (PyPI): upgrade to 0.10 or later

  ```sh
  pip install "keyring>=0.10"
  ```


## Affected products

- keyring (PyPI) ECOSYSTEM:introduced=0,fixed=0.10

## Identifiers

- CVE-2012-5577
- GHSA-p86x-652p-6385
- PYSEC-2019-181

## Related threats

- [PYSEC-2019-182 - Python keyring has insecure permissions on new databases allowing world-readable files to be created](https://junglewise.ai/threats/cve-2012-5578-incorrect-default-permissions-in-keyring)
- [Python Keyring does not securely initialize encryption cipher](https://junglewise.ai/threats/cve-2012-4571-python-keyring-does-not-securely-initialize-encryption-cipher)
