8.5
HIGH
CVE-2021-30465
Runc Container Filesystem Breakout Directory Traversal
Description

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.

INFO

Published Date :

May 27, 2021, 1:15 p.m.

Last Modified :

Nov. 7, 2023, 3:33 a.m.

Remotely Exploitable :

Yes !

Impact Score :

6.0

Exploitability Score :

1.8
Public PoC/Exploit Available at Github

CVE-2021-30465 has a 20 public PoC/Exploit available at Github. Go to the Public Exploits tab to see the list.

Affected Products

The following products are affected by CVE-2021-30465 vulnerability. Even if cvefeed.io is aware of the exact versions of the products that are affected, the information is not represented in the table below.

ID Vendor Product Action
1 Fedoraproject fedora
1 Linuxfoundation runc

We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).

Recording Framework for CAShift

Shell Python HTML Go Dockerfile C

Updated: 2 months ago
0 stars 0 fork 0 watcher
Born at : Sept. 20, 2024, 5:43 p.m. This repo has been linked 18 different CVEs too.

整理容器逃逸相关的漏洞和exploits.

Makefile C Python Dockerfile Shell Go

Updated: 4 months, 2 weeks ago
7 stars 0 fork 0 watcher
Born at : March 20, 2024, 10:19 a.m. This repo has been linked 27 different CVEs too.

None

Updated: 9 months ago
0 stars 0 fork 0 watcher
Born at : Feb. 24, 2024, 8:03 a.m. This repo has been linked 37 different CVEs too.

None

Rust

Updated: 7 months, 1 week ago
0 stars 0 fork 0 watcher
Born at : Feb. 20, 2024, 5:26 p.m. This repo has been linked 1 different CVEs too.

容器安全漏洞的分析与复现

Go Shell C Dockerfile

Updated: 5 months ago
149 stars 10 fork 10 watcher
Born at : Feb. 14, 2023, 11:54 a.m. This repo has been linked 9 different CVEs too.

Updated for MacOs - Copied from https://github.com/kata-containers/kata-containers/tree/main/src/libs/safe-path

macos

Rust

Updated: 1 year, 11 months ago
0 stars 0 fork 0 watcher
Born at : Dec. 19, 2022, 3:10 p.m. This repo has been linked 1 different CVEs too.

A fork of the rust safe_path crate that builds on Windows but exclude `pinned_path_buf` and `scoped_dir_builder`

Rust

Updated: 2 years ago
0 stars 0 fork 0 watcher
Born at : Oct. 25, 2022, 9:49 p.m. This repo has been linked 1 different CVEs too.

None

Updated: 10 months, 3 weeks ago
4 stars 0 fork 0 watcher
Born at : Aug. 15, 2022, 11:26 a.m. This repo has been linked 35 different CVEs too.

⚙ DevSecOps Kubernetes Playground ("A Hacker's Guide to Kubernetes")

Dockerfile Shell Ruby Smarty Jinja HCL

Updated: 3 months, 1 week ago
14 stars 2 fork 2 watcher
Born at : July 1, 2022, 7:12 a.m. This repo has been linked 57 different CVEs too.

None

Rust

Updated: 2 years, 9 months ago
0 stars 0 fork 0 watcher
Born at : Feb. 16, 2022, 8:21 a.m. This repo has been linked 1 different CVEs too.

None

Updated: 2 years, 2 months ago
1 stars 0 fork 0 watcher
Born at : Sept. 1, 2021, 8:40 a.m. This repo has been linked 24 different CVEs too.

None

Updated: 3 years, 1 month ago
1 stars 1 fork 1 watcher
Born at : July 26, 2021, 8:56 a.m. This repo has been linked 18 different CVEs too.

Metarget is a framework providing automatic constructions of vulnerable infrastructures.

cloud-native kubernetes container cloud-native-security kubernetes-security container-security container-escape target vulnerable-infrastructure vulnerabilities vulnerable-scenes vulnerable-infrastructures privilege-escalation kernel-exploitation

Python Shell HTML JavaScript PHP Perl Dockerfile C

Updated: 2 months, 2 weeks ago
1053 stars 163 fork 163 watcher
Born at : April 9, 2021, 4:20 a.m. This repo has been linked 47 different CVEs too.

Automatic monitor github cve using Github Actions

Python

Updated: 2 months ago
1 stars 56 fork 56 watcher
Born at : April 7, 2021, 11:16 a.m. This repo has been linked 1007 different CVEs too.

awesome resources about cloud native security 🐿

