Skip to content
Noroxi
CVE-2022-29162· NVD / CVE Program· CNA GitHub_M

Incorrect Default Permissions in runc

runc is a CLI tool for spawning and running containers on Linux according to the OCI specification. A bug was found in runc prior to version 1.1.2 where `runc exec --cap` created processes with non-empty inheritable Linux process capabilities, creating an atypical Linux environment and enabling programs with inheritable file capabilities to elevate those capabilities to the permitted set during execve(2). This bug did not affect the container security sandbox as the inheritable set never contained more capabilities than were included in the container's bounding set. This bug has been fixed in runc 1.1.2. This fix changes `runc exec --cap` behavior such that the additional capabilities granted to the process being executed (as specified via `--cap` arguments) do not include inheritable capabilities. In addition, `runc spec` is changed to not set any inheritable capabilities in the created example OCI spec (`config.json`) file.

HighCVSS 7.8 · v3.1—No exploit Fix available
Published
May 17, 2022
Updated
Jun 17, 2026
EPSS
0.4% · 31th percentile
Follow this CVE

Sign in to follow · You’ll be notified if a followed record enters KEV, gets an exploit or is updated.

Report tools

JSON

Action score

31

Monitor

Low priority for now.

CVSS
31 / 40 · 7.8 / 10
CISA KEV
0 / 30 · Not listed
EPSS
0 / 30 · 0.4%

CISA SSVC decision

Exploitation
none
Automatable
no
Technical impact
partial

Vulnrichment: CISA's decision-tree inputs.

CNA vs NVD score

NVD
7.8
CNA · GitHub_M
5.9
1.9 point gap

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

The score given by the assigning authority versus NVD’s independent score. A gap means the severity is contested.

Affected systems

VendorProduct
linuxfoundationrunc
fedoraprojectfedora

Using runc? Add it to your stack and be the first to know about CVEs like this one. (Docker)

Add to my stack

Affected versions

NVD version ranges (for catalog products). Add the product to your stack with a version and matching uses these.

  • fedoraproject fedora34
  • fedoraproject fedora35
  • fedoraproject fedora36
  • linuxfoundation runcbefore 1.1.2

Versions reported by the vendor

Affected version ranges reported by the assigning authority (GitHub_M). Independent of NVD's CPE analysis and usually ahead of it.

  • opencontainers runc

    • < 1.1.2affected

Package-level exposure

OSV and GitHub Advisory data: ecosystem, package and range. SBOM matching uses this table.

EcosystemPackageAffected rangeFix
AlmaLinux:8aardvark-dnsbefore 2:1.0.1-35.module_el8.7.0+3344+5bcd850f2:1.0.1-35.module_el8.7.0+3344+5bcd850f
AlmaLinux:8buildahbefore 1:1.24.5-2.module_el8.7.0+3344+5bcd850f1:1.24.5-2.module_el8.7.0+3344+5bcd850f
AlmaLinux:8buildah-testsbefore 1:1.24.5-2.module_el8.7.0+3344+5bcd850f1:1.24.5-2.module_el8.7.0+3344+5bcd850f
AlmaLinux:8cockpit-podmanbefore 46-1.module_el8.7.0+3344+5bcd850f46-1.module_el8.7.0+3344+5bcd850f
AlmaLinux:8conmonbefore 2:2.1.4-1.module_el8.7.0+3344+5bcd850f2:2.1.4-1.module_el8.7.0+3344+5bcd850f
AlmaLinux:8container-selinuxbefore 2:2.189.0-1.module_el8.7.0+3344+5bcd850f2:2.189.0-1.module_el8.7.0+3344+5bcd850f
AlmaLinux:8containernetworking-pluginsbefore 1:1.1.1-2.module_el8.7.0+3344+5bcd850f1:1.1.1-2.module_el8.7.0+3344+5bcd850f
AlmaLinux:8containers-commonbefore 2:1-35.module_el8.7.0+3344+5bcd850f2:1-35.module_el8.7.0+3344+5bcd850f
AlmaLinux:8critbefore 3.15-3.module_el8.6.0+2877+8e437bf53.15-3.module_el8.6.0+2877+8e437bf5
AlmaLinux:8critbefore 3.15-3.module_el8.6.0+3137+d33c3efb3.15-3.module_el8.6.0+3137+d33c3efb
AlmaLinux:8criubefore 3.15-3.module_el8.6.0+3137+d33c3efb3.15-3.module_el8.6.0+3137+d33c3efb
AlmaLinux:8criubefore 3.15-3.module_el8.6.0+2877+8e437bf53.15-3.module_el8.6.0+2877+8e437bf5
AlmaLinux:8criu-develbefore 3.15-3.module_el8.6.0+2877+8e437bf53.15-3.module_el8.6.0+2877+8e437bf5
AlmaLinux:8criu-develbefore 3.15-3.module_el8.6.0+3137+d33c3efb3.15-3.module_el8.6.0+3137+d33c3efb
AlmaLinux:8criu-libsbefore 3.15-3.module_el8.6.0+3137+d33c3efb3.15-3.module_el8.6.0+3137+d33c3efb
AlmaLinux:8criu-libsbefore 3.15-3.module_el8.6.0+2877+8e437bf53.15-3.module_el8.6.0+2877+8e437bf5
AlmaLinux:8crunbefore 1.5-1.module_el8.7.0+3344+5bcd850f1.5-1.module_el8.7.0+3344+5bcd850f
AlmaLinux:8fuse-overlayfsbefore 1.9-1.module_el8.7.0+3344+5bcd850f1.9-1.module_el8.7.0+3344+5bcd850f
AlmaLinux:8libslirpbefore 4.4.0-1.module_el8.6.0+3137+d33c3efb4.4.0-1.module_el8.6.0+3137+d33c3efb
AlmaLinux:8libslirpbefore 4.4.0-1.module_el8.6.0+2877+8e437bf54.4.0-1.module_el8.6.0+2877+8e437bf5
AlmaLinux:8libslirp-develbefore 4.4.0-1.module_el8.6.0+2877+8e437bf54.4.0-1.module_el8.6.0+2877+8e437bf5
AlmaLinux:8libslirp-develbefore 4.4.0-1.module_el8.6.0+3137+d33c3efb4.4.0-1.module_el8.6.0+3137+d33c3efb
AlmaLinux:8netavarkbefore 2:1.0.1-35.module_el8.7.0+3344+5bcd850f2:1.0.1-35.module_el8.7.0+3344+5bcd850f
AlmaLinux:8oci-seccomp-bpf-hookbefore 1.2.5-1.module_el8.7.0+3344+5bcd850f1.2.5-1.module_el8.7.0+3344+5bcd850f

