Out-of-Bounds Affecting dnsmasq package, versions [,2.50)


Severity

Recommended
0.0
medium
0
10

CVSS assessment made by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
12.34% (96th 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-DNSMASQ-2335708
  • published12 Jan 2022
  • disclosed2 Sept 2009
  • creditUnknown

Introduced: 2 Sep 2009

CVE-2009-2957  (opens in a new tab)
CWE-119  (opens in a new tab)

How to fix?

Upgrade dnsmasq to version 2.50 or higher.

Overview

Affected versions of this package are vulnerable to Out-of-Bounds. Heap-based buffer overflow in the tftp_request function in tftp.c in dnsmasq before 2.50, when --enable-tftp is used, might allow remote attackers to execute arbitrary code via a long filename in a TFTP packet, as demonstrated by a read (aka RRQ) request.

References

CVSS Scores

version 3.1