PyTorch before v2.2.0 was discovered to contain a heap buffer overflow vulnerability in the component /runtime/vararg_functions.cpp. This vulnerability allows attackers to cause a Denial of Service (DoS) via a crafted input.
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2024-31580.json"
[
{
"deprecated": false,
"signature_version": "v1",
"digest": {
"function_hash": "177212597411118124202478742030508243218",
"length": 1070.0
},
"source": "https://github.com/pytorch/pytorch/commit/b5c3a17c2c207ebefcb85043f0cf94be9b2fef81",
"signature_type": "Function",
"id": "CVE-2024-31580-32e4346e",
"target": {
"file": "torch/csrc/jit/runtime/vararg_functions.cpp",
"function": "tupleConstruct"
}
},
{
"deprecated": false,
"signature_version": "v1",
"digest": {
"threshold": 0.9,
"line_hashes": [
"122402175758227357894067518701770309718",
"148624457286558011395772266585298619984",
"264756394319484961386458264875539426314",
"204288781394093359214353439803224706057"
]
},
"source": "https://github.com/pytorch/pytorch/commit/b5c3a17c2c207ebefcb85043f0cf94be9b2fef81",
"signature_type": "Line",
"id": "CVE-2024-31580-65aa6a70",
"target": {
"file": "torch/csrc/jit/runtime/vararg_functions.cpp"
}
}
]