USN-1634-1: Python Keyring vulnerabilities

Ubuntu Security Notice USN-1634-1

20th November, 2012

python-keyring vulnerabilities

A security issue affects these releases of Ubuntu and its derivatives:

  • Ubuntu 12.10
  • Ubuntu 12.04 LTS
  • Ubuntu 11.10


Several security issues were fixed in Python Keyring.

Software description

  • python-keyring - store and access your passwords safely


Dwayne Litzenberger discovered that Python Keyring's CryptedFileKeyring
file format used weak cryptography. A local attacker may use this issue to
brute-force CryptedFileKeyring keyring files. This issue only affected
Ubuntu 11.10 and Ubuntu 12.04 LTS. (CVE-2012-4571)

It was discovered that Python Keyring created keyring files with insecure
permissions. A local attacker could use this issue to access keyring files
belonging to other users.

Update instructions

The problem can be corrected by updating your system to the following package version:

Ubuntu 12.10:
python3-keyring 0.9.2-1ubuntu0.2
python-keyring 0.9.2-1ubuntu0.2
Ubuntu 12.04 LTS:
python3-keyring 0.9.2-0ubuntu0.12.04.2
python-keyring 0.9.2-0ubuntu0.12.04.2
Ubuntu 11.10:
python-keyring 0.9.2-0ubuntu0.11.10.2

To update your system, please follow these instructions:

In general, a standard system update will make all the necessary changes.
This update uses a new upstream release, which includes additional bug
fixes, and will migrate existing keyring files to the new format upon first


CVE-2012-4571, LP: 1004845