NSD query_add_optional() Function NULL Pointer Dereference Malformed DNS Packet Parsing Remote DoS

medium Nessus Plugin ID 60153


The DNS server running on the remote host is affected by a denial of service vulnerability.


According to its self-reported version number, the version of NSD running on the remote host is affected by a denial of service vulnerability because it fails to properly handle specially crafted DNS packets. This issue occurs because of a NULL pointer dereference error in the 'query.c' source file.

Note that Nessus has only relied on the version itself and has not attempted to determine whether the patches have been applied.


Either upgrade to NSD version 3.2.12 or later or apply the patch referenced in the project's advisory.

See Also


Plugin Details

Severity: Medium

ID: 60153

File Name: nsd_null_pointer_dereference_dos.nasl

Version: 1.6

Type: remote

Family: DNS

Published: 7/30/2012

Updated: 7/16/2018

Configuration: Enable paranoid mode

Supported Sensors: Nessus

Risk Information


Risk Factor: Low

Score: 3.6


Risk Factor: Medium

Base Score: 5

Temporal Score: 3.7

Vector: CVSS2#AV:N/AC:L/Au:N/C:N/I:N/A:P

Vulnerability Information

Required KB Items: Settings/ParanoidReport, nsd/version

Exploit Ease: No known exploits are available

Patch Publication Date: 7/19/2012

Vulnerability Publication Date: 7/19/2012

Reference Information

CVE: CVE-2012-2978

BID: 54606

CERT: 624931