Out-of-bounds Read Affecting ntop/ndpi package, versions [,3.4)


Severity

Recommended
0.0
high
0
10

CVSS assessment made by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.14% (51st percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-UNMANAGED-NTOPNDPI-2366523
  • published26 Jan 2022
  • disclosed23 Apr 2020
  • creditUnknown

Introduced: 23 Apr 2020

CVE-2020-11940  (opens in a new tab)
CWE-125  (opens in a new tab)

How to fix?

Upgrade ntop/ndpi to version 3.4 or higher.

Overview

Affected versions of this package are vulnerable to Out-of-bounds Read. 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.

CVSS Scores

version 3.1