+96

Other highest-scoring records for the same primary product.

  • CVE-2024-21626runc container breakout through process.cwd trickery and leaked fds
    40Plan
  • CVE-2021-30465runc before 1.0.0-rc95 allows a Container Filesystem Breakout via Directory Traversal.
    36Monitor
  • CVE-2025-52565container escape due to /dev/console mount and related races
    33Monitor
  • CVE-2023-28642AppArmor bypass with symlinked /proc in runc
    31Monitor
  • CVE-2025-52881runc: LSM labels can be bypassed with malicious config using dummy procfs files
    29Monitor
  • CVE-2025-31133runc container escape via "masked path" abuse due to mount race conditions
    29Monitor

Remediation

Which version to upgrade to

Fix versions compiled from the vendor, package registries and Microsoft. Verify the vendor's note before upgrading.

Product / packageFixed versionSource
almalinux:aardvark-dns2:1.0.1-35.module_el8.7.0+3344+5bcd850f · AlmaLinux:8Package registry (OSV)
almalinux:buildah1:1.24.5-2.module_el8.7.0+3344+5bcd850f · AlmaLinux:8Package registry (OSV)
almalinux:buildah-tests1:1.24.5-2.module_el8.7.0+3344+5bcd850f · AlmaLinux:8Package registry (OSV)
almalinux:cockpit-podman46-1.module_el8.7.0+3344+5bcd850f · AlmaLinux:8Package registry (OSV)
almalinux:conmon2:2.1.4-1.module_el8.7.0+3344+5bcd850f · AlmaLinux:8Package registry (OSV)
almalinux:container-selinux2:2.189.0-1.module_el8.7.0+3344+5bcd850f · AlmaLinux:8Package registry (OSV)
almalinux:containernetworking-plugins1:1.1.1-2.module_el8.7.0+3344+5bcd850f · AlmaLinux:8Package registry (OSV)
almalinux:containers-common2:1-35.module_el8.7.0+3344+5bcd850f · AlmaLinux:8Package registry (OSV)
almalinux:crit3.15-3.module_el8.6.0+3137+d33c3efb · AlmaLinux:8Package registry (OSV)
almalinux:criu3.15-3.module_el8.6.0+2877+8e437bf5 · AlmaLinux:8Package registry (OSV)
almalinux:criu-devel3.15-3.module_el8.6.0+2877+8e437bf5 · AlmaLinux:8Package registry (OSV)
almalinux:criu-libs3.15-3.module_el8.6.0+2877+8e437bf5 · AlmaLinux:8Package registry (OSV)
debian:runc1.1.3+ds1-1 · Debian:12Package registry (OSV)
Go:github.com/opencontainers/runc1.1.2Package registry (OSV)
opensuse:containerd1.6.6-150000.73.2 · openSUSE:Leap 15.3Package registry (OSV)
opensuse:docker20.10.17_ce-150000.166.1 · openSUSE:Leap 15.3Package registry (OSV)
opensuse:docker-kubic20.10.17_ce-150000.166.1 · openSUSE:Leap 15.3Package registry (OSV)
opensuse:kubevirt0.49.0-150300.8.13.1 · openSUSE:Leap 15.3Package registry (OSV)
opensuse:runc1.1.3-150000.30.1 · openSUSE:Leap 15.3Package registry (OSV)
red hat:cri-o0:1.24.1-11.rhaos4.11.gitb0d2ef3.el8 · Red Hat:openshift:4.11::el8Package registry (OSV)
red hat:cri-o-debuginfo0:1.24.1-11.rhaos4.11.gitb0d2ef3.el8 · Red Hat:openshift:4.11::el8Package registry (OSV)
red hat:cri-o-debugsource0:1.24.1-11.rhaos4.11.gitb0d2ef3.el8 · Red Hat:openshift:4.11::el8Package registry (OSV)
red hat:openshift0:4.11.0-202207082037.p0.g9546431.assembly.stream.el8 · Red Hat:openshift:4.11::el8Package registry (OSV)
red hat:openshift-hyperkube0:4.11.0-202207082037.p0.g9546431.assembly.stream.el8 · Red Hat:openshift:4.11::el8Package registry (OSV)
red hat:podman2:4.0.2-6.rhaos4.11.el8 · Red Hat:openshift:4.11::el8Package registry (OSV)
red hat:podman-catatonit2:4.0.2-6.rhaos4.11.el8 · Red Hat:openshift:4.11::el8Package registry (OSV)
red hat:podman-catatonit-debuginfo2:4.0.2-6.rhaos4.11.el8 · Red Hat:openshift:4.11::el8Package registry (OSV)
red hat:podman-debuginfo2:4.0.2-6.rhaos4.11.el8 · Red Hat:openshift:4.11::el8Package registry (OSV)
red hat:podman-debugsource2:4.0.2-6.rhaos4.11.el8 · Red Hat:openshift:4.11::el8Package registry (OSV)
red hat:podman-docker2:4.0.2-6.rhaos4.11.el8 · Red Hat:openshift:4.11::el8Package registry (OSV)

