CVE-2020-15475

In nDPI through 3.2, ndpi_reset_packet_line_info in lib/ndpi_main.c omits certain reinitialization, leading to a use-after-free

published July 1, 2020

CVSS
—
EPSS
1%
Percentile
68.9
In the wild
Unconfirmed
What it is

⚠️ A tricky case of use-after-free lurks in nDPI versions up to 3.2! Missing reinitialization in the ndpi_reset_packet_line_info function is the culprit. 🤔 Think of it like a restaurant that keeps an old table reservation but fails to clear the previous diners' orders — the table is free, but the memory of what was there hasn't been properly wiped! This oversight could lead to unexpected behavior or crashes, potentially exposing sensitive data if an attacker manipulates the freed memory. It's a sneaky way for problems to arise, but thankfully, without known exploitation for now!

Put simply

Think of it like a restaurant that keeps an old table reservation but fails to clear the previous diners' orders — the table is free, but the memory of what was there hasn't been properly wiped! The vulnerability exists because the ndpi_reset_packet_line_info function in lib/ndpi_main.c does not properly reinitialize certain details after a packet processing event, leading to a use-after-free condition.

What to do

This oversight could lead to unexpected behavior or crashes, potentially exposing sensitive data if an attacker manipulates the freed memory. It's a sneaky way for problems to arise, but thankfully, without known exploitation for now! Review your nDPI version and update to at least 3.2 for a fix. Implement thorough testing of memory management practices to prevent similar issues. Staying vigilant is key! You've got this! With a quick update, you'll be reinforcing your defenses like a security hero! 🦸

The record
Technical detail
CVSS
Not scored
CVSS v4.0
Not supplied
EPSS
0.01239 · 68.9th percentile
Published
2020-07-01T10:53Z
EPSS history
Timeline
  • 01 JUL 10:53Z
    In nDPI through 3.2, ndpi_reset_packet_line_info in lib/ndpi_main.c omits certain reinitialization, leading to a use-after-free
    cvelistv5