CVE-2021-33638 Run copy with container in a malicious directory may cause container escaping

High 8.4 Published Updated

An attacker controlling a container can escape to the host by manipulating the directory during a file copy operation using iSulad.

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

What is CVE-2021-33638?

CVE-2021-33638 is a high-severity path traversal vulnerability in openEuler iSulad, published on 29 Oct 2023. It can only be exploited from the same machine or local network, with no action from the victim.

Official description

When the isula cp command is used to copy files from a container to a host machine and the container is controlled by an attacker, the attacker can escape the container.

Weakness: CWE-665

Which versions are affected by CVE-2021-33638?

It affects 1 product.

Products include Openeuler Isula.

How do I fix CVE-2021-33638?

Apply the vendor's patch.

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

Is CVE-2021-33638 being exploited?

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

Sources

Also known as GHSA-6qw3-w6wv-8fgg.

Is CVE-2021-33638 in your software?

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

Check your SBOMs for free