CVE-2020-11939
In nDPI through 3.2 Stable, the SSH protocol dissector has multiple KEXINIT integer overflows that result in a controlled remote heap overflow in concat_hash_string in ssh.c.
Does this matter?
High impact if exploited, but EPSS currently rates exploitation as unlikely (3.30%). Schedule it in the normal patch cycle and watch for a rise in EPSS or a public exploit.
Description
In nDPI through 3.2 Stable, the SSH protocol dissector has multiple KEXINIT integer overflows that result in a controlled remote heap overflow in concat_hash_string in ssh.c. Due to the granular nature of the overflow primitive and the ability to control both the contents and layout of the nDPI library's heap memory through remote input, this vulnerability may be abused to achieve full Remote Code Execution against any network inspection stack that is linked against nDPI and uses it to perform network traffic analysis.
- CVSS 3.1
- 9.8 CRITICALCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
- EPSS
- 3.30% probability · 88th percentile
- CISA KEV
- Not listed
- Weakness
- CWE-190, CWE-787
- Affected
- ntop/ndpi
- Source
- cve@mitre.org
References
- https://github.com/ntop/nDPI/commit/7ce478a58b4dd29a8d1e6f4e9df2f778613d9202Patch, Third Party Advisory
- https://securitylab.github.com/advisories/GHSL-2020-051_052-ntop-ndpiExploit, Third Party Advisory
- https://github.com/ntop/nDPI/commit/7ce478a58b4dd29a8d1e6f4e9df2f778613d9202Patch, Third Party Advisory
- https://securitylab.github.com/advisories/GHSL-2020-051_052-ntop-ndpiExploit, Third Party Advisory
Source: NVD record, EPSS from FIRST.org, KEV from CISA. Refreshed daily.