CVE-2022-27649 Podman's default inheritable capabilities for linux container not empty

High 7.5 Published Updated

Attackers with access to programs with inheritable file capabilities can elevate privileges within Podman containers due to incorrect default permission settings.

Exploited in the wild
Not known
Login needed
Any signed-in user
Attackable
Over the internet
Victim action needed
Not needed
Fix
Available

What is CVE-2022-27649?

CVE-2022-27649 is a high-severity vulnerability in Fedoraproject Fedora, published on 4 Apr 2022. Any signed-in user can exploit it over the network, with no action from the victim.

Official description

A flaw was found in Podman, where containers were started incorrectly with non-empty default permissions. A vulnerability was found in Moby (Docker Engine), where containers were started incorrectly with non-empty inheritable Linux process capabilities. This flaw allows an attacker with access to programs with inheritable file capabilities to elevate those capabilities to the permitted set when execve(2) runs.

Weakness: CWE-276

Which versions are affected by CVE-2022-27649?

6 open source packages ship an affected version, including github.com/containers/podman/v4, github.com/containers/podman and github.com/containers/podman/v2. It affects 14 products.

PackageAffectedFixed in
github.com/containers/podman/v4 GoAll versions4.0.3
github.com/containers/podman/v4 GoAll versions4.0.3
github.com/containers/podman/v4 GoAll versions4.0.3
github.com/containers/podman GoAll versionsNone
github.com/containers/podman/v2 GoAll versionsNone
github.com/containers/podman/v3 GoAll versionsNone
Linux distribution packages (1)
podman openSUSE:TumbleweedAll versions4.0.3-1.1

Products include Fedoraproject Fedora, Podman Project Podman, Redhat Developer Tools, Redhat Enterprise Linux, Redhat Enterprise Linux Eus, Redhat Enterprise Linux for Ibm Z Systems and 8 more.

How do I fix CVE-2022-27649?

Upgrade github.com/containers/podman/v4 to 4.0.3 or later.

Is CVE-2022-27649 being exploited?

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

All Fedoraproject Fedora vulnerabilities

Sources

Also known as AZL-9320, DEBIAN-CVE-2022-27649, GHSA-qvf8-p83w-v58j, GO-2022-0416, UBUNTU-CVE-2022-27649, openSUSE-SU-2024:11982-1.

Is CVE-2022-27649 in your software?

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

Check your SBOMs for free