Skip to content

CVE-2025-24965 .krun_config.json symlink attack creates or overwrites file on the host in crun

HighCVSS 8.5 EPSS 0.58%
Published
Updated
Exploit status
No public exploit known
CISA SSVC
Proof of concept public · automatable: no · technical impact: total
Technology
UbuntuDebian

Description

crun is an open source OCI Container Runtime fully written in C. 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. The problem is fixed in crun 1.20 and all users are advised to upgrade. There are no known workarounds for this vulnerability.

Upgrade path

9 packages: 4 fixed, 4 with no fix yet.

PackageAffectedFixed inStatus
ubuntu/crun(Ubuntu 22.04) All versions No fix listed No fix yet
ubuntu/crun(Ubuntu 24.04) All versions No fix listed No fix yet
ubuntu/crun(Ubuntu 26.04) All versions No fix listed No fix yet
ubuntu/crun(Ubuntu 26.10) All versions No fix listed No fix yet
alpine/crun(Alpine v3.21) < 1.20-r0 1.20-r0 Fixed
alpine/crun(Alpine v3.22) < 1.20-r0 1.20-r0 Fixed
alpine/crun(Alpine v3.23) < 1.20-r0 1.20-r0 Fixed
alpine/crun(Alpine v3.24) < 1.20-r0 1.20-r0 Fixed
containers crun = < 1.20 No fix listed Versions listed

Affected products

ProductAffected versionsFixed in
containers crun = < 1.20 No fix listed
ubuntu/crun(Ubuntu:22.04) All versions No fix listed
alpine/crun(Alpine:v3.21) < 1.20-r0 1.20-r0
alpine/crun(Alpine:v3.22) < 1.20-r0 1.20-r0
alpine/crun(Alpine:v3.23) < 1.20-r0 1.20-r0
alpine/crun(Alpine:v3.24) < 1.20-r0 1.20-r0
ubuntu/crun(Ubuntu:24.04) All versions No fix listed
ubuntu/crun(Ubuntu:26.04) All versions No fix listed
ubuntu/crun(Ubuntu:26.10) All versions No fix listed

References