Advisory

DEBIAN-CVE-2022-29162

Also known as: CVE-2022-29162

Summary

The record has no summary.

Details

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.

Severity

High Basis: CVSS v3 score 7.8, vector CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

Dates

Published
2022-05-17 21:15 UTC
Modified
2026-11-18 06:02 UTC

Affected packages and fixes

runc

Debian packages (deb) · Debian 12

Affected

  • introduced 0, fixed 1.1.3+ds1-1 (ecosystem)

Fixed versions

1.1.3+ds1-1

Fix

  • Fixed version 1.1.3+ds1-1
    sudo apt-get update && sudo apt-get upgrade

This command upgrades the distribution's packages. Compare the fixed version with the version you have installed.

runc

Debian packages (deb) · Debian 13

Affected

  • introduced 0, fixed 1.1.3+ds1-1 (ecosystem)

Fixed versions

1.1.3+ds1-1

Fix

  • Fixed version 1.1.3+ds1-1
    sudo apt-get update && sudo apt-get upgrade

This command upgrades the distribution's packages. Compare the fixed version with the version you have installed.

runc

Debian packages (deb) · Debian 14

Affected

  • introduced 0, fixed 1.1.3+ds1-1 (ecosystem)

Fixed versions

1.1.3+ds1-1

Fix

  • Fixed version 1.1.3+ds1-1
    sudo apt-get update && sudo apt-get upgrade

This command upgrades the distribution's packages. Compare the fixed version with the version you have installed.

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: Debian Security Tracker (converted by OSV.dev)

Debian Security Tracker, converted to OSV by OSV.dev.

Sources & licences