CVE-2019-10152 Podman Path Traversal Vulnerability leads to arbitrary file read/write

High 7.5 Published Updated

An attacker with container access can read or write arbitrary host files via symlink traversal when an administrator copies files using Podman.

Exploited in the wild
Not known
Login needed
Any signed-in user
Attackable
Local or same network only
Victim action needed
A user has to click or open something
Fix
Available

What is CVE-2019-10152?

CVE-2019-10152 is a high-severity path traversal vulnerability in Opensuse Leap, published on 30 Jul 2019. It can only be exploited from the same machine or local network, and only if a user opens a file or follows a link.

Official description

A path traversal vulnerability has been discovered in podman before version 1.4.0 in the way it handles symlinks inside containers. An attacker who has compromised an existing container can cause arbitrary files on the host filesystem to be read/written when an administrator tries to copy a file from/to the container.

Weakness: CWE-59, CWE-22

Which versions are affected by CVE-2019-10152?

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

PackageAffectedFixed in
github.com/containers/podman GoAll versions1.4.0
github.com/containers/podman GoAll versions1.4.0
github.com/containers/podman GoAll versions1.4.0
Linux distribution packages (3)
podman Red Hat:rhel_extras_other:7All versions0:1.4.4-2.el7
podman-debuginfo Red Hat:rhel_extras_other:7All versions0:1.4.4-2.el7
podman-docker Red Hat:rhel_extras_other:7All versions0:1.4.4-2.el7

Products include Libpod Project Libpod, Opensuse Leap.

How do I fix CVE-2019-10152?

Upgrade github.com/containers/podman to 1.4.0 or later.

Upgrade, and resolve every user-supplied path against an allowed base folder before opening it. More about Path traversal.

Is CVE-2019-10152 being exploited?

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

All Opensuse Leap vulnerabilities

Sources

Also known as GHSA-rh5f-2w6r-q7vj, GO-2023-1927, RHSA-2019:1907.

Is CVE-2019-10152 in your software?

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

Check your SBOMs for free