CVE-2019-16884: Incorrect Authorization in runc

Summary

22/02/2022
Yes i
High
7.5

CVE-2019-16884: Incorrect Authorization in 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 a command-line tool for spawning and running containers according to the Open Container Initiative (OCI) specification. Runc is widely used in container runtime environments, including Docker. It provides an interface for managing container processes, namespaces, and other container-related operations. However, a vulnerability has been discovered in runc that allows for incorrect authorization, potentially leading to AppArmor restriction bypass.

Vulnerability Detail

The vulnerability (CVE-2019-16884) arises from a flaw in the libcontainer/rootfs_linux.go file of runc. The issue occurs due to the incorrect checking of mount targets, allowing a malicious Docker image to mount over a /proc directory. This bypasses the AppArmor restriction and can lead to unauthorized access and potential compromise of the host system. The vulnerability has a CVSS 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 specific workaround mentioned for this vulnerability. It is advised to update the affected packages to the fixed versions.

Conclusion

In conclusion, the vulnerability (CVE-2019-16884) in github.com/opencontainers/runc allows for incorrect authorization and potential AppArmor restriction bypass. It is crucial to update the affected packages to the fixed versions mentioned above to mitigate the risk of unauthorized access and compromise. For further support on 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 for spawning and running containers according to the Open Container Initiative (OCI) specification. It is widely used in container runtime environments, including Docker.

The vulnerability allows for incorrect authorization, potentially leading to AppArmor restriction bypass. A malicious Docker image can mount over a /proc directory, compromising the host system.

The CVSS score of this vulnerability is 7.5, indicating a high severity level.

To fix this vulnerability, update the affected packages (github.com/opencontainers/runc and github.com/opencontainers/selinux) to the recommended versions.

No specific workaround is mentioned for this vulnerability. Updating the affected packages is the recommended solution.

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