Vulnerability in ndpi package: UNKNOWN READ in ndpi_strdup
Summary
OSV-2022-481: UNKNOWN READ in ndpi_strdup. Affects ndpi versions >= 7419cfee6407ff2dad687733da8eb27edd181ef9, < bdf54d725bb3e751b63af171e08203e3e434c587. Fixed in bdf54d725bb3e751b63af171e08203e3e434c587. How to fix ↓
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.
No signup required · Results in about 60 seconds
Background
The ndpi package is an open-source library used for deep packet inspection (DPI) of network traffic. It provides functionality to analyze and classify network packets based on their content. This vulnerability affects the ndpi package and can potentially be exploited to cause a crash or execute arbitrary code.
Vulnerability Detail
The vulnerability, identified as OSV-2022-481, is an UNKNOWN READ issue in the ndpi_strdup function. This function is responsible for duplicating a string in the ndpi library. The specific cause of the vulnerability is currently unknown. However, it has been reported that the crash occurs during the processing of collected network traffic information. An attacker could potentially exploit this vulnerability to crash the application or execute arbitrary code.
How To Fix
Minimum fixed version
bdf54d725bb3e751b63af171e08203e3e434c587
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
Currently, no specific workaround has been provided for this vulnerability. It is advised to update the package to the latest version as soon as possible.
Conclusion
In conclusion, the ndpi package is vulnerable to an UNKNOWN READ issue in the ndpi_strdup function. This vulnerability can potentially lead to application crashes or arbitrary code execution. It is crucial to update the package to the latest version that includes the fix to mitigate this vulnerability. For further support on vulnerability remediation, please contact DevNack.com.
See every vulnerability recorded for ndpi →
FAQ
The ndpi package is an open-source library used for deep packet inspection (DPI) of network traffic. It provides functionality to analyze and classify network packets based on their content.
This vulnerability can potentially be exploited to crash the application or execute arbitrary code.
To fix this vulnerability, update the ndpi package to the latest version that includes the fix for this issue.
Currently, no specific workaround has been provided. It is recommended to update the package to the latest version.
You can find more information about this vulnerability in the OSS-Fuzz report: https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=48020
References
Related vulnerabilities
Recent vulnerabilities recorded for ndpi.