CVE-2020-25340: NFStream Local Denial of Service (DoS)
5.5
CVSS Score
3.1
Basic Information
CVE ID
GHSA ID
EPSS Score
0.14854%
CWE
Published
5/24/2022
Updated
9/26/2024
KEV Status
No
Technology
Python
Technical Details
CVSS Vector
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
Package Name | Ecosystem | Vulnerable Versions | First Patched Version |
---|---|---|---|
nfstream | pip | = 5.2.0 |
Vulnerability Intelligence
Miggo AI
Root Cause Analysis
The vulnerability arises when an NFStreamer object is destroyed without being used, leaving allocated modules (like nDPI contexts) unfreed. The GitHub issue explicitly links the leak to improper cleanup in nDPI's ndpi_flow_free(), but the root cause in NFStream lies in its lifecycle management. The NFStreamer init method initializes these modules, and the NDPI plugin's del method (or related cleanup logic) fails to free them if the object is destroyed early. This matches CWE-401 (missing memory release) and the described exploit scenario.