CVE Database›Document archive›CVE-2025-24965

CVE-2025-24965

crun: .krun_config.json symlink attack creates or overwrites file on the host in crun

Loading…

Severity

Important

Red Hat Product Security

8.7

CVSS 3.1

Review impact separately from score.

Published · February 20, 2025

Updated · September 1, 2026

Description

A flaw was found in the crun container runtime. In affected versions, a malicious container image could trick the krun handler into escaping the root filesystem, allowing file creation or modification on the host. No special permissions are needed; only the ability for the current user to write to the target file is required.

Statement

krun and krun handler is unavailable in either OCP or RHEL, it is only usable within Fedora so no Red Hat Products are affected by this CVE.

This vulnerability marked as high severity rather than moderate because it allows an attacker with minimal privileges—only the ability to build and run a container—to escape the root filesystem and modify files on the host. This effectively breaks container isolation, a core security boundary in containerized environments.

This flaw can be exploited remotely in shared environments where untrusted users can deploy containers. The ability to create or modify arbitrary files on the host could lead to privilege escalation, data corruption, or persistence mechanisms for further exploitation.

CVSS score applicability

The CVSS score(s) listed for this vulnerability do not reflect the associated product's status, and are included for informational purposes to better understand the severity of this vulnerability.

Mitigation

Mitigation for this issue is either not available or the currently available options do not meet the Red Hat Product Security criteria comprising ease of use and deployment, applicability to widespread installation base or stability.

CVSS / CWE

CVSS 3.1 · 8.7
CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:H/A:N

CWE-22 · Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')