Buffer overflow in the socket.recvfrom_into function in Modules/socketmodule.c in Python 2.5 before 2.7.7, 3.x before 3.3.4, and 3.4.x before 3.4rc1 allows remote attackers to execute arbitrary code via a crafted string.
{
"cwe_ids": []
}[
{
"signature_type": "Line",
"digest": {
"threshold": 0.9,
"line_hashes": [
"103390300402132662469849500633627364190",
"223371120010662196003270599124451116473",
"261379507222969003586121001111428694574",
"238806594852394894336742587411725080900"
]
},
"target": {
"file": "Modules/socketmodule.c"
},
"signature_version": "v1",
"id": "PSF-2014-4-05f5bf1b",
"deprecated": false,
"source": "https://github.com/python/cpython/commit/28cf368c1baba3db1f01010e921f63017af74c8f"
},
{
"signature_type": "Function",
"digest": {
"function_hash": "22326766310961153659094353795286461659",
"length": 738.0
},
"target": {
"file": "Modules/socketmodule.c",
"function": "sock_recvfrom_into"
},
"signature_version": "v1",
"id": "PSF-2014-4-459fc502",
"deprecated": false,
"source": "https://github.com/python/cpython/commit/28cf368c1baba3db1f01010e921f63017af74c8f"
},
{
"signature_type": "Function",
"digest": {
"function_hash": "196624245554578024821879072311214523197",
"length": 753.0
},
"target": {
"file": "Modules/socketmodule.c",
"function": "sock_recvfrom_into"
},
"signature_version": "v1",
"id": "PSF-2014-4-b7702f15",
"deprecated": false,
"source": "https://github.com/python/cpython/commit/fbf648ebba32bbc5aa571a4b09e2062a65fd2492"
},
{
"signature_type": "Line",
"digest": {
"threshold": 0.9,
"line_hashes": [
"268655890330687966495697890262099543870",
"223371120010662196003270599124451116473",
"139984181626133981185481625376004869617",
"87765871687588949044189671611434937717"
]
},
"target": {
"file": "Modules/socketmodule.c"
},
"signature_version": "v1",
"id": "PSF-2014-4-e3c9f0c2",
"deprecated": false,
"source": "https://github.com/python/cpython/commit/fbf648ebba32bbc5aa571a4b09e2062a65fd2492"
}
]