[ASA-202105-17] runc: sandbox escape

Jonas Witschel diabonas at archlinux.org
Wed May 26 10:32:22 UTC 2021


Arch Linux Security Advisory ASA-202105-17
==========================================

Severity: High
Date    : 2021-05-25
CVE-ID  : CVE-2021-30465
Package : runc
Type    : sandbox escape
Remote  : No
Link    : https://security.archlinux.org/AVG-1972

Summary
=======

The package runc before version 1.0.0rc95-1 is vulnerable to sandbox
escape.

Resolution
==========

Upgrade to 1.0.0rc95-1.

# pacman -Syu "runc>=1.0.0rc95-1"

The problem has been fixed upstream in version 1.0.0rc95.

Workaround
==========

Container hardening mechanisms such as LSMs (AppArmor/SELinux) and user
namespaces can restrict the amount of damage an attacker could do but
they do not block this attack outright.

Description
===========

runc 1.0.0-rc94 and earlier are vulnerable to a symlink exchange attack
where an attacker with the ability to start containers using a custom
volume configuration can request a seemingly-innocuous container
configuration that results in the host filesystem being bind-mounted
into the container (allowing for a container escape).

Impact
======

An attacker can escape from a container and access arbitrary files on
the host system using a crafted container configuration.

References
==========

https://github.com/opencontainers/runc/security/advisories/GHSA-c3xm-pvg7-gh7r
https://github.com/opencontainers/runc/commit/0ca91f44f1664da834bc61115a849b56d22f595f
https://security.archlinux.org/CVE-2021-30465
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: not available
URL: <https://lists.archlinux.org/pipermail/arch-security/attachments/20210526/3ebf1dd0/attachment.sig>


More information about the arch-security mailing list