Race Condition Affecting container-selinux package, versions <2:2.130.0-1.module+el8.5.0+708+6758137d


Severity

Recommended
0.0
high
0
10

Based on Rocky Linux security rating.

Threat Intelligence

EPSS
6.6% (93rd 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-ROCKY8-CONTAINERSELINUX-3214703
  • published5 Jan 2023
  • disclosed27 May 2021

Introduced: 27 May 2021

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

How to fix?

Upgrade Rocky-Linux:8 container-selinux to version 2:2.130.0-1.module+el8.5.0+708+6758137d or higher.
This issue was patched in RLSA-2021:2291.

NVD Description

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

version 3.1