SB2009083102 - Multiple vulnerabilities in Dnsmasq
Published: August 31, 2009 Updated: June 13, 2025
Breakdown by Severity
- Low
- Medium
- High
- Critical
Description
This security bulletin contains information about 2 secuirty vulnerabilities.
1) Heap-based buffer overflow (CVE-ID: CVE-2009-2957)
The vulnerability allows a remote attacker to execute arbitrary code on the target system.
The vulnerability exists due to a boundary error within the tftp_request() function in tftp.c. A remote attacker can send a long filename in a TFTP packet, trigger a heap-based buffer overflow and execute arbitrary code on the system.
2) NULL pointer dereference (CVE-ID: CVE-2009-2958)
The vulnerability allows a remote attacker to perform a denial of service (DoS) attack.
The vulnerability exists due to a NULL pointer dereference error within the tftp_request() function in tftp.c. A remote attacker can trigger denial of service conditions via a TFTP read (aka RRQ) request with a malformed blksize option.
Remediation
Install update from vendor's website.
References
- http://www.coresecurity.com/content/dnsmasq-vulnerabilities
- http://www.redhat.com/support/errata/RHSA-2009-1238.html
- http://www.securityfocus.com/bid/36121
- http://www.thekelleys.org.uk/dnsmasq/CHANGELOG
- http://www.ubuntu.com/usn/USN-827-1
- https://bugzilla.redhat.com/show_bug.cgi?id=519020
- https://oval.cisecurity.org/repository/search/definition/oval%3Aorg.mitre.oval%3Adef%3A10538
- https://rhn.redhat.com/errata/RHSA-2010-0095.html
- http://www.securityfocus.com/bid/36120
- https://oval.cisecurity.org/repository/search/definition/oval%3Aorg.mitre.oval%3Adef%3A9816