CVE-2025-24965 Details
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.
A vulnerability in crun, an open-source OCI container runtime written in C, allows a malicious container image to escape the root filesystem and create or modify files on the host. This issue affects crun versions through 1.19.1, with crun 1.20 being the patched version. The vulnerability arises in the krun handler, where the .krun_config.json file could be created outside of the container's root filesystem, potentially leading to unauthorized file changes on the host. Exploitation requires only the ability to write to the target file, with no special permissions needed.
Users are advised to upgrade to crun version 1.20, where this vulnerability has been fixed.
Metrics
CVSS 4.0 Severity and Vector Strings:
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
Volerion
Assessed Feb 19, 2025CISA-ADP
Assessed Feb 19, 2025References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://github.com/containers/crun/commit/0aec82c2b686f0b1793deed43b46524fe2e8b5a7 | [email protected] | Source CodeVendor |
| https://github.com/containers/crun/releases/tag/1.20 | [email protected] | Release NotesVendor |
| https://github.com/containers/crun/security/advisories/GHSA-f42g-r5jj-qh4j | [email protected] | AdvisoryExploitRemedyVendor |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-22 | Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal') | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| containers crun | All versions |
CPE
Remediation
| |
Change History
3 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Jun 17, 2026 | CVE Modified | [email protected] |
| Jun 17, 2026 | CVE Modified | CISA-ADP |
| Feb 19, 2025 | New CVE Received | [email protected] |
Volerion