+20

Exploit status

No known public exploit

No public exploit has been observed yet. That doesn't mean you're safe, only that the bar is a little higher.

Research context

For pentesters and researchers: attack profile, score disagreement, timeline, patch commits, credits, variant and chain candidates, bug bounty scope. All derived from existing data; no exploit code.

Timeline

From publication to today: proof of concept, Metasploit module, CISA KEV and fix record. Dates are as reported by the sources.

No dated events beyond publication.

EPSS, last 120 days

FIRST EPSS daily score; only changes of 0.01 or more are recorded (step chart).

Patch and commit links

Commit, PR and diff links among the references. A starting point for patch-diffing and variant hunting; fixes, not exploits.

Finders, reporters and analysts named in the CNA record. Click a name for that researcher’s other records.

No credits in the CNA record.

Variant candidates

Same product, same weakness class, within 18 months. If the patch missed the root cause, the sibling bug is here.

No nightly-computed relations.

Chain candidates

An authentication bypass and a privilege-requiring bug in the same product, published close together: combined they may become an unauthenticated path.

—

Bug bounty scope

No known public program.

Source: bounty-targets-data (public HackerOne, Bugcrowd, Intigriti, YesWeHack listings).

Technical details

Attack conditions

  • Someone with local access to the system can trigger it.
  • A low-privileged account is enough.
  • No user action is required.
  • No special conditions are required; it is repeatable.

If successful

Confidentiality
high · data can be read
Integrity
high · data or configuration can be modified
Availability
high · the service can be disrupted
Attack vector
Local
Attack complexity
Low
Privileges required
Low
User interaction
None
Scope
Unchanged
Confidentiality impact
High
Integrity impact
High
Availability impact
High

CVSS vector

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

nvd-primary

Noroxi analysis

No Noroxi analysis for this record yet

We don't hand-write analysis for all 385,000+ vulnerabilities; that wouldn't be honest. For notable, high-impact vulnerabilities our team writes the mechanism, detection and remediation steps.

We use this product, ask for help

Change log

  1. Fix✗ → ✓

For records you follow, these changes also arrive as notifications. →

References

All records