CVE-2009-2957

NameCVE-2009-2957
DescriptionHeap-based buffer overflow in the tftp_request function in tftp.c in dnsmasq before 2.50, when --enable-tftp is used, might allow remote attackers to execute arbitrary code via a long filename in a TFTP packet, as demonstrated by a read (aka RRQ) request.
SourceCVE (at NVD; CERT, LWN, oss-sec, fulldisc, bugtraq, EDB, Metasploit, Red Hat, Ubuntu, Gentoo, SuSE, Mageia, GitHub code/issues, web search, more)
ReferencesDSA-1876-1
NVD severitymedium (attack range: remote)

Vulnerable and fixed packages

The table below lists information on source packages.

Source PackageReleaseVersionStatus
dnsmasq (PTS)wheezy (security), wheezy2.62-3+deb7u3fixed
jessie (security), jessie2.72-3+deb8u1fixed
stretch, sid2.76-2fixed

The information below is based on the following data on fixed versions.

PackageTypeReleaseFixed VersionUrgencyOriginDebian Bugs
dnsmasqsource(unstable)2.50-1medium
dnsmasqsourceetch(not affected)
dnsmasqsourcelenny2.45-1+lenny1mediumDSA-1876-1

Search for package or bug name: Reporting problems