Use After Free Affecting ntop/ndpi package, versions [,3.4)


Severity

Recommended
0.0
critical
0
10

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

Threat Intelligence

EPSS
0.29% (69th 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 Learn

Learn about Use After Free vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-UNMANAGED-NTOPNDPI-2366527
  • published26 Jan 2022
  • disclosed1 Jul 2020
  • creditUnknown

Introduced: 1 Jul 2020

CVE-2020-15475  (opens in a new tab)
CWE-416  (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 Use After Free. In nDPI through 3.2, ndpi_reset_packet_line_info in lib/ndpi_main.c omits certain reinitialization, leading to a use-after-free.

References

CVSS Scores

version 3.1