cbcvebase.
CVE-2022-29162
published 2022-05-17

CVE-2022-29162: 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…

PriorityP337high7.8CVSS 3.1
AVLACLPRLUINSUCHIHAH
EPSS
0.39%
30.4th percentile
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.

Affected

18 ranges
VendorProductVersion rangeFixed in
debianrunc< runc 1.1.3+ds1-1 (bookworm)runc 1.1.3+ds1-1 (bookworm)
fedoraprojectfedora
fedoraprojectfedora
fedoraprojectfedora
github.comopencontainers_runc>= 0 < 1.1.21.1.2
linuxfoundationrunc< 1.1.21.1.2
linuxfoundationrunc>= 0 < 1.0.0~rc93+ds1-5+deb11u21.0.0~rc93+ds1-5+deb11u2
linuxfoundationrunc>= 0 < 1.1.3+ds1-11.1.3+ds1-1
linuxfoundationrunc>= 0 < 1.1.3+ds1-11.1.3+ds1-1
linuxfoundationrunc>= 0 < 1.1.3+ds1-11.1.3+ds1-1
linuxfoundationrunc>= 0 < 1.0.0~rc7+git20190403.029124da-0ubuntu1~16.04.4+esm41.0.0~rc7+git20190403.029124da-0ubuntu1~16.04.4+esm4
msrccbl2_moby-runc_1.1.2-2_on_cbl_mariner_2.0
msrccbl_mariner_1.0_arm
msrccbl_mariner_1.0_x64
msrccbl_mariner_2.0_arm
msrccbl_mariner_2.0_x64
msrccm1_moby-runc_1.1.2+azure-1_on_cbl_mariner_1.0
youki-devyouki< 0.5.30.5.3

CVSS provenance

nvdv3.17.8HIGHCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
nvdv2.04.6MEDIUMAV:L/AC:L/Au:N/C:P/I:P/A:P
osv7.8HIGH
vendor_msrc7.8HIGH
vendor_ubuntu7.0HIGH
vendor_debian5.9MEDIUM
vendor_redhat5.9MEDIUM
Stop checking back — get the weekly exploitation signal.

Every Monday: what got weaponized or added to CISA KEV in the last seven days — each CVE cross-linked to its PoC, Nuclei template, and detection rule. Free, one email a week, unsubscribe in one click.