Directory Traversal Affecting k3s package, versions <1.21.1.1-r0


Severity

Recommended
0.0
high
0
10

Snyk's Security Team recommends NVD's CVSS assessment. Learn more

Threat Intelligence

EPSS
0.22% (60th 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-ALPINE319-K3S-6109713
  • published8 Dec 2023
  • disclosed27 May 2021

Introduced: 27 May 2021

CVE-2021-30465  (opens in a new tab)
CWE-22  (opens in a new tab)

How to fix?

Upgrade Alpine:3.19 k3s to version 1.21.1.1-r0 or higher.

NVD Description

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

runc before 1.0.0-rc95 allows a Container Filesystem Breakout via Directory Traversal. To exploit the vulnerability, an attacker must be able to create multiple containers with a fairly specific mount configuration. The problem occurs via a symlink-exchange attack that relies on a race condition.

CVSS Scores

version 3.1