CVE-2010-1634
published 2010-05-27CVE-2010-1634: Multiple integer overflows in audioop.c in the audioop module in Python 2.6, 2.7, 3.1, and 3.2 allow context-dependent attackers to cause a denial of service…
medium5CVSS 3.1
AVNACLAuNCNINAP
Multiple integer overflows in audioop.c in the audioop module in Python 2.6, 2.7, 3.1, and 3.2 allow context-dependent attackers to cause a denial of service (application crash) via a large fragment, as demonstrated by a call to audioop.lin2lin with a long string in the first argument, leading to a buffer overflow. NOTE: this vulnerability exists because of an incorrect fix for CVE-2008-3143.5.
Affected
13 ranges
| Vendor | Product | Version range | Fixed in |
|---|---|---|---|
| canonical | ubuntu_linux | — | — |
| canonical | ubuntu_linux | — | — |
| canonical | ubuntu_linux | — | — |
| canonical | ubuntu_linux | — | — |
| debian | python2.7 | < python2.7 2.7-1 (bullseye) | python2.7 2.7-1 (bullseye) |
| fedoraproject | fedora | — | — |
| opensuse | opensuse | — | — |
| opensuse | opensuse | — | — |
| python | python | >= 2.5.0 < 2.5.6 | 2.5.6 |
| python | python | >= 2.6.0 < 2.6.6 | 2.6.6 |
| python | python | >= 3.1.0 < 3.1.3 | 3.1.3 |
| suse | linux_enterprise_server | — | — |
| suse | linux_enterprise_server | — | — |
CVSS provenance
nvd5.0MEDIUMAV:N/AC:L/Au:N/C:N/I:N/A:P
osv7.5HIGH
Ubuntu
Python 3.1 vulnerabilities
vendor_ubuntu·2012-10-24·CVSS 6.9
CVE-2008-5983 [MEDIUM] Python 3.1 vulnerabilities
Title: Python 3.1 vulnerabilities
Summary: Several security issues were fixed in Python 3.1.
It was discovered that Python would prepend an empty string to sys.path
under certain circumstances. A local attacker with write access to the
current working directory could exploit this to execute arbitrary code.
This issue only affected Ubuntu 10.04 LTS. (CVE-2008-5983)
It was discovered that the audioop module did not correctly perform input
validation. If a user or automatated system were tricked into opening a
crafted audio file, an attacker could cause a denial of service via
application crash. These issues only affected Ubuntu 10.04 LTS.
(CVE-2010-1634, CVE-2010-2089)
It was discovered that Python distutils contained a race condition when
creating the ~/.pypirc file. A local attacker co
Ubuntu
Python 2.5 vulnerabilities
vendor_ubuntu·2012-10-17·CVSS 6.9
CVE-2008-5983 [MEDIUM] Python 2.5 vulnerabilities
Title: Python 2.5 vulnerabilities
Summary: Several security issues were fixed in Python 2.5.
It was discovered that Python would prepend an empty string to sys.path
under certain circumstances. A local attacker with write access to the
current working directory could exploit this to execute arbitrary code.
(CVE-2008-5983)
It was discovered that the audioop module did not correctly perform input
validation. If a user or automatated system were tricked into opening a
crafted audio file, an attacker could cause a denial of service via
application crash. (CVE-2010-1634, CVE-2010-2089)
Giampaolo Rodola discovered several race conditions in the smtpd module.
A remote attacker could exploit this to cause a denial of service via
daemon outage. (CVE-2010-3493)
It was discovered that the CGIHTT
Ubuntu
Python 2.4 vulnerabilities
vendor_ubuntu·2012-10-17·CVSS 6.9
CVE-2010-2089 [MEDIUM] Python 2.4 vulnerabilities
Title: Python 2.4 vulnerabilities
Summary: Several security issues were fixed in Python 2.4.
USN-1613-1 fixed vulnerabilities in Python 2.5. This update provides the
corresponding updates for Python 2.4.
Original advisory details:
It was discovered that Python would prepend an empty string to sys.path
under certain circumstances. A local attacker with write access to the
current working directory could exploit this to execute arbitrary code.
(CVE-2008-5983)
It was discovered that the audioop module did not correctly perform input
validation. If a user or automatated system were tricked into opening a
crafted audio file, an attacker could cause a denial of service via
application crash. (CVE-2010-1634, CVE-2010-2089)
Giampaolo Rodola discovered several race conditions in the smtpd mod
Ubuntu
Python 2.6 vulnerabilities
vendor_ubuntu·2012-10-04·CVSS 6.9
CVE-2008-5983 [MEDIUM] Python 2.6 vulnerabilities
Title: Python 2.6 vulnerabilities
Summary: Several security issues were fixed in Python 2.6.
It was discovered that Python would prepend an empty string to sys.path
under certain circumstances. A local attacker with write access to the
current working directory could exploit this to execute arbitrary code.
(CVE-2008-5983)
It was discovered that the audioop module did not correctly perform input
validation. If a user or automatated system were tricked into opening a
crafted audio file, an attacker could cause a denial of service via
application crash. (CVE-2010-1634, CVE-2010-2089)
Giampaolo Rodola discovered several race conditions in the smtpd module.
A remote attacker could exploit this to cause a denial of service via
daemon outage. (CVE-2010-3493)
It was discovered that the CGIHTT
Red Hat
python: audioop: incorrect integer overflow checks
vendor_redhat·2010-05-10·CVSS 7.5
CVE-2010-1634 [HIGH] CWE-190 python: audioop: incorrect integer overflow checks
python: audioop: incorrect integer overflow checks
Multiple integer overflows in audioop.c in the audioop module in Python 2.6, 2.7, 3.1, and 3.2 allow context-dependent attackers to cause a denial of service (application crash) via a large fragment, as demonstrated by a call to audioop.lin2lin with a long string in the first argument, leading to a buffer overflow. NOTE: this vulnerability exists because of an incorrect fix for CVE-2008-3143.5.
Package: python (Red Hat Enterprise Linux Extended Update Support 6.0) - Affected
Red Hat
Python: Memory corruption in audioop module
vendor_redhat·2010-01-11·CVSS 5.0
CVE-2010-2089 [MEDIUM] Python: Memory corruption in audioop module
Python: Memory corruption in audioop module
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.
Package: python (Red Hat Enterprise Linux Extended Update Support 6.0) - Affected
Debian
CVE-2010-2089: python2.7 - The audioop module in Python 2.7 and 3.2 does not verify the relationships betwe...
vendor_debian·2010·CVSS 5.0
CVE-2010-2089 [MEDIUM] CVE-2010-2089: python2.7 - The audioop module in Python 2.7 and 3.2 does not verify the relationships betwe...
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.
Scope: local
bullseye: resolved (fixed in 2.7-1)
Debian
CVE-2010-1634: python2.7 - Multiple integer overflows in audioop.c in the audioop module in Python 2.6, 2.7...
vendor_debian·2010·CVSS 7.5
CVE-2010-1634 [HIGH] CVE-2010-1634: python2.7 - Multiple integer overflows in audioop.c in the audioop module in Python 2.6, 2.7...
Multiple integer overflows in audioop.c in the audioop module in Python 2.6, 2.7, 3.1, and 3.2 allow context-dependent attackers to cause a denial of service (application crash) via a large fragment, as demonstrated by a call to audioop.lin2lin with a long string in the first argument, leading to a buffer overflow. NOTE: this vulnerability exists because of an incorrect fix for CVE-2008-3143.5.
Scope: local
bullseye: resolved (fixed in 2.7-1)
GHSA
GHSA-gr62-2592-229q: Multiple integer overflows in audioop
ghsa_unreviewed·2022-05-13·CVSS 7.5
CVE-2010-1634 [HIGH] CWE-190 GHSA-gr62-2592-229q: Multiple integer overflows in audioop
Multiple integer overflows in audioop.c in the audioop module in Python 2.6, 2.7, 3.1, and 3.2 allow context-dependent attackers to cause a denial of service (application crash) via a large fragment, as demonstrated by a call to audioop.lin2lin with a long string in the first argument, leading to a buffer overflow. NOTE: this vulnerability exists because of an incorrect fix for CVE-2008-3143.5.
GHSA
GHSA-8428-fhph-pvrc: The audioop module in Python 2
ghsa_unreviewed·2022-05-13·CVSS 5.0
CVE-2010-2089 [MEDIUM] CWE-119 GHSA-8428-fhph-pvrc: The audioop module in Python 2
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.
OSV
CVE-2010-1634: Multiple integer overflows in audioop
osv·2010-05-27·CVSS 7.5
CVE-2010-1634 [HIGH] CVE-2010-1634: Multiple integer overflows in audioop
Multiple integer overflows in audioop.c in the audioop module in Python 2.6, 2.7, 3.1, and 3.2 allow context-dependent attackers to cause a denial of service (application crash) via a large fragment, as demonstrated by a call to audioop.lin2lin with a long string in the first argument, leading to a buffer overflow. NOTE: this vulnerability exists because of an incorrect fix for CVE-2008-3143.5.
OSV
CVE-2010-2089: The audioop module in Python 2
osv·2010-05-27·CVSS 5.0
CVE-2010-2089 [MEDIUM] CVE-2010-2089: The audioop module in Python 2
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.
No detection rules found.
No public exploits indexed.
Bugzilla
CVE-2010-2089 Python: Memory corruption in audioop module
bugzilla·2010-05-31·CVSS 5.0
CVE-2010-2089 [MEDIUM] CVE-2010-2089 Python: Memory corruption in audioop module
CVE-2010-2089 Python: Memory corruption in audioop module
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
Discussion:
Created attachment 418359
audioop_check_length.patch by
Bugzilla
CVE-2010-1634 python: audioop: incorrect integer overflow checks
bugzilla·2010-05-10·CVSS 7.5
CVE-2010-1634 [HIGH] CVE-2010-1634 python: audioop: incorrect integer overflow checks
CVE-2010-1634 python: audioop: incorrect integer overflow checks
Python SVN commit r64114 added integer overflow checks to multiple python module:
http://svn.python.org/view?view=rev&revision=64114
All the issue got covered under single CVE - CVE-2008-3143.
Checks added to audioop (and rgbimg, see bug #541698) were incorrect and possible to bypass:
http://bugs.python.org/issue8674
Discussion:
Created attachment 412843
Proposed patch (python 2.6)
---
Created attachment 412844
Proposed patch (python 2.4)
---
Assigning CVE-2010-1634 here and setting priority to low.
As noted in the upstream bug, ulaw2lin, alaw2lin and adpcm2lin integer overflows do not lead to buffer overflows. lin2lin integer overflow can result in buffer overflow - audioop.lin2lin("A"*0x40000001, 1, 4). ratecv r
http://bugs.python.org/issue8674http://lists.apple.com/archives/Security-announce/2011//Oct/msg00003.htmlhttp://lists.fedoraproject.org/pipermail/package-announce/2010-June/042751.htmlhttp://lists.opensuse.org/opensuse-security-announce/2010-12/msg00006.htmlhttp://lists.opensuse.org/opensuse-security-announce/2011-01/msg00006.htmlhttp://secunia.com/advisories/39937http://secunia.com/advisories/40194http://secunia.com/advisories/42888http://secunia.com/advisories/43068http://secunia.com/advisories/50858http://secunia.com/advisories/51024http://secunia.com/advisories/51040http://secunia.com/advisories/51087http://support.apple.com/kb/HT5002http://svn.python.org/view?rev=81045&view=revhttp://svn.python.org/view?rev=81079&view=revhttp://www.redhat.com/support/errata/RHSA-2011-0027.htmlhttp://www.securityfocus.com/bid/40370http://www.ubuntu.com/usn/USN-1596-1http://www.ubuntu.com/usn/USN-1613-1http://www.ubuntu.com/usn/USN-1613-2http://www.ubuntu.com/usn/USN-1616-1http://www.vupen.com/english/advisories/2010/1448http://www.vupen.com/english/advisories/2011/0122http://www.vupen.com/english/advisories/2011/0212https://bugzilla.redhat.com/show_bug.cgi?id=590690http://bugs.python.org/issue8674http://lists.apple.com/archives/Security-announce/2011//Oct/msg00003.htmlhttp://lists.fedoraproject.org/pipermail/package-announce/2010-June/042751.htmlhttp://lists.opensuse.org/opensuse-security-announce/2010-12/msg00006.htmlhttp://lists.opensuse.org/opensuse-security-announce/2011-01/msg00006.htmlhttp://secunia.com/advisories/39937http://secunia.com/advisories/40194http://secunia.com/advisories/42888http://secunia.com/advisories/43068http://secunia.com/advisories/50858http://secunia.com/advisories/51024http://secunia.com/advisories/51040http://secunia.com/advisories/51087http://support.apple.com/kb/HT5002http://svn.python.org/view?rev=81045&view=revhttp://svn.python.org/view?rev=81079&view=revhttp://www.redhat.com/support/errata/RHSA-2011-0027.htmlhttp://www.securityfocus.com/bid/40370http://www.ubuntu.com/usn/USN-1596-1http://www.ubuntu.com/usn/USN-1613-1http://www.ubuntu.com/usn/USN-1613-2http://www.ubuntu.com/usn/USN-1616-1http://www.vupen.com/english/advisories/2010/1448http://www.vupen.com/english/advisories/2011/0122http://www.vupen.com/english/advisories/2011/0212https://bugzilla.redhat.com/show_bug.cgi?id=590690
2010-05-27
Published