Skip to content
OpenAdvisories
Unscored Public exploit CVE-2009-2958 EUVD-2009-2945GHSA-m4qp-3gf5-73rm

The tftp_request function in tftp.c in dnsmasq before 2.50, when --enable-tftp is used, allows remote attackers to cause a denial of servic…

Published Sep 2, 2009 · Updated Aug 7, 2024 · Assigned by mitre

Description

The tftp_request function in tftp.c in dnsmasq before 2.50, when --enable-tftp is used, allows remote attackers to cause a denial of service (NULL pointer dereference and daemon crash) via a TFTP read (aka RRQ) request with a malformed blksize option.

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Debian 14 dnsmasq 2.50-1 —
Debian 13 dnsmasq 2.50-1 —
Debian 12 dnsmasq 2.50-1 —
Debian 5.0 dnsmasq 2.45-1+lenny1 DSA-1876-1
ReleasePackageFixed inAdvisory
RHEL 5 dnsmasq 2.45-1.1.el5_3 RHSA-2009:1238

Public exploits

Exploit or proof-of-concept code for this vulnerability is publicly available, which lowers the bar for attackers. Treat it as a reason to patch sooner.

Third-party code, not reviewed by us. Public PoCs are sometimes fake or contain malware. Read the code first and run it only in an isolated lab, against systems you are authorised to test.

Exploit-DB 1

Sources: PoC-in-GitHub, Metasploit Framework, Exploit-DB — updated daily. Only links are listed; no exploit code is hosted here.

Advisories 2

References