Bug 598197 (CVE-2010-2089)

Summary: CVE-2010-2089 Python: Memory corruption in audioop module
Product: [Other] Security Response Reporter: Jan Lieskovsky <jlieskov>
Component: vulnerabilityAssignee: Red Hat Product Security <security-response-team>
Status: CLOSED ERRATA QA Contact:
Severity: low Docs Contact:
Priority: low    
Version: unspecifiedCC: dmalcolm, mnowak, psplicha, vdanen
Target Milestone: ---Keywords: Security
Target Release: ---   
Hardware: All   
OS: Linux   
URL: http://bugs.python.org/issue7673
Whiteboard: public=20100111,reported=20100527,source=cve,impact=low,cvss2=4.3/AV:N/AC:M/Au:N/C:N/I:N/A:P,rhel-6.0.z/python=affected,rhel-5/python=affected,rhel-4/python=affected
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2012-09-11 11:31:34 EDT Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Bug Depends On: 598198, 598199, 645880, 693954    
Bug Blocks:    
Attachments:
Description Flags
audioop_check_length.patch by Victor Stinner none

Description Jan Lieskovsky 2010-05-31 13:49:57 EDT
Common Vulnerabilities and Exposures assigned an identifier CVE-2010-2089 to
the following vulnerability:

The audioop module in Python 2.7 and 3.2 does not verify the
relationships between size arguments and byte string lengths, which
allows context-dependent attackers to cause a denial of service
(memory corruption and application crash) via crafted arguments, as
demonstrated by a call to audioop.reverse with a one-byte string, a
different vulnerability than CVE-2010-1634.

References:
  [1] http://bugs.python.org/issue7673

Public PoC (from [1]):
  $ python -c "import audioop; audioop.reverse('X', 2)"
    Fatal Python error: Inconsistent interned string state.
    Abandon
Comment 1 Jan Lieskovsky 2010-05-31 13:52:13 EDT
Created attachment 418359 [details]
audioop_check_length.patch by Victor Stinner
Comment 4 Vincent Danen 2010-06-04 13:02:15 EDT
The Red Hat Security Response Team has rated this issue as having low security impact, a future update may address this flaw.
Comment 5 Fedora Update System 2010-06-04 18:04:28 EDT
python-2.6.2-8.fc12 has been submitted as an update for Fedora 12.
http://admin.fedoraproject.org/updates/python-2.6.2-8.fc12
Comment 6 Fedora Update System 2010-06-04 18:05:02 EDT
python-2.6.4-27.fc13 has been submitted as an update for Fedora 13.
http://admin.fedoraproject.org/updates/python-2.6.4-27.fc13
Comment 7 Fedora Update System 2010-06-04 18:05:27 EDT
python-2.6-14.fc11 has been submitted as an update for Fedora 11.
http://admin.fedoraproject.org/updates/python-2.6-14.fc11
Comment 8 Fedora Update System 2010-06-04 18:10:43 EDT
python3-3.1.2-6.fc13 has been submitted as an update for Fedora 13.
http://admin.fedoraproject.org/updates/python3-3.1.2-6.fc13
Comment 9 Fedora Update System 2010-06-04 18:11:58 EDT
python26-2.6.5-5.el5 has been submitted as an update for Fedora EPEL 5.
http://admin.fedoraproject.org/updates/python26-2.6.5-5.el5
Comment 10 Fedora Update System 2010-06-14 13:09:36 EDT
python-2.6.4-27.fc13 has been pushed to the Fedora 13 stable repository.  If problems still persist, please make note of it in this bug report.
Comment 11 Fedora Update System 2010-07-05 18:04:42 EDT
python-2.6.2-8.fc12 has been pushed to the Fedora 12 stable repository.  If problems still persist, please make note of it in this bug report.
Comment 15 errata-xmlrpc 2011-01-13 18:09:59 EST
This issue has been addressed in following products:

  Red Hat Enterprise Linux 5

Via RHSA-2011:0027 https://rhn.redhat.com/errata/RHSA-2011-0027.html
Comment 16 errata-xmlrpc 2011-01-14 04:04:01 EST
This issue has been addressed in following products:

  Red Hat Enterprise Linux 5

Via RHSA-2011:0027 https://rhn.redhat.com/errata/RHSA-2011-0027.html
Comment 17 errata-xmlrpc 2011-05-05 14:56:42 EDT
This issue has been addressed in following products:

  Red Hat Enterprise Linux 4

Via RHSA-2011:0491 https://rhn.redhat.com/errata/RHSA-2011-0491.html