Vulnerability · Published Feb 19, 2025 · Assigned by GitHub_M

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

High 8.5

In plain English

A high-severity path traversal in crun from containers. Proof-of-concept exploit code is public. The chance it is exploited in the next 30 days is estimated at 0.6% (higher than 48% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.

Severity (CVSS 4.0)8.5High
Exploit odds (30 days)0.6%top 52.2% of all CVEs
Exploited in the wildNo reportsCISA SSVC: poc
Attack toolingNoneno public tooling known

Official 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.

Affected packages & fixed versions

EcosystemPackageFixed inAdvisory
Alpine:v3.21crun1.20-r0ALPINE-CVE-2025-24965
Alpine:v3.22crun1.20-r0ALPINE-CVE-2025-24965
Alpine:v3.23crun1.20-r0ALPINE-CVE-2025-24965
Alpine:v3.24crun1.20-r0ALPINE-CVE-2025-24965
Ubuntu:22.04:LTScrunno fix listedUBUNTU-CVE-2025-24965
Ubuntu:24.04:LTScrunno fix listedUBUNTU-CVE-2025-24965
Ubuntu:25.10crunno fix listedUBUNTU-CVE-2025-24965
Ubuntu:26.04:LTScrunno fix listedUBUNTU-CVE-2025-24965
Ubuntu:26.10crunno fix listedUBUNTU-CVE-2025-24965

Affected products (as reported)

VendorProductVersions
containers crun < 1.20

Weakness: CWE-22 · Vector: CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:P/VC:H/VI:H/VA:N/SC:N/SI:N/SA:N

References