CVE-2022-2990 Buildah's incorrect handling of the supplementary groups may lead to data disclosure, modification

High 7.1 Published Updated

Attackers with code execution in a Buildah container can bypass supplementary group permissions to read or modify sensitive data.

Exploited in the wild
Not known
Login needed
Any signed-in user
Attackable
Local or same network only
Victim action needed
Not needed
Fix
Available

What is CVE-2022-2990?

CVE-2022-2990 is a high-severity missing authorization vulnerability in Redhat Enterprise Linux, published on 13 Sep 2022. It can only be exploited from the same machine or local network, with no action from the victim.

Official description

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.

Weakness: CWE-863, CWE-842

Which versions are affected by CVE-2022-2990?

3 open source packages ship an affected version, including github.com/containers/buildah. It affects 3 products.

PackageAffectedFixed in
github.com/containers/buildah GoAll versions1.27.1
github.com/containers/buildah GoAll versions1.27.1
github.com/containers/buildah GoAll versions1.27.1
Linux distribution packages (8)
buildah SUSE:Enterprise Storage 7All versions1.25.1-150100.3.20.15
buildah SUSE:Linux Enterprise High Performance Computing 15 SP1-LTSSAll versions1.25.1-150100.3.20.15
buildah SUSE:Linux Enterprise High Performance Computing 15 SP2-LTSSAll versions1.25.1-150100.3.20.15
buildah SUSE:Linux Enterprise Server 15 SP1-LTSSAll versions1.25.1-150100.3.20.15
buildah SUSE:Linux Enterprise Server 15 SP2-LTSSAll versions1.25.1-150100.3.20.15
buildah SUSE:Linux Enterprise Server for SAP Applications 15 SP1All versions1.25.1-150100.3.20.15
buildah SUSE:Linux Enterprise Server for SAP Applications 15 SP2All versions1.25.1-150100.3.20.15
buildah openSUSE:TumbleweedAll versions1.27.0-3.1

Products include Buildah Project Buildah, Redhat Enterprise Linux, Redhat Openshift Container Platform.

How do I fix CVE-2022-2990?

Upgrade github.com/containers/buildah to 1.27.1 or later.

Upgrade, and check permissions on every request on the server, not only in the interface. More about Missing authorization.

Is CVE-2022-2990 being exploited?

There is no known exploitation of CVE-2022-2990 in the wild and no public exploit code.

All Redhat Enterprise Linux vulnerabilities

Sources

Also known as AZL-10960, AZL-36935, CLEANSTART-2024-MV49832, DEBIAN-CVE-2022-2990, GHSA-fjm8-m7m6-2fjp, GO-2022-1008 and 3 more.

Is CVE-2022-2990 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free