CVE-2019-16884: Incorrect Authorization in runc

Summary

14/04/2021
Yes i
High
7.5

CVE-2019-16884: Authorization bypass in github.com/opencontainers/runc. Affects github.com/opencontainers/runc versions < 1.0.0-rc8.0.20190930145003-cad42f6e0932. Fixed in 1.0.0-rc8.0.20190930145003-cad42f6e0932. How to fix ↓

Also tracked for

The same CVE-2019-16884 is tracked separately for each ecosystem and vendor. Its fix information is the same; the package and affected versions differ.

Free scan

Check if this vulnerability affects your application

Upload a manifest or SBOM and we'll show whether you're affected, plus every other risky package in the same scan.

Check my app free

No signup required · Results in about 60 seconds

Upload your dependency manifest or SBOM

Drag & drop your file here or

Java Javascript PHP Python Go Rust Ruby Dart C/C++ Elixir CycloneDX SPDX

Upload a supported dependency manifest or SBOM. No installation or source-code access required.

See supported files and SBOM formats
SBOM sbom.json · bom.json · bom.xml · *.spdx.json · *.cdx.json · *.cdx.xml
Java pom.xml · gradle.lockfile · buildscript-gradle.lockfile
Javascript package-lock.json · yarn.lock · pnpm-lock.yaml
PHP composer.lock
Python poetry.lock · requirements.txt · Pipfile.lock
Go go.mod
Rust Cargo.lock
Ruby Gemfile.lock
Dart pubspec.lock
C/C++ conan.lock
Elixir mix.lock
Enter your work email to receive your report link.

Verify your email to view the full report and start 30 days of continuous monitoring. No credit card required.

Sponsored MarkAI Find prospects already talking about the problem you solve AI watches the communities your customers use to find qualified prospects, then alerts you when a conversation is worth joining. See MarkAI

Background

The package under scrutiny is github.com/opencontainers/runc, which is written in Go. It is used in various products, including Docker. Runc is responsible for spawning and running containers on Linux systems. It provides an interface for managing container lifecycles, including creating, starting, stopping, and deleting containers. This vulnerability affects runc versions up to and including 1.0.0-rc8.0.20190930145003-cad42f6e0932.

Vulnerability Detail

The vulnerability, identified as CVE-2019-16884, allows for incorrect authorization in runc. The issue arises due to a flaw in the libcontainer/rootfs_linux.go file, which fails to properly check mount targets. As a result, a malicious Docker image can mount over a /proc directory, bypassing AppArmor restrictions. This vulnerability has a CVSSv3 score of 7.5, indicating a high severity level.

How To Fix

Latest published version: v1.5.2 as of 22 Oct 2026

go get github.com/opencontainers/runc@v1.5.2

Upgrading to it may include breaking changes; the version below is the minimum fixed release for this vulnerability.

If you need the minimum change

1.0.0-rc8.0.20190930145003-cad42f6e0932

This is the first release that contains the fix.

go get github.com/opencontainers/runc@v1.0.0-rc8.0.20190930145003-cad42f6e0932

Tip — Not sure which version your app runs? Vulert can match this fix to it. Scan free →

Workaround

There is no known workaround for this vulnerability. It is crucial to apply the recommended fix by updating the affected package.

Conclusion

In conclusion, the vulnerability CVE-2019-16884 in runc allows for incorrect authorization, enabling a malicious Docker image to bypass AppArmor restrictions. To address this issue, it is essential to update the affected package to version 1.0.0-rc8.0.20190930145003-cad42f6e0932 or later. It is also recommended to update any other products or dependencies that rely on runc. For further support and assistance with vulnerability remediation, please contact DevNack.com.

See every vulnerability recorded for github.com/opencontainers/runc →

Share this vulnerability

FAQ

Runc is a command-line tool and library for spawning and running containers on Linux systems. It is widely used in containerization platforms like Docker.

AppArmor is a Linux kernel security module that allows for fine-grained control over processes' capabilities and resource access. It is used to enforce security policies on containerized applications.

Since Docker relies on runc for container management, this vulnerability allows a malicious Docker image to bypass AppArmor restrictions and mount over critical directories, potentially leading to unauthorized access or data manipulation.

The CVSSv3 score for this vulnerability is 7.5, indicating a high severity level.

At the time of this report, there are no known public exploits specifically targeting this vulnerability. However, it is crucial to apply the recommended fix to mitigate any potential risks.

Related vulnerabilities

Recent vulnerabilities recorded for github.com/opencontainers/runc.

How To Fix

Latest published version: v1.5.2 as of 22 Oct 2026

go get github.com/opencontainers/runc@v1.5.2

Upgrading to it may include breaking changes; the version below is the minimum fixed release for this vulnerability.

If you need the minimum change

1.0.0-rc8.0.20190930145003-cad42f6e0932

This is the first release that contains the fix.

go get github.com/opencontainers/runc@v1.0.0-rc8.0.20190930145003-cad42f6e0932

Tip — Not sure which version your app runs? Vulert can match this fix to it. Scan free →

Subscribe to Vulert on Telegram
Daily digest of new CVEs, critical and high severity, affected packages and fixes — plus a weekly roundup.
Join the channel →
Help improve this record
Report an issue or send feedback