Time-of-check Time-of-use (TOCTOU) Affecting container-tools:rhel8/runc package, versions <0:1.0.0-73.rc93.module+el8.4.0+11311+9da8acfb


Severity

Recommended
0.0
high
0
10

Based on Red Hat Enterprise Linux security rating.

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 IDSNYK-RHEL8-CONTAINERTOOLS-4052425
  • published26 Jul 2021
  • disclosed19 May 2021

Introduced: 19 May 2021

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

How to fix?

Upgrade RHEL:8 container-tools:rhel8/runc to version 0:1.0.0-73.rc93.module+el8.4.0+11311+9da8acfb or higher.
This issue was patched in RHSA-2021:2371.

NVD Description

Note: Versions mentioned in the description apply only to the upstream container-tools:rhel8/runc package and not the container-tools:rhel8/runc package as distributed by RHEL. See How to fix? for RHEL:8 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