cloud-native container-security cloud-native-security kubernetes-security container-escape k8s kubernetes container docker docker-security serverless serverless-security cloud-security cloud-computing

Updated: 2 months, 3 weeks ago
303 stars 51 fork 51 watcher
Born at : March 23, 2021, 12:40 p.m. This repo has been linked 37 different CVEs too.

Results are limited to the first 15 repositories due to potential performance issues.

The following list is the news that have been mention CVE-2021-30465 vulnerability anywhere in the article.

The following table lists the changes that have been made to the CVE-2021-30465 vulnerability over time.

Vulnerability history details can be useful for understanding the evolution of a vulnerability, and for identifying the most recent changes that may impact the vulnerability's severity, exploitability, or other characteristics.

  • CVE Modified by [email protected]

    May. 14, 2024

    Action Type Old Value New Value
  • CVE Modified by [email protected]

    Nov. 07, 2023

    Action Type Old Value New Value
    Added Reference MITRE https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/4HOARVIT47RULTTFWAU7XBG4WY6TDDHV/ [No types assigned]
    Added Reference MITRE https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/35ZW6NBZSBH5PWIT7JU4HXOXGFVDCOHH/ [No types assigned]
    Removed Reference MITRE https://lists.fedoraproject.org/archives/list/[email protected]/message/4HOARVIT47RULTTFWAU7XBG4WY6TDDHV/
    Removed Reference MITRE https://lists.fedoraproject.org/archives/list/[email protected]/message/35ZW6NBZSBH5PWIT7JU4HXOXGFVDCOHH/
  • CVE Modified by [email protected]

    Mar. 27, 2023

    Action Type Old Value New Value
    Added Reference https://lists.debian.org/debian-lts-announce/2023/03/msg00023.html [No Types Assigned]
  • CWE Remap by [email protected]

    Jun. 28, 2022

    Action Type Old Value New Value
    Changed CWE CWE-22 CWE-362
  • Modified Analysis by [email protected]

    May. 16, 2022

    Action Type Old Value New Value
    Changed Reference Type https://bugzilla.opensuse.org/show_bug.cgi?id=1185405 No Types Assigned https://bugzilla.opensuse.org/show_bug.cgi?id=1185405 Issue Tracking
    Changed Reference Type https://github.com/opencontainers/runc/commit/0ca91f44f1664da834bc61115a849b56d22f595f No Types Assigned https://github.com/opencontainers/runc/commit/0ca91f44f1664da834bc61115a849b56d22f595f Patch, Third Party Advisory
    Changed Reference Type https://security.gentoo.org/glsa/202107-26 No Types Assigned https://security.gentoo.org/glsa/202107-26 Third Party Advisory
    Changed Reference Type https://security.netapp.com/advisory/ntap-20210708-0003/ No Types Assigned https://security.netapp.com/advisory/ntap-20210708-0003/ Third Party Advisory
  • CVE Modified by [email protected]

    Jul. 10, 2021

    Action Type Old Value New Value
    Added Reference https://security.gentoo.org/glsa/202107-26 [No Types Assigned]
  • CVE Modified by [email protected]

    Jul. 08, 2021

    Action Type Old Value New Value
    Added Reference https://security.netapp.com/advisory/ntap-20210708-0003/ [No Types Assigned]
  • CVE Modified by [email protected]

    Jun. 17, 2021

    Action Type Old Value New Value
    Added Reference https://bugzilla.opensuse.org/show_bug.cgi?id=1185405 [No Types Assigned]
    Added Reference https://github.com/opencontainers/runc/commit/0ca91f44f1664da834bc61115a849b56d22f595f [No Types Assigned]
  • Initial Analysis by [email protected]

    Jun. 07, 2021

    Action Type Old Value New Value
    Added CVSS V2 NIST (AV:N/AC:M/Au:S/C:P/I:P/A:P)
    Added CVSS V3.1 NIST AV:N/AC:H/PR:L/UI:N/S:C/C:H/I:H/A:H
    Changed Reference Type http://www.openwall.com/lists/oss-security/2021/05/19/2 No Types Assigned http://www.openwall.com/lists/oss-security/2021/05/19/2 Mailing List, Third Party Advisory
    Changed Reference Type https://github.com/opencontainers/runc/releases No Types Assigned https://github.com/opencontainers/runc/releases Release Notes, Third Party Advisory
    Changed Reference Type https://github.com/opencontainers/runc/security/advisories/GHSA-c3xm-pvg7-gh7r No Types Assigned https://github.com/opencontainers/runc/security/advisories/GHSA-c3xm-pvg7-gh7r Patch, Third Party Advisory
    Changed Reference Type https://lists.fedoraproject.org/archives/list/[email protected]/message/35ZW6NBZSBH5PWIT7JU4HXOXGFVDCOHH/ No Types Assigned https://lists.fedoraproject.org/archives/list/[email protected]/message/35ZW6NBZSBH5PWIT7JU4HXOXGFVDCOHH/ Mailing List, Third Party Advisory
    Changed Reference Type https://lists.fedoraproject.org/archives/list/[email protected]/message/4HOARVIT47RULTTFWAU7XBG4WY6TDDHV/ No Types Assigned https://lists.fedoraproject.org/archives/list/[email protected]/message/4HOARVIT47RULTTFWAU7XBG4WY6TDDHV/ Mailing List, Third Party Advisory
    Added CWE NIST CWE-22
    Added CPE Configuration OR *cpe:2.3:a:linuxfoundation:runc:*:*:*:*:*:*:*:* versions up to (including) 0.1.1 *cpe:2.3:a:linuxfoundation:runc:1.0.0:rc1:*:*:*:*:*:* *cpe:2.3:a:linuxfoundation:runc:1.0.0:rc10:*:*:*:*:*:* *cpe:2.3:a:linuxfoundation:runc:1.0.0:rc2:*:*:*:*:*:* *cpe:2.3:a:linuxfoundation:runc:1.0.0:rc3:*:*:*:*:*:* *cpe:2.3:a:linuxfoundation:runc:1.0.0:rc4:*:*:*:*:*:* *cpe:2.3:a:linuxfoundation:runc:1.0.0:rc5:*:*:*:*:*:* *cpe:2.3:a:linuxfoundation:runc:1.0.0:rc6:*:*:*:*:*:* *cpe:2.3:a:linuxfoundation:runc:1.0.0:rc7:*:*:*:*:*:* *cpe:2.3:a:linuxfoundation:runc:1.0.0:rc8:*:*:*:*:*:* *cpe:2.3:a:linuxfoundation:runc:1.0.0:rc9:*:*:*:*:*:* *cpe:2.3:a:linuxfoundation:runc:1.0.0:rc90:*:*:*:*:*:* *cpe:2.3:a:linuxfoundation:runc:1.0.0:rc91:*:*:*:*:*:* *cpe:2.3:a:linuxfoundation:runc:1.0.0:rc92:*:*:*:*:*:* *cpe:2.3:a:linuxfoundation:runc:1.0.0:rc93:*:*:*:*:*:* *cpe:2.3:a:linuxfoundation:runc:1.0.0:rc94:*:*:*:*:*:*
    Added CPE Configuration OR *cpe:2.3:o:fedoraproject:fedora:33:*:*:*:*:*:*:* *cpe:2.3:o:fedoraproject:fedora:34:*:*:*:*:*:*:*
  • CVE Modified by [email protected]

    May. 29, 2021

    Action Type Old Value New Value
    Added Reference https://lists.fedoraproject.org/archives/list/[email protected]/message/35ZW6NBZSBH5PWIT7JU4HXOXGFVDCOHH/ [No Types Assigned]
  • CVE Modified by [email protected]

    May. 28, 2021

    Action Type Old Value New Value
    Added Reference https://lists.fedoraproject.org/archives/list/[email protected]/message/4HOARVIT47RULTTFWAU7XBG4WY6TDDHV/ [No Types Assigned]
EPSS is a daily estimate of the probability of exploitation activity being observed over the next 30 days. Following chart shows the EPSS score history of the vulnerability.
CWE - Common Weakness Enumeration

While CVE identifies specific instances of vulnerabilities, CWE categorizes the common flaws or weaknesses that can lead to vulnerabilities. CVE-2021-30465 is associated with the following CWEs:

Common Attack Pattern Enumeration and Classification (CAPEC)

Common Attack Pattern Enumeration and Classification (CAPEC) stores attack patterns, which are descriptions of the common attributes and approaches employed by adversaries to exploit the CVE-2021-30465 weaknesses.

Exploit Prediction

EPSS is a daily estimate of the probability of exploitation activity being observed over the next 30 days.

0.21 }} -0.02%

score

0.58445

percentile

CVSS31 - Vulnerability Scoring System
Attack Vector
Attack Complexity
Privileges Required
User Interaction
Scope
Confidentiality
Integrity
Availability