CVE-2022-2995 CRI-O incorrect handling of supplementary groups may lead to sensitive information disclosure

High 7.1 Published Updated

Attackers with code execution in a CRI-O 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-2995?

CVE-2022-2995 is a high-severity missing authorization vulnerability in cri-o, published on 19 Sep 2022. It can only be exploited from the same machine or local network, with no action from the victim.

Official description

Incorrect handling of the supplementary groups in the CRI-O container engine might lead to 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-732, CWE-284

Which versions are affected by CVE-2022-2995?

3 open source packages ship an affected version, including github.com/cri-o/cri-o. It affects 1 product.

PackageAffectedFixed in
github.com/cri-o/cri-o GoAll versions1.25.0
github.com/cri-o/cri-o GoAll versions1.25.0
github.com/cri-o/cri-o GoAll versions1.25.0
Linux distribution packages (5)
cri-o Red Hat:openshift:4.10::el7All versions0:1.23.5-11.rhaos4.10.gitfc32aac.el7
cri-o-debuginfo Red Hat:openshift:4.10::el7All versions0:1.23.5-11.rhaos4.10.gitfc32aac.el7
cri-o Red Hat:openshift:4.10::el8All versions0:1.23.5-11.rhaos4.10.gitfc32aac.el8
cri-o-debuginfo Red Hat:openshift:4.10::el8All versions0:1.23.5-11.rhaos4.10.gitfc32aac.el8
cri-o-debugsource Red Hat:openshift:4.10::el8All versions0:1.23.5-11.rhaos4.10.gitfc32aac.el8

Products include Kubernetes Cri-O.

How do I fix CVE-2022-2995?

Upgrade github.com/cri-o/cri-o to 1.25.0 or later.

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

Is CVE-2022-2995 being exploited?

It is not confirmed as exploited in the wild, but public exploit code for CVE-2022-2995 exists.

Sources

Also known as AZL-39882, GHSA-phjr-8j92-w5v7, GO-2022-1014, OESA-2024-1251, RHSA-2023:3216.

Is CVE-2022-2995 in your software?

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

Check your SBOMs for free