CVE-2022-29162
mediumpriority · track · 31OT risk · elevatedEPSS 0.004 · 33 %ileDEEURUUSEPSS · scored 2026-10-27
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.
remediations
Vendor fix, mitigation, or workaround guidance, as published by each source.
A vendor fix is available.
- FixedSCALANCE XCH328 (6GK5328-4TS01-2EC2)siemens_psirt
Update to V2.4 or later version
https://support.industry.siemens.com/cs/ww/en/view/109826613/ - FixedSCALANCE XCM324 (6GK5324-8TS01-2AC2)siemens_psirt
Update to V2.4 or later version
https://support.industry.siemens.com/cs/ww/en/view/109826613/ - FixedSCALANCE XCM328 (6GK5328-4TS01-2AC2)siemens_psirt
Update to V2.4 or later version
https://support.industry.siemens.com/cs/ww/en/view/109826613/ - FixedSCALANCE XCM332 (6GK5332-0GA01-2AC2)siemens_psirt
Update to V2.4 or later version
https://support.industry.siemens.com/cs/ww/en/view/109826613/ - FixedSCALANCE XRH334 (24 V DC, 8xFO, CC) (6GK5334-2TS01-2ER3)siemens_psirt
Update to V2.4 or later version
https://support.industry.siemens.com/cs/ww/en/view/109826613/ - FixedSCALANCE XRM334 (230 V AC, 12xFO) (6GK5334-3TS01-3AR3)siemens_psirt
Update to V2.4 or later version
https://support.industry.siemens.com/cs/ww/en/view/109826613/ - FixedSCALANCE XRM334 (230 V AC, 8xFO) (6GK5334-2TS01-3AR3)siemens_psirt
Update to V2.4 or later version
https://support.industry.siemens.com/cs/ww/en/view/109826613/ - FixedSCALANCE XRM334 (24 V DC, 12xFO) (6GK5334-3TS01-2AR3)siemens_psirt
Update to V2.4 or later version
https://support.industry.siemens.com/cs/ww/en/view/109826613/ - FixedSCALANCE XRM334 (24 V DC, 8xFO) (6GK5334-2TS01-2AR3)siemens_psirt
Update to V2.4 or later version
https://support.industry.siemens.com/cs/ww/en/view/109826613/ - FixedSCALANCE XRM334 (2x230 V AC, 12xFO) (6GK5334-3TS01-4AR3)siemens_psirt
Update to V2.4 or later version
https://support.industry.siemens.com/cs/ww/en/view/109826613/ - FixedSCALANCE XRM334 (2x230 V AC, 8xFO) (6GK5334-2TS01-4AR3)siemens_psirt
Update to V2.4 or later version
https://support.industry.siemens.com/cs/ww/en/view/109826613/ - FixedSCALANCE XCH328 (6GK5328-4TS01-2EC2)cisa_csaf_ot
Update to V2.4 or later version
https://support.industry.siemens.com/cs/ww/en/view/109826613/ - FixedSCALANCE XCM324 (6GK5324-8TS01-2AC2)cisa_csaf_ot
Update to V2.4 or later version
https://support.industry.siemens.com/cs/ww/en/view/109826613/ - FixedSCALANCE XCM328 (6GK5328-4TS01-2AC2)cisa_csaf_ot
Update to V2.4 or later version
https://support.industry.siemens.com/cs/ww/en/view/109826613/ - FixedSCALANCE XCM332 (6GK5332-0GA01-2AC2)cisa_csaf_ot
Update to V2.4 or later version
https://support.industry.siemens.com/cs/ww/en/view/109826613/ - FixedSCALANCE XRH334 (24 V DC, 8xFO, CC) (6GK5334-2TS01-2ER3)cisa_csaf_ot
Update to V2.4 or later version
https://support.industry.siemens.com/cs/ww/en/view/109826613/ - FixedSCALANCE XRM334 (230 V AC, 12xFO) (6GK5334-3TS01-3AR3)cisa_csaf_ot
Update to V2.4 or later version
https://support.industry.siemens.com/cs/ww/en/view/109826613/ - FixedSCALANCE XRM334 (230 V AC, 8xFO) (6GK5334-2TS01-3AR3)cisa_csaf_ot
Update to V2.4 or later version
https://support.industry.siemens.com/cs/ww/en/view/109826613/ - FixedSCALANCE XRM334 (24 V DC, 12xFO) (6GK5334-3TS01-2AR3)cisa_csaf_ot
Update to V2.4 or later version
https://support.industry.siemens.com/cs/ww/en/view/109826613/ - FixedSCALANCE XRM334 (24 V DC, 8xFO) (6GK5334-2TS01-2AR3)cisa_csaf_ot
Update to V2.4 or later version
https://support.industry.siemens.com/cs/ww/en/view/109826613/ - FixedSCALANCE XRM334 (2x230 V AC, 12xFO) (6GK5334-3TS01-4AR3)cisa_csaf_ot
Update to V2.4 or later version
https://support.industry.siemens.com/cs/ww/en/view/109826613/ - FixedSCALANCE XRM334 (2x230 V AC, 8xFO) (6GK5334-2TS01-4AR3)cisa_csaf_ot
Update to V2.4 or later version
https://support.industry.siemens.com/cs/ww/en/view/109826613/
cvss
Technical severity, 0–10. One row per scoring source.
base score 0–10 · higher = more severe · hover a vector to decode⚠ sources disagree · medium–high · 4.6–7.8
ssvc
A stakeholder decision — act, attend, or track — from exploitation and impact.
weaknesses
The CWE weakness classes this flaw belongs to.
affected products (51)
Products and version ranges known to be affected.
advisories (6)
Vendor and ecosystem advisories describing this.
- SSA-806742SSA-806742: Multiple Vulnerabilities in SCALANCE XCM-/XRM-300 before V2.42024-02-13csaf · siemens_psirtDE
SCALANCE XCM-/XRM-300 before V2.4 is affected by multiple vulnerabilities. Siemens has released an update for SCALANCE X-300 and recommends to update to the latest version.
- WID-SEC-W-2022-2052Mehrere Red Hat Enterprise Linux Pakete: Mehrere SchwachstellenDeutsch2022-11-15csaf · cert_bundDE
Ein lokaler Angreifer kann mehrere Schwachstellen in Red Hat Enterprise Linux ausnutzen, um einen Denial of Service Angriff durchzuführen, Sicherheitsvorkehrungen zu umgehen oder sonstige Auswirkungen zu verursachen.
- WID-SEC-W-2024-0794Dell ECS: Mehrere SchwachstellenDeutsch2024-04-04csaf · cert_bundDE
Ein Angreifer kann mehrere Schwachstellen in Dell ECS ausnutzen, um seine Privilegien zu erweitern, beliebigen Programmcode mit Administratorrechten auszuführen, Informationen offenzulegen, Dateien zu manipulieren, einen Cross-Site-Scripting-Angriff durchzuführen, Sicherheitsvorkehrungen zu umgehen oder einen Denial of Service Zustand herbeizuführen.
- GHSA-f3fp-gc8g-vw66Default inheritable capabilities for linux container should be empty2022-05-24ghsa · osvUS
### Impact A bug was found in runc where `runc exec --cap` executed 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. ### Patches This bug has been fixed in runc 1.1.2. Users should update to this version as soon as possible. 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. ### Credits The opencontainers project would like to thank [Andrew G. Morgan](https://github.com/AndrewGMorgan) for responsibly disclosing this issue in accordance with the [opencontainers org security policy](https://github.com/opencontainers/.github/blob/master/SECURITY.md). ### For more information If you have any questions or comments about this advisory: * [Open an issue](https://github.com/opencontainers/runc/issues/new) * Email us at [security@opencontainers.org](mailto:security@opencontainers.org) if you think you’ve found a security bug
- ICSA-24-046-11Siemens SCALANCE XCM-/XRM-3002024-02-13icsa · cisa_csaf_otUS
SCALANCE XCM-/XRM-300 before V2.4 is affected by multiple vulnerabilities. Siemens has released an update for SCALANCE X-300 and recommends to update to the latest version.
- GO-2022-0452Default inheritable capabilities for linux container should be empty in github.com/opencontainers/runc2024-08-21vendor · osvUS
Default inheritable capabilities for linux container should be empty in github.com/opencontainers/runc
also known as (6)
Other names and identifiers for this entity.
sources
Which sources assert this record, and when.
references (34)
External citations — patches, advisories, analysis.
- https://cxsecurity.com/cveshow/CVE-2022-29162/cnnvd
- https://github.com/opencontainers/runc/commit/98fe566c527479195ce3c8167136d2a555fe6b65Patchcnnvd
- https://github.com/opencontainers/runc/commit/d04de3a9b72d7a2455c1885fc75eb36d02cd17b5cnnvd
- https://github.com/opencontainers/runc/releases/tag/v1.1.2cnnvd
- https://github.com/opencontainers/runc/security/advisories/GHSA-f3fp-gc8g-vw66cnnvd
- https://lists.debian.org/debian-lts-announce/2023/03/msg00023.htmlcnnvd
- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/AVPZBV7ISA7QKRPTC7ZXWKMIQI2HZEBB/cnnvd
- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/D77CKD3AXPMU4PMQIQI5Q74SI4JATNND/cnnvd
Attackers weaponise vulnerabilities like this against internet-exposed services. See what is exposed on your perimeter with a free passive scan.
Free scan