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

CVE-2019-19921: opencontainers runc contains procfs race condition with a shared volume mount

May 27, 2021 (updated October 8, 2026)

By crafting a malicious root filesystem (with /proc being a symlink to a directory which was inside a volume shared with another running container), an attacker in control of both containers can trick runc into not correctly configuring the container’s security labels and not correctly masking paths inside /proc which contain potentially-sensitive information about the host (or even allow for direct attacks against the host).

In order to exploit this bug, an untrusted user must be able to spawn custom containers with custom mount configurations (such that a volume is shared between two containers). It should be noted that we consider this to be a fairly high level of access for an untrusted user – and we do not recommend allowing completely untrusted users to have such degrees of access without further restrictions.

References

  • access.redhat.com/errata/RHSA-2020:0688
  • access.redhat.com/errata/RHSA-2020:0695
  • github.com/advisories/GHSA-fh74-hm69-rqjw
  • github.com/opencontainers/runc/commit/2fc03cc11c775b7a8b2e48d7ee447cb9bef32ad0
  • github.com/opencontainers/runc/issues/2197
  • github.com/opencontainers/runc/pull/2190
  • github.com/opencontainers/runc/pull/2207
  • github.com/opencontainers/runc/releases
  • github.com/opencontainers/runc/security/advisories/GHSA-fh74-hm69-rqjw
  • lists.debian.org/debian-lts-announce/2023/03/msg00023.html
  • lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/ANUGDBJ7NBUMSUFZUSKU3ZMQYZ2Z3STN
  • lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/DHGVGGMKGZSJ7YO67TGGPFEHBYMS63VF
  • lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/FNB2UEDIIJCRQW4WJLZOPQJZXCVSXMLD
  • lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/FYVE3GB4OG3BNT5DLQHYO4M5SXX33AQ5
  • lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/I6BF24VCZRFTYBTT3T7HDZUOTKOTNPLZ
  • nvd.nist.gov/vuln/detail/CVE-2019-19921
  • pkg.go.dev/vuln/GO-2021-0087
  • security-tracker.debian.org/tracker/CVE-2019-19921
  • security.gentoo.org/glsa/202003-21
  • usn.ubuntu.com/4297-1

Code Behaviors & Features

Detect and mitigate CVE-2019-19921 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions before 1.0.0-rc9.0.20200122160610-2fc03cc11c77

Fixed versions

  • 1.0.0-rc9.0.20200122160610-2fc03cc11c77

Solution

Upgrade to version 1.0.0-rc9.0.20200122160610-2fc03cc11c77 or above.

Impact 5.9 MEDIUM

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

Learn more about CVSS

Weakness

  • CWE-362: Concurrent Execution using Shared Resource with Improper Synchronization ('Race Condition')
  • CWE-706: Use of Incorrectly-Resolved Name or Reference

Source file

go/github.com/opencontainers/runc/CVE-2019-19921.yml

Spotted a mistake? Edit the file on GitLab.

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

Page generated Fri, 09 Oct 2026 12:24:38 +0000.