CVE-2017-12995

The DNS parser in tcpdump before 4.9.2 could enter an infinite loop due to a bug in print-domain.c:ns_print()

Critical · published September 14, 2017

CVSS v3.1
9.8
EPSS
2%
Percentile
83.8
In the wild
Unconfirmed
What it is

🔥 A bug in tcpdump's DNS parser can send your server into an infinite loop—imagine a hamster on a wheel that just won't stop! Think of it like a traffic light stuck on red, causing all the cars (or in this case, processes) to back up indefinitely, preventing any data from getting through. This loop can create a log jam in your network traffic, effectively shutting down your monitoring capabilities. An attacker could exploit this situation to cause your tcpdump instance to hang, resulting in a denial of service. With your network monitoring in limbo, critical issues could go unnoticed, leaving your system vulnerable and your defenses down—absolutely devastating for any network administrator!

Put simply

Think of it like a traffic light stuck on red, causing all the cars (or in this case, processes) to back up indefinitely, preventing any data from getting through. This loop can create a log jam in your network traffic, effectively shutting down your monitoring capabilities. The vulnerability arises from a flaw in print-domain.c:ns_print(), allowing the DNS parser to enter an infinite loop when handling specific input, effectively freezing the tcpdump process.

What to do

An attacker could exploit this situation to cause your tcpdump instance to hang, resulting in a denial of service. With your network monitoring in limbo, critical issues could go unnoticed, leaving your system vulnerable and your defenses down—absolutely devastating for any network administrator! Upgrade tcpdump to version 4.9.2 or later immediately to resolve this issue. Ensure to monitor your network for any unusual activity as part of your regular audits. Don't forget to test your network monitoring tools post-update to ensure they're functioning correctly! You've got this! Follow these steps, and you'll have your tcpdump back up and running smoothly in no time! 🛡️

The record
Technical detail
CVSS v3.1
9.8 · CRITICAL
Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
CVSS v4.0
Not supplied
EPSS
0.02406 · 83.8th percentile
Published
2017-09-14T06:00Z
EPSS history
Timeline
  • 14 SEP 06:00Z
    The DNS parser in tcpdump before 4.9.2 could enter an infinite loop due to a bug in print-domain.c:ns_print()
    cvelistv5