Directory Traversal Affecting runc package, versions <0:1.0.0-0.3.20210225.git12644e6.4.amzn1


Severity

Recommended
0.0
high
0
10

Based on Amazon Linux security rating.

Threat Intelligence

EPSS
2.63% (85th 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-AMZN201803-RUNC-1725913
  • published27 Sept 2021
  • 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 Amazon-Linux:2018.03 runc to version 0:1.0.0-0.3.20210225.git12644e6.4.amzn1 or higher.
This issue was patched in ALAS-2021-1499.

NVD Description

Note: Versions mentioned in the description apply only to the upstream runc package and not the runc package as distributed by Amazon-Linux. See How to fix? for Amazon-Linux:2018.03 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 Base Scores

version 3.1