Arbitrary File Overwrite Vulnerability in Kea Package

kea Updated 02 Oct 2025

Summary

28/05/2025
N/A
Yes i
Medium
6.1

ALPINE-CVE-2025-32802: Kea configuration and API directives can be used to overwrite arbitrary files, subject to permissions granted to Kea. Affects kea versions < 2.6.3-r0. Fixed in 2.6.3-r0. How to fix ↓

Free scan

Check if this vulnerability affects your application

Upload a manifest or SBOM and we'll show whether you're affected, plus every other risky package in the same scan.

Check my app free

No signup required · Results in about 60 seconds

Upload your dependency manifest or SBOM

Drag & drop your file here or

Java Javascript PHP Python Go Rust Ruby Dart C/C++ Elixir CycloneDX SPDX

Upload a supported dependency manifest or SBOM. No installation or source-code access required.

See supported files and SBOM formats
SBOM sbom.json · bom.json · bom.xml · *.spdx.json · *.cdx.json · *.cdx.xml
Java pom.xml · gradle.lockfile · buildscript-gradle.lockfile
Javascript package-lock.json · yarn.lock · pnpm-lock.yaml
PHP composer.lock
Python poetry.lock · requirements.txt · Pipfile.lock
Go go.mod
Rust Cargo.lock
Ruby Gemfile.lock
Dart pubspec.lock
C/C++ conan.lock
Elixir mix.lock
Enter your work email to receive your report link.

Verify your email to view the full report and start 30 days of continuous monitoring. No credit card required.

Sponsored Devnack Mobile apps built by Devnack Design, build and launch iOS and Android apps with a senior product team. From idea to store release Start a project

Background

Kea is a dynamic host configuration protocol (DHCP) server that provides network configuration to devices on a network. It is designed to be flexible and scalable, catering to various network environments. However, certain configurations can expose the server to security risks, particularly when run with elevated privileges or with unsecured API endpoints.

Vulnerability Detail

The vulnerability allows attackers to overwrite arbitrary files on the system where Kea is running, depending on the permissions granted to the Kea process. This issue arises from insecure configurations that often run Kea as root and leave API entry points unsecured. The affected versions include Kea 2.4.0 through 2.4.1, 2.6.0 through 2.6.2, and 2.7.0 through 2.7.8. If exploited, this vulnerability could lead to unauthorized access and manipulation of critical system files.

How To Fix

Minimum fixed version

2.6.3-r0

This is the first release that contains the fix.

sudo apk add --upgrade kea

Tip — Not sure which version your app runs? Vulert can match this fix to it. Scan free →

Workaround

As a temporary workaround, you can restrict the permissions of the control sockets and ensure that the API endpoints are secured. This can be done by modifying the configuration file to specify secure paths and limiting access to trusted users only.

Conclusion

The Kea package has a significant vulnerability that allows for arbitrary file overwriting due to insecure configurations. It is crucial to update to the patched version and implement security best practices to safeguard your system.

See every vulnerability recorded for kea →

Share this vulnerability

FAQ

Kea versions 2.4.0 through 2.4.1, 2.6.0 through 2.6.2, and 2.7.0 through 2.7.8 are affected.

The CVSS score of this vulnerability is 6.1, indicating a medium severity level.

You can use Vulert to monitor and alert for open-source vulnerabilities in your software. Visit Vulert Scanner to check if your application is affected without requiring any signup.

Exploitation of this vulnerability could lead to unauthorized access to system files, potentially compromising the integrity and security of the entire system.

Yes, ensure that you do not run Kea as root, secure API entry points, and place control sockets in secure paths to mitigate risks.

Related vulnerabilities

Recent vulnerabilities recorded for kea.

How To Fix

Minimum fixed version

2.6.3-r0

This is the first release that contains the fix.

sudo apk add --upgrade kea

Tip — Not sure which version your app runs? Vulert can match this fix to it. Scan free →

Subscribe to Vulert on Telegram
Daily digest of new CVEs, critical and high severity, affected packages and fixes — plus a weekly roundup.
Join the channel →
Help improve this record
Report an issue or send feedback