CVE-2021-30465

NameCVE-2021-30465
Descriptionrunc before 1.0.0-rc95 allows a Container Filesystem Breakout via Directory Traversal. To exploit the vulnerability, an attacker must be able to create multiple containers with a fairly specific mount configuration. The problem occurs via a symlink-exchange attack that relies on a race condition.
SourceCVE (at NVD; CERT, LWN, oss-sec, fulldisc, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more)
ReferencesDLA-3369-1
Debian Bugs988768

Vulnerable and fixed packages

The table below lists information on source packages.

Source PackageReleaseVersionStatus
runc (PTS)stretch (security), stretch (lts), stretch0.1.1+dfsg1-2+deb9u3vulnerable
buster1.0.0~rc6+dfsg1-3vulnerable
buster (security)1.0.0~rc6+dfsg1-3+deb10u3fixed
bullseye (security), bullseye1.0.0~rc93+ds1-5+deb11u3fixed
bookworm (security), bookworm1.1.5+ds1-1+deb12u1fixed
sid, trixie1.1.12+ds1-2fixed

The information below is based on the following data on fixed versions.

PackageTypeReleaseFixed VersionUrgencyOriginDebian Bugs
runcsourcebuster1.0.0~rc6+dfsg1-3+deb10u2DLA-3369-1
runcsource(unstable)1.0.0~rc93+ds1-5988768

Notes

[stretch] - runc <no-dsa> (Intrusive to backport fix)
https://www.openwall.com/lists/oss-security/2021/05/19/2
https://github.com/opencontainers/runc/security/advisories/GHSA-c3xm-pvg7-gh7r
Initial patch in -4, but revised patch was applied only in -5

Search for package or bug name: Reporting problems