CVE & CISA-KEV Catalog

CVE-2022-29162

MEDIUM
5.9
CVSS v3
NVD

Description

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.

How to fix

Remediation Available
runcDebian
Fixed in:1.0.0~rc93+ds1-5+deb11u2CVE-2022-29162
Fixed in:1.1.3+ds1-1CVE-2022-29162
Fixed in:1.1.3+ds1-1CVE-2022-29162
Fixed in:1.1.3+ds1-1CVE-2022-29162
runcUbuntu
Fixed in:1.0.0~rc7+git20190403.029124da-0ubuntu1~16.04.4+esm4USN-6088-2

Remediation is compiled from vendor and distribution security advisories. Always confirm against the linked source for your exact version and platform.

CVSS v3 Vector

Exploitability

Attack VectorLocal
Attack ComplexityLow
Privileges RequiredNone
User InteractionNone
ScopeUnchanged

Impact

ConfidentialityLow
IntegrityLow
AvailabilityLow

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

Exploit Intelligence

0.39%probability of exploitation in 30 days
31stpercentile

Low risk: more likely to be exploited than 31% of all known CVEs.

References

Related Vulnerabilities

Other CWE-276 vulnerabilities, ordered by exploit likelihood. View all

CVESeverityCVSSEPSSExploitedFix
CVE-2013-0632Critical9.894%KEV-
CVE-2017-11610High8.888%-Fix
CVE-2023-29919Critical9.160%--
CVE-2019-17124Critical9.823%--
CVE-2020-12608High7.822%-Fix
CVE-2021-3437Critical9.816%-Fix
Embed a live status badge for CVE-2022-29162
CVE-2022-29162 severity badge

Markdown

[![CVE-2022-29162](https://tridentstack.com/cve/badge/CVE-2022-29162.svg)](https://tridentstack.com/cve/CVE-2022-29162)

HTML

<a href="https://tridentstack.com/cve/CVE-2022-29162"><img src="https://tridentstack.com/cve/badge/CVE-2022-29162.svg" alt="CVE-2022-29162"></a>

Find and fix vulnerabilities across your fleet

TridentStack Control continuously scans your Windows, macOS, and Linux fleet for known vulnerabilities, prioritizes them by severity and active exploitation, and patches them automatically.

Start free

This product uses NVD data but is not endorsed or certified by the NVD. EPSS scores courtesy of FIRST.org (https://www.first.org/epss). Source: CISA KEV Catalog. Data as of 2024-11-21.