Cloudanix VulnDB

CVE-2015-3294

None

CVSS

—

EPSS

5.0%

Published

May 8, 2015

CISA due date

—

Cloudanix analysis

Schedule a fix SSVC: Track

A flaw in DNS software lets attackers read internal memory or crash the service by sending specially crafted requests, which can interrupt network operations and risk data exposure.

Exploit Available
Exploitation
Remote Unauthenticated
Attacker needs
None
Complexity
Low
Impact
Data Exposure
Component
Network Service
Class
Information Disclosure
Remediation
Upgrade
Effort
Medium
Patch risk
Low

What it actually does

Improper handling of the setup_reply return value in tcp_request allows an out-of-bounds read from process memory on malformed TCP DNS requests, resulting in information disclosure and a crash.

Why it matters to the business

Service disruption for name resolution combined with potential leakage of sensitive process memory can interrupt operations and expose confidential data to remote attackers.

How an attack unfolds

An attacker crafts a malformed DNS request and sends it over TCP to a vulnerable Dnsmasq instance; the missing return-value check triggers an out-of-bounds read that either leaks memory contents or crashes the daemon.

How to fix it

Upgrade Dnsmasq to version 2.73rc4 or later; apply vendor patches for Oracle Solaris; restart the service after upgrade and verify the new version string.

How to confirm the fix worked

Query the running binary or package manager for version >= 2.73rc4; attempt controlled malformed TCP DNS requests in a lab environment and confirm absence of crashes or memory leaks.

Typical attack path

  1. Locate an exposed Dnsmasq TCP DNS listener
  2. Send a single malformed DNS query packet
  3. Observe memory disclosure in the response or a daemon crash

How to detect it

Review Dnsmasq logs for repeated malformed query entries or segmentation-fault crashes; correlate with network captures showing unusual TCP DNS payloads from untrusted sources.

What your security team should do

  • Prioritize upgrade of all Dnsmasq instances to 2.73rc4 or newer within 30 days
  • Restrict TCP DNS access to trusted networks where possible
  • Monitor daemon logs and process health for unexpected crashes
  • Inventory downstream dependents and schedule staged rollouts

The record

The tcp_request function in Dnsmasq before 2.73rc4 does not properly handle the return value of the setup_reply function, which allows remote attackers to read process memory and cause a denial of service (out-of-bounds read and crash) via a malformed DNS request.

Affected packages

Ecosystem Package Introduced Fixed
Debian:11 dnsmasq 0 2.72-3.1
Debian:12 dnsmasq 0 2.72-3.1
Debian:13 dnsmasq 0 2.72-3.1
Debian:6.0 dnsmasq 0 2.55-2+deb6u1
Debian:7 dnsmasq 0 2.62-3+deb7u2
Debian:8 dnsmasq 0 2.72-3+deb8u1
Mageia:4 dnsmasq 0 2.66-3.1.mga4
SUSE:Cloud Compute Node for SUSE Linux Enterprise 12 5 dnsmasq 0 2.71-4.1
SUSE:Linux Enterprise Desktop 12 dnsmasq 0 2.71-4.1
SUSE:Linux Enterprise Point of Sale 11 SP3 dnsmasq 0 2.78-0.16.5.1
SUSE:Linux Enterprise Server 11 SP3-LTSS dnsmasq 0 2.78-0.16.5.1
SUSE:Linux Enterprise Server 11 SP3-TERADATA dnsmasq 0 2.78-0.16.5.1
SUSE:Linux Enterprise Server 11 SP4 dnsmasq 0 2.78-0.17.5.1
SUSE:Linux Enterprise Server 12 dnsmasq 0 2.71-4.1
SUSE:Linux Enterprise Server 12-LTSS dnsmasq 0 2.78-6.6.1
SUSE:Linux Enterprise Server for SAP Applications 11 SP4 dnsmasq 0 2.78-0.17.5.1
SUSE:Linux Enterprise Server for SAP Applications 12 dnsmasq 0 2.71-4.1
Ubuntu:14.04:LTS dnsmasq 0 2.68-1ubuntu0.1
openSUSE:Tumbleweed dnsmasq 0 2.76-1.3

Related vulnerabilities