CVE-2015-3629 Arbitrary File Write in Libcontainer

High 7.8 Published Updated

Local attackers can escape container isolation and write arbitrary files on the host via symlink attacks during container respawn.

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-2015-3629?

CVE-2015-3629 is a high-severity path traversal vulnerability in Opensuse Opensuse, published on 18 May 2015. It can only be exploited from the same machine or local network, with no action from the victim.

Official description

Libcontainer 1.6.0, as used in Docker Engine, allows local users to escape containerization ("mount namespace breakout") and write to arbitrary file on the host system via a symlink attack in an image when respawning a container.

Weakness: CWE-59

Which versions are affected by CVE-2015-3629?

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

PackageAffectedFixed in
github.com/docker/docker GoFrom 1.6.01.6.1
github.com/docker/docker GoFrom 1.6.01.6.1
github.com/docker/docker GoFrom 1.6.01.6.1

Products include Docker Libcontainer, Opensuse Opensuse.

How do I fix CVE-2015-3629?

Upgrade github.com/docker/docker to 1.6.1 or later.

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

Is CVE-2015-3629 being exploited?

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

Sources

Also known as DEBIAN-CVE-2015-3629, GHSA-g44j-7vp3-68cv, GO-2022-0647, UBUNTU-CVE-2015-3629.

Is CVE-2015-3629 in your software?

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

Check your SBOMs for free