In nDPI through 3.2 Stable, an out-of-bounds read in concathashstring in ssh.c can be exploited by a network-positioned attacker that can send malformed SSH protocol messages on a network segment monitored by nDPI's library.
[
{
"signature_version": "v1",
"target": {
"file": "src/lib/protocols/ssh.c"
},
"deprecated": false,
"source": "https://github.com/ntop/ndpi/commit/3bbb0cd3296023f6f922c71d21a1c374d2b0a435",
"id": "CVE-2020-11940-ab9df01b",
"signature_type": "Line",
"digest": {
"threshold": 0.9,
"line_hashes": [
"112669976753241023190343929122047825687",
"55443568218778909503912343298953271493",
"55090678806972166490394924557498809564",
"277751600410098970889155938586316082601",
"54290705435265989777103410977247831576",
"252017902324097163463410608857860806490",
"52780231211016711509913009326243001039",
"50507861911860217230422209087450536983",
"252017902324097163463410608857860806490",
"52426658710956212032122656176110875829",
"54290705435265989777103410977247831576",
"252017902324097163463410608857860806490",
"52780231211016711509913009326243001039",
"50507861911860217230422209087450536983",
"252017902324097163463410608857860806490",
"52780231211016711509913009326243001039",
"50507861911860217230422209087450536983"
]
}
},
{
"signature_version": "v1",
"target": {
"file": "src/lib/protocols/ssh.c",
"function": "concat_hash_string"
},
"deprecated": false,
"source": "https://github.com/ntop/ndpi/commit/3bbb0cd3296023f6f922c71d21a1c374d2b0a435",
"id": "CVE-2020-11940-e0e7c99f",
"signature_type": "Function",
"digest": {
"function_hash": "176786221778472667275115361113617528528",
"length": 3015.0
}
}
]