Skip to content

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

CriticalCVSS 9.8 EPSS 3.3%
Published
Updated
Exploit status
No public exploit known
Technology
UbuntuDebian

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.

Upgrade path

10 packages: 4 fixed, 6 with no fix yet.

PackageAffectedFixed inStatus
ubuntu/ndpi?arch=src(Ubuntu 20.04) = 2.6-4; = 2.6-5; All versions No fix listed No fix yet
ubuntu/ndpi?arch=src(Ubuntu 22.04) = 4.0-4; = 4.2-2; All versions No fix listed No fix yet
ubuntu/ndpi?arch=src(Ubuntu 24.04) = 4.2-2; = 4.2-2.1; = 4.2-2.1build1; All versions No fix listed No fix yet
ubuntu/ndpi?arch=src(Ubuntu 24.10) = 4.2-2.1build1; All versions No fix listed No fix yet
ubuntu/ndpi?arch=src(Ubuntu Pro 16.04) = 1.5.0-1; = 1.6-1; = 1.7.1~git20151130.6f3d5a7-1; All versions No fix listed No fix yet
ubuntu/ndpi?arch=src(Ubuntu Pro 18.04) = 1.8-1; = 2.2-1; All versions No fix listed No fix yet
debian/ndpi(Debian 12) < 3.4-1 3.4-1 Fixed
debian/ndpi(Debian 13) < 3.4-1 3.4-1 Fixed
debian/ndpi(Debian 14) < 3.4-1 3.4-1 Fixed
ntop/ndpi <= 3.2 after 3.2 Fixed

Affected products

ProductAffected versionsFixed in
debian/ndpi(Debian:12) < 3.4-1 3.4-1
debian/ndpi(Debian:13) < 3.4-1 3.4-1
debian/ndpi(Debian:14) < 3.4-1 3.4-1
ntop/ndpi <= 3.2 No fix listed
ubuntu/ndpi?arch=src(Ubuntu:Pro:16.04) All versions No fix listed
ubuntu/ndpi?arch=src(Ubuntu:Pro:16.04) = 1.5.0-1 No fix listed
ubuntu/ndpi?arch=src(Ubuntu:Pro:16.04) = 1.6-1 No fix listed
ubuntu/ndpi?arch=src(Ubuntu:Pro:16.04) = 1.7.1~git20151130.6f3d5a7-1 No fix listed
ubuntu/ndpi?arch=src(Ubuntu:Pro:18.04) All versions No fix listed
ubuntu/ndpi?arch=src(Ubuntu:Pro:18.04) = 1.8-1 No fix listed
ubuntu/ndpi?arch=src(Ubuntu:Pro:18.04) = 2.2-1 No fix listed
ubuntu/ndpi?arch=src(Ubuntu:20.04) All versions No fix listed
ubuntu/ndpi?arch=src(Ubuntu:20.04) = 2.6-4 No fix listed
ubuntu/ndpi?arch=src(Ubuntu:20.04) = 2.6-5 No fix listed
ubuntu/ndpi?arch=src(Ubuntu:22.04) All versions No fix listed
ubuntu/ndpi?arch=src(Ubuntu:22.04) = 4.0-4 No fix listed
ubuntu/ndpi?arch=src(Ubuntu:22.04) = 4.2-2 No fix listed
ubuntu/ndpi?arch=src(Ubuntu:24.10) All versions No fix listed
ubuntu/ndpi?arch=src(Ubuntu:24.10) = 4.2-2.1build1 No fix listed
ubuntu/ndpi?arch=src(Ubuntu:24.04) All versions No fix listed
ubuntu/ndpi?arch=src(Ubuntu:24.04) = 4.2-2 No fix listed
ubuntu/ndpi?arch=src(Ubuntu:24.04) = 4.2-2.1 No fix listed
ubuntu/ndpi?arch=src(Ubuntu:24.04) = 4.2-2.1build1 No fix listed

References