CVE-2023-50434

emdns_resolve_raw in emdns.c in emdns through fbd1eef calls strlen with an input that may not be '\0' terminated, leading to a stack-based buffer over-read

Critical · published April 29, 2024

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

🚨 A remote adversary only needs to send a sneaky DNS request to trigger a stack-based buffer over-read in emdns! 🔥 Think of it like a restaurant where the waiter accepts an order without checking the menu for a proper end signal — if the order isn’t properly finished, the kitchen might just keep preparing, leading to chaos in the kitchen! An attacker could potentially read sensitive information from the server's memory, which can lead to unauthorized access or even system crashes. This vulnerability's critical nature means the consequences could be absolutely devastating depending on your system's architecture and libraries!

Put simply

Think of it like a restaurant where the waiter accepts an order without checking the menu for a proper end signal — if the order isn’t properly finished, the kitchen might just keep preparing, leading to chaos in the kitchen! This issue arises from emdns_resolve_raw in emdns.c, which calls strlen on an input that may not be properly null-terminated, allowing a stack-based buffer over-read that malicious actors can exploit via DNS requests.

What to do

An attacker could potentially read sensitive information from the server's memory, which can lead to unauthorized access or even system crashes. This vulnerability's critical nature means the consequences could be absolutely devastating depending on your system's architecture and libraries! To remediate, upgrade to the latest version of emdns that includes the patch for this vulnerability. Ensure your system libraries are up-to-date and consider implementing input validation to protect against similar attacks. Don't forget to audit your DNS configurations! You've got this! Follow these steps to secure your systems and keep those pesky adversaries at bay! 🛡️

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.00561 · 45.9th percentile
Published
2024-04-29T00:00Z
EPSS history
Timeline
  • 29 APR 00:00Z
    emdns_resolve_raw in emdns.c in emdns through fbd1eef calls strlen with an input that may not be '\0' terminated, leading to a stack-based buffer over-read
    cvelistv5