Advisory Database
  • Advisories
  • Dependency Scanning
  1. golang
  2. ›
  3. github.com/opencontainers/runc/libcontainer
  4. ›
  5. CVE-2021-30465

CVE-2021-30465: Path Traversal

May 27, 2021 (updated November 9, 2023)

runc 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.

References

  • github.com/opencontainers/runc/security/advisories/GHSA-c3xm-pvg7-gh7r
  • nvd.nist.gov/vuln/detail/CVE-2021-30465

Code Behaviors & Features

Detect and mitigate CVE-2021-30465 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Dependency Scanning using SBOM also detects vulnerabilities from proprietary advisories that this site does not include. Learn more about Dependency Scanning using SBOM →

Affected versions

All versions before 1.0.0-rc95

Fixed versions

  • 1.0.0-rc95

Solution

Upgrade to version 1.0.0-rc95 or above. *Note*: 1.0.0-rc95 may be an unstable version. Use caution.

Impact 8.5 HIGH

CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:C/C:H/I:H/A:H

Learn more about CVSS

Weakness

  • CWE-362: Concurrent Execution using Shared Resource with Improper Synchronization ('Race Condition')

Source file

go/github.com/opencontainers/runc/libcontainer/CVE-2021-30465.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Sun, 08 Nov 2026 00:17:25 +0000.