Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 870934 (CVE-2022-2990)

Summary: <app-containers/buildah-1.27.1: incorrect handling of supplementary groups
Product: Gentoo Security Reporter: John Helmert III <ajak>
Component: VulnerabilitiesAssignee: Gentoo Security <security>
Status: RESOLVED FIXED    
Severity: minor CC: zmedico
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
URL: https://www.benthamsgaze.org/2022/08/22/vulnerability-in-linux-containers-investigation-and-mitigation/
Whiteboard: B4 [noglsa]
Package list:
Runtime testing required: ---
Bug Depends on: 871510    
Bug Blocks:    

Description John Helmert III archtester Gentoo Infrastructure gentoo-dev Security 2022-09-17 18:03:34 UTC
CVE-2022-2990:

An incorrect handling of the supplementary groups in the Buildah container engine might lead to the sensitive information disclosure or possible data modification if an attacker has direct access to the affected container where supplementary groups are used to set access permissions and is able to execute a binary code in that container.

Patch was merged for 1.27.1, please stabilize.
Comment 1 John Helmert III archtester Gentoo Infrastructure gentoo-dev Security 2022-09-19 04:11:26 UTC
Please cleanup
Comment 2 John Helmert III archtester Gentoo Infrastructure gentoo-dev Security 2022-09-19 20:05:02 UTC
Sorry, upstream patch is: https://github.com/containers/buildah/pull/4200
Comment 3 Larry the Git Cow gentoo-dev 2022-09-19 23:34:15 UTC
The bug has been referenced in the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=91158050d0c0989da46655ba58e50439f329f230

commit 91158050d0c0989da46655ba58e50439f329f230
Author:     Zac Medico <zmedico@gentoo.org>
AuthorDate: 2022-09-19 23:33:33 +0000
Commit:     Zac Medico <zmedico@gentoo.org>
CommitDate: 2022-09-19 23:33:39 +0000

    app-containers/buildah: drop 1.25.1, 1.27.0
    
    Bug: https://bugs.gentoo.org/870934
    Signed-off-by: Zac Medico <zmedico@gentoo.org>

 app-containers/buildah/Manifest              |  2 --
 app-containers/buildah/buildah-1.25.1.ebuild | 51 ----------------------------
 app-containers/buildah/buildah-1.27.0.ebuild | 51 ----------------------------
 3 files changed, 104 deletions(-)
Comment 4 John Helmert III archtester Gentoo Infrastructure gentoo-dev Security 2022-09-19 23:43:50 UTC
Thanks! Low impact, so no GLSA, all done!