Directory Traversal Affecting crun package, versions <1.20-r0


Severity

Recommended
low

Based on default assessment until relevant scores are available.

Threat Intelligence

EPSS
0.05% (19th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications

Snyk Learn

Learn about Directory Traversal vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-ALPINE321-CRUN-9402102
  • published12 Mar 2025
  • disclosed19 Feb 2025

Introduced: 19 Feb 2025

CVE-2025-24965  (opens in a new tab)
CWE-22  (opens in a new tab)

How to fix?

Upgrade Alpine:3.21 crun to version 1.20-r0 or higher.

NVD Description

Note: Versions mentioned in the description apply only to the upstream crun package and not the crun package as distributed by Alpine. See How to fix? for Alpine:3.21 relevant fixed versions and status.

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.

CVSS Base Scores

version 3.1