VDB

CVE-2022-29162

CVE-2022-29162 PUBLISHED CVSS 5.9 MEDIUM

Incorrect Default Permissions in runc

Reported by github_m · Published May 17, 2022

github.com/opencontainers/runc is fixed in v1.1.2 (Go Modules)

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.

Fixed versions

Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.

PackageEcosystemFixed in
github.com/opencontainers/runcGo Modulesv1.1.2

Risk scores

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

Affected products

VendorProductVersions
opencontainersrunc< 1.1.2
opencontainersrunc0
amazon:2023runc0
wolfictop0
wolfipodman0
alpinerunc0
wolfirunc*
chainguardctop0
chainguardpodman0
chainguardpodman-fips0
github.comopencontainers/runc0
chainguardrunc*
github.comopencontainers/runc/libcontainer0
archrunc1.1.1-1

Timeline

  • May 17, 2022 CVE Published
  • May 18, 2022 EPSS Score (30 in total, the first dated here)
  • Mar 17, 2026 Security Advisory (10 in total, the first dated here)
  • Jun 27, 2026 Coalition ESS Score
  • Aug 11, 2026 CVE Updated
  • Oct 13, 2026 Distribution Patch (9 in total, the first dated here)

Query this with the API

The same record, from the CLI:

vulnetix vdb vuln CVE-2022-29162
vulnetix vdb fixes CVE-2022-29162

Or with curl, using the org id and key from your account page:

curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
  "https://api.vdb.vulnetix.com/v2/vuln/CVE-2022-29162/fixes/registry"

The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart

Look up in the Resolve Platform →
$ Lookup Community · 50/day Open Lookup ›