Description
Sysbox-fs remount authorization could be bypassed by spoofing the mount(2) filesystem-type argument, incorrectly exempting read-only procfs/sysfs bind submounts based on their real filesystem type, combining MS_REMOUNT with move or propagation flags that sysbox-fs prioritized differently from the kernel, or racing changes to syscall string arguments between validation and kernel use. A process with CAP_SYS_ADMIN inside a Sysbox container could make protected read-only immutable mounts writable and modify or delete host-visible files, subject to filesystem permissions. Targets include kernel-header/module mounts and procfs read-only-paths submounts such as /proc/bus. Docker Desktop was affected when Enhanced Container Isolation (ECI) was enabled. The issues are fixed in Sysbox Community Edition 0.7.2, Sysbox Enterprise Edition 0.7.9 and Docker Desktop 4.101.0.
Vendor solution
Upgrade to Sysbox Community Edition 0.7.2, Sysbox Enterprise Edition 0.7.9 or Docker Desktop 4.101.0, or a later version of the applicable product.
Vendor workaround
Until upgrading, do not grant CAP_SYS_ADMIN or use --privileged for untrusted Sysbox containers. Avoid exposing sensitive files to such containers through read-only bind mounts; use a disposable copy of the data instead.
Original text from the vendor's CVE record.
Affected products and versions
CVSS vector, explained
CVSS:4.0/AV:L/AC:L/AT:N/PR:H/UI:N/VC:N/VI:N/VA:N/SC:N/SI:H/SA:H
- Attack vector
- Local
- Attack complexity
- Low
- Attack requirements
- None
- Privileges required
- Administrator
- User interaction
- Not required
- Confidentiality
- None
- Integrity
- None
- Availability
- None
Weakness type (CWE)
- CWE-367 Time-of-check Time-of-use (TOCTOU) Race Condition
- CWE-807 Reliance on Untrusted Inputs in a Security Decision
References
- github.com/nestybox/sysbox-fs/security/advisories/GHSA-j5mr-7rj2-7p5x vendor advisory
- docs.docker.com/desktop/enterprise/hardened-desktop/enhanced-container-isolation/#advanced
- docs.docker.com/desktop/release-notes/
Sources: CVE.org (CNA and CISA ADP), CISA KEV, FIRST EPSS. Always check the vendor's official advisory.