Off-by-one Error Affecting nsd package, versions [2.0.0,3.2.2)


Severity

Recommended
0.0
medium
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
3.16% (87th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-UNMANAGED-NSD-2420024
  • published26 Jan 2022
  • disclosed22 May 2009
  • creditUnknown

Introduced: 22 May 2009

CVE-2009-1755  (opens in a new tab)
CWE-193  (opens in a new tab)

How to fix?

Upgrade nsd to version 3.2.2 or higher.

Overview

Affected versions of this package are vulnerable to Off-by-one Error. Off-by-one error in the packet_read_query_section function in packet.c in nsd 3.2.1, and process_query_section in query.c in nsd 2.3.7, allows remote attackers to cause a denial of service (crash) and possibly execute arbitrary code via unspecified vectors that trigger a buffer overflow.

CVSS Base Scores

version 3.1