Buffer overflow in Ntop Ndpi

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. 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.

Vulnerability class: Integer Overflow

EPSS: 0.033 (87.3th percentile) — read the EPSS interpretation.

CVSS v3 metric

CVSS v3 base score 9.8 (Critical). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H.

Affected products

Weakness classification (CWE)

References

Frequently asked questions

What is CVE-2020-11939?
CVE-2020-11939 is a critical-severity vulnerability in Ntop Ndpi, classified under Integer Overflow or Wraparound. CVSS score: 9.8/10. Published 2020-04-23.
How severe is CVE-2020-11939?
Critical severity. CVSS v3 base score is 9.8 out of 10.