Time-of-check Time-of-use (TOCTOU) Affecting oci-seccomp-bpf-hook package, versions <0:1.2.0-2.module+el8.4.0+11311+9da8acfb


Severity

Recommended
0.0
high
0
10

Based on CentOS security rating.

Threat Intelligence

EPSS
0.22% (61st 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-CENTOS8-OCISECCOMPBPFHOOK-2111395
  • 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 Centos:8 oci-seccomp-bpf-hook to version 0:1.2.0-2.module+el8.4.0+11311+9da8acfb or higher.

NVD Description

Note: Versions mentioned in the description apply only to the upstream oci-seccomp-bpf-hook package and not the oci-seccomp-bpf-hook package as distributed by Centos. See How to fix? for Centos: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