Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 844085 (CVE-2022-29162) - <app-containers/runc-1.1.2: incorrect handling of inheritable capabilities
Summary: <app-containers/runc-1.1.2: incorrect handling of inheritable capabilities
Status: RESOLVED FIXED
Alias: CVE-2022-29162
Product: Gentoo Security
Classification: Unclassified
Component: Vulnerabilities (show other bugs)
Hardware: All Linux
: Normal minor
Assignee: Gentoo Security
URL: https://github.com/opencontainers/run...
Whiteboard: B4 [glsa+]
Keywords:
Depends on: 889546
Blocks:
  Show dependency tree
 
Reported: 2022-05-13 18:21 UTC by John Helmert III
Modified: 2024-08-11 05:47 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description John Helmert III archtester Gentoo Infrastructure gentoo-dev Security 2022-05-13 18:21:47 UTC
"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."

Please bump to 1.1.2.
Comment 1 Larry the Git Cow gentoo-dev 2022-05-14 02:30:04 UTC
The bug has been referenced in the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6d09b48976e555e3a183f73dd59748b6e6092bca

commit 6d09b48976e555e3a183f73dd59748b6e6092bca
Author:     William Hubbs <williamh@gentoo.org>
AuthorDate: 2022-05-14 02:29:31 +0000
Commit:     William Hubbs <williamh@gentoo.org>
CommitDate: 2022-05-14 02:29:56 +0000

    app-containers/runc: add 1.1.2
    
    Bug: https://bugs.gentoo.org/844085
    Signed-off-by: William Hubbs <williamh@gentoo.org>

 app-containers/runc/Manifest          |  1 +
 app-containers/runc/runc-1.1.2.ebuild | 78 +++++++++++++++++++++++++++++++++++
 2 files changed, 79 insertions(+)
Comment 2 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2022-05-14 02:31:54 UTC
Thanks! Please stable when ready
Comment 3 John Helmert III archtester Gentoo Infrastructure gentoo-dev Security 2022-05-18 17:39:23 UTC
Seems I typo'd the CVE.
Comment 4 Larry the Git Cow gentoo-dev 2024-08-11 05:46:22 UTC
The bug has been referenced in the following commit(s):

https://gitweb.gentoo.org/data/glsa.git/commit/?id=68a8d508cf9f0faa2bd942edbbb2cbf358d169d3

commit 68a8d508cf9f0faa2bd942edbbb2cbf358d169d3
Author:     GLSAMaker <glsamaker@gentoo.org>
AuthorDate: 2024-08-11 05:45:57 +0000
Commit:     Hans de Graaff <graaff@gentoo.org>
CommitDate: 2024-08-11 05:46:20 +0000

    [ GLSA 202408-25 ] runc: Multiple Vulnerabilities
    
    Bug: https://bugs.gentoo.org/828471
    Bug: https://bugs.gentoo.org/844085
    Bug: https://bugs.gentoo.org/903079
    Bug: https://bugs.gentoo.org/923434
    Signed-off-by: GLSAMaker <glsamaker@gentoo.org>
    Signed-off-by: Hans de Graaff <graaff@gentoo.org>

 glsa-202408-25.xml | 50 ++++++++++++++++++++++++++++++++++++++++++++++++++
 1 file changed, 50 insertions(+)