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

medium Nessus Plugin ID 60153
New! Plugin Severity Now Using CVSS v3

The calculated severity for Plugins has been updated to use CVSS v3 by default. Plugins that do not have a CVSS v3 score will fall back to CVSS v2 for calculating severity. Severity display preferences can be toggled in the settings dropdown.

Synopsis

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

Description

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.

Solution

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

See Also

http://www.nlnetlabs.nl/downloads/CVE-2012-2978.txt

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

Dependencies: nsd_version.nasl

Configuration: Enable paranoid mode

Risk Information

VPR

Risk Factor: Low

Score: 3.6

CVSS v2

Risk Factor: Medium

Base Score: 5

Temporal Score: 3.7

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

Temporal Vector: E:U/RL:OF/RC:C

Vulnerability Information

Required KB Items: nsd/version, Settings/ParanoidReport

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