| Name | CVE-2020-11940 | 
| Description | In nDPI through 3.2 Stable, an out-of-bounds read in concat_hash_string 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. | 
| Source | CVE (at NVD; CERT, ENISA, LWN, oss-sec, fulldisc, Debian ELTS, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more) | 
| Debian Bugs | 972050 | 
Vulnerable and fixed packages
The table below lists information on source packages.
| Source Package | Release | Version | Status | 
|---|
| ndpi (PTS) | bookworm | 4.2-2 | fixed | 
|  | forky, sid, trixie | 4.2-2.1 | fixed | 
The information below is based on the following data on fixed versions.
| Package | Type | Release | Fixed Version | Urgency | Origin | Debian Bugs | 
|---|
| ndpi | source | jessie | (not affected) |  |  |  | 
| ndpi | source | stretch | (not affected) |  |  |  | 
| ndpi | source | buster | (not affected) |  |  |  | 
| ndpi | source | (unstable) | 3.4-1 |  |  | 972050 | 
Notes
[buster] - ndpi <not-affected> (Introduced in 3.0)
[stretch] - ndpi <not-affected> (Introduced in 3.0)
[jessie] - ndpi <not-affected> (Introduced in 3.0)
https://github.com/ntop/nDPI/commit/3bbb0cd3296023f6f922c71d21a1c374d2b0a435 (3.4)
https://securitylab.github.com/advisories/GHSL-2020-051_052-ntop-ndpi