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.
{
"cwe_ids": []
}[
{
"source": "https://github.com/python/cpython/commit/7ceb497ae6f554274399bd9916ea5a21de443208",
"signature_version": "v1",
"deprecated": false,
"target": {
"file": "Modules/audioop.c"
},
"id": "PSF-2010-4-089048ea",
"signature_type": "Line",
"digest": {
"threshold": 0.9,
"line_hashes": [
"196221488950172925550644331932534438013",
"189482937106790974487117451542323051760",
"128124632389929399064464979486347852305",
"80366452554841449162056830552976713835",
"163456086712753299228322560937451675916",
"143942870675118306613615219700349720885",
"165100708944452796940240566622174075771",
"198437367510675418763152917465280530535",
"82097478808595579467027996374351835359",
"126519212345464101720242550191032702066",
"191414195554895176964115909934765792943",
"265622334341368273968217381202241777350",
"218724728069995030861719361922075818063",
"333257063349459487225507178640778406123"
]
}
},
{
"source": "https://github.com/python/cpython/commit/ee289e6cd5c009e641ee970cfc67996d8f871221",
"signature_version": "v1",
"deprecated": false,
"target": {
"file": "Modules/audioop.c"
},
"id": "PSF-2010-4-135d87ef",
"signature_type": "Line",
"digest": {
"threshold": 0.9,
"line_hashes": [
"196221488950172925550644331932534438013",
"189482937106790974487117451542323051760",
"128124632389929399064464979486347852305",
"80366452554841449162056830552976713835",
"163456086712753299228322560937451675916",
"143942870675118306613615219700349720885",
"165100708944452796940240566622174075771",
"198437367510675418763152917465280530535",
"82097478808595579467027996374351835359",
"126519212345464101720242550191032702066",
"302016707278406119724458255654937869047",
"5714515429329146646602899079998014199",
"259508037812439674924927019010023121808",
"216385772479634061450847157053938661001"
]
}
},
{
"source": "https://github.com/python/cpython/commit/7ceb497ae6f554274399bd9916ea5a21de443208",
"signature_version": "v1",
"deprecated": false,
"target": {
"function": "audioop_ratecv",
"file": "Modules/audioop.c"
},
"id": "PSF-2010-4-8201bb1b",
"signature_type": "Function",
"digest": {
"length": 3676.0,
"function_hash": "72787498096910933663130686643902866304"
}
},
{
"source": "https://github.com/python/cpython/commit/ee289e6cd5c009e641ee970cfc67996d8f871221",
"signature_version": "v1",
"deprecated": false,
"target": {
"function": "audioop_ratecv",
"file": "Modules/audioop.c"
},
"id": "PSF-2010-4-a12651c7",
"signature_type": "Function",
"digest": {
"length": 3650.0,
"function_hash": "174948461962022499679745888077650851886"
}
}
]