Arbitrary Code Injection Affecting isc-projects/kea package, versions [2.4.0, 2.4.2)[2.6.0, 2.6.3)[2.7.0, 2.7.9)


Severity

Recommended
0.0
critical
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.01% (2nd 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 Arbitrary Code Injection vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-UNMANAGED-ISCPROJECTSKEA-10658566
  • published8 Jul 2025
  • disclosed28 May 2025
  • creditUnknown

Introduced: 28 May 2025

CVE-2025-32801  (opens in a new tab)
CWE-94  (opens in a new tab)

How to fix?

Upgrade isc-projects/kea to version 2.4.2, 2.6.3, 2.7.9 or higher.

Overview

Affected versions of this package are vulnerable to Arbitrary Code Injection via the configuration and API directives. An attacker can escalate privileges by loading a malicious hook library. This is only exploitable if Kea is run as root, the API entry points are unsecured, and the control sockets are placed in insecure paths.

Workaround

This vulnerability can be mitigated by either disabling the Kea API entirely, by disabling the kea-ctrl-agent, and removing any "control-socket" stanzas from the Kea configuration files; or securing access to the API by requiring authentication for the kea-ctrl-agent, and configuring all "control-socket" stanzas to use a directory restricted to only trusted users.

CVSS Base Scores

version 4.0
version 3.1