Heap-buffer-overflow in ndpi_netbios_name_interpret

ndpi Updated 02 Oct 2025

Summary

24/06/2020
MEDIUM
Yes i
Medium
Not published

OSV-2020-49: Heap-buffer-overflow in ndpi_netbios_name_interpret. Affects ndpi versions >= 7234f369499e02f44efcbbf0efe43bae596ddc53, < 4f370fe7c49cb38125cff2a1411261011e433c94. Fixed in 4f370fe7c49cb38125cff2a1411261011e433c94. How to fix ↓

Free scan

Check if this vulnerability affects your application

Upload a manifest or SBOM and we'll show whether you're affected, plus every other risky package in the same scan.

Check my app free

No signup required · Results in about 60 seconds

Upload your dependency manifest or SBOM

Drag & drop your file here or

Java Javascript PHP Python Go Rust Ruby Dart C/C++ Elixir CycloneDX SPDX

Upload a supported dependency manifest or SBOM. No installation or source-code access required.

See supported files and SBOM formats
SBOM sbom.json · bom.json · bom.xml · *.spdx.json · *.cdx.json · *.cdx.xml
Java pom.xml · gradle.lockfile · buildscript-gradle.lockfile
Javascript package-lock.json · yarn.lock · pnpm-lock.yaml
PHP composer.lock
Python poetry.lock · requirements.txt · Pipfile.lock
Go go.mod
Rust Cargo.lock
Ruby Gemfile.lock
Dart pubspec.lock
C/C++ conan.lock
Elixir mix.lock
Enter your work email to receive your report link.

Verify your email to view the full report and start 30 days of continuous monitoring. No credit card required.

Sponsored Devnack Mobile apps built by Devnack Design, build and launch iOS and Android apps with a senior product team. From idea to store release Start a project

Background

The ndpi package is an open-source library that provides deep packet inspection (DPI) functionality. It is used for network traffic analysis and classification. The package is primarily designed to identify protocols and applications running on a network. However, a vulnerability has been discovered in the ndpi package that could lead to a heap-buffer-overflow.

Vulnerability Detail

The vulnerability in the ndpi package is a heap-buffer-overflow, specifically in the ndpi_netbios_name_interpret function. This vulnerability allows an attacker to read beyond the bounds of a heap buffer, potentially leading to information disclosure or remote code execution. The issue was reported through the OSS-Fuzz project and has been assigned the identifier OSV-2020-49. The vulnerability has a medium severity rating and affects versions of the ndpi package from commit 2efc09a20e6503d99fe3d76fcc16b1892fb7c7ff to 5c52c00ea4ad8afaebd5259bc53215a1ab41569f. The vulnerability was fixed in commit 4f370fe7c49cb38125cff2a1411261011e433c94.

How To Fix

Minimum fixed version

4f370fe7c49cb38125cff2a1411261011e433c94

This is the first release that contains the fix.

Tip — Not sure which version your app runs? Vulert can match this fix to it. Scan free →

Workaround

There is no known workaround for this vulnerability. It is recommended to apply the fix as soon as possible.

Conclusion

The ndpi package has been found to have a heap-buffer-overflow vulnerability in the ndpi_netbios_name_interpret function. This vulnerability could potentially lead to information disclosure or remote code execution. It is recommended to update the package to a fixed version as soon as possible. For further support on vulnerability remediation, you can reach out to DevNack.com.

See every vulnerability recorded for ndpi →

Share this vulnerability

FAQ

The vulnerability could allow an attacker to read beyond the bounds of a heap buffer, potentially leading to information disclosure or remote code execution.

The vulnerability was discovered through the OSS-Fuzz project, which performs continuous fuzz testing on open-source software.

The vulnerability has a medium severity rating.

Versions of the ndpi package from commit 2efc09a20e6503d99fe3d76fcc16b1892fb7c7ff to 5c52c00ea4ad8afaebd5259bc53215a1ab41569f are affected.

You can use the Vulert playground (https://vulert.com/scanner) to check if your application is affected by this vulnerability. Simply upload your package-lock.json file and Vulert will analyze it for vulnerabilities.

Related vulnerabilities

Recent vulnerabilities recorded for ndpi.

How To Fix

Minimum fixed version

4f370fe7c49cb38125cff2a1411261011e433c94

This is the first release that contains the fix.

Tip — Not sure which version your app runs? Vulert can match this fix to it. Scan free →

Subscribe to Vulert on Telegram
Daily digest of new CVEs, critical and high severity, affected packages and fixes — plus a weekly roundup.
Join the channel →
Help improve this record
Report an issue or send feedback