USN-1983-1: Python 2.7 vulnerabilities

Ubuntu Security Notice USN-1983-1

1st October, 2013

python2.7 vulnerabilities

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

  • Ubuntu 13.04
  • Ubuntu 12.10
  • Ubuntu 12.04 LTS

Summary

Several security issues were fixed in Python.

Software description

  • python2.7 - An interactive high-level object-oriented language

Details

Florian Weimer discovered that Python incorrectly handled matching multiple
wildcards in ssl certificate hostnames. An attacker could exploit this to
cause Python to consume resources, resulting in a denial of service. This
issue only affected Ubuntu 13.04. (CVE-2013-2099)

Ryan Sleevi discovered that Python did not properly handle certificates
with NULL characters in the Subject Alternative Name field. An attacker
could exploit this to perform a man in the middle attack to view sensitive
information or alter encrypted communications. (CVE-2013-4238)

Update instructions

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

Ubuntu 13.04:
python2.7-minimal 2.7.4-2ubuntu3.2
python2.7 2.7.4-2ubuntu3.2
Ubuntu 12.10:
python2.7-minimal 2.7.3-5ubuntu4.3
python2.7 2.7.3-5ubuntu4.3
Ubuntu 12.04 LTS:
python2.7-minimal 2.7.3-0ubuntu3.4
python2.7 2.7.3-0ubuntu3.4

To update your system, please follow these instructions: https://wiki.ubuntu.com/Security/Upgrades.

In general, a standard system update will make all the necessary changes.

References

CVE-2013-2099, CVE-2013-4238