CVE-2023-30549

Summary

CVECVE-2023-30549
StatePUBLIC
Assigner[email protected]
Source PriorityCVE Program / NVD first with legacy fallback
Published2023-04-25 21:15:00 UTC
Updated2023-11-25 12:15:00 UTC
DescriptionApptainer is an open source container platform for Linux. There is an ext4 use-after-free flaw that is exploitable through versions of Apptainer < 1.1.0 and installations that include apptainer-suid < 1.1.8 on older operating systems where that CVE has not been patched. That includes Red Hat Enterprise Linux 7, Debian 10 buster (unless the linux-5.10 package is installed), Ubuntu 18.04 bionic and Ubuntu 20.04 focal. Use-after-free flaws in the kernel can be used to attack the kernel for denial of service and potentially for privilege escalation. Apptainer 1.1.8 includes a patch that by default disables mounting of extfs filesystem types in setuid-root mode, while continuing to allow mounting of extfs filesystems in non-setuid "rootless" mode using fuse2fs. Some workarounds are possible. Either do not install apptainer-suid (for versions 1.1.0 through 1.1.7) or set `allow setuid = no` in apptainer.conf. This requires having unprivileged user namespaces enabled and except for apptainer 1.1.x versions will disallow mounting of sif files, extfs files, and squashfs files in addition to other, less significant impacts. (Encrypted sif files are also not supported unprivileged in apptainer 1.1.x.). Alternatively, use the `limit containers` options in apptainer.conf/singularity.conf to limit sif files to trusted users, groups, and/or paths, and set `allow container extfs = no` to disallow mounting of extfs overlay files. The latter option by itself does not disallow mounting of extfs overlay partitions inside SIF files, so that's why the former options are also needed.

Risk And Classification

Problem Types: CWE-416

NVD Known Affected Configurations (CPE 2.3)

TypeVendorProductVersionUpdateEditionLanguage
Application Lfprojects Apptainer All All All All
Operating System Redhat Enterprise Linux 7.0 All All All
Application Sylabs Singularity All All All All

References

ReferenceSourceLinkTags
Apptainer: Privilege Escalation (GLSA 202311-13) — Gentoo security security.gentoo.org
Linux 4.19.283 [LWN.net] MISC lwn.net
Release Apptainer 1.1.8 · apptainer/apptainer · GitHub MISC github.com
Response to CVE-2023-30549 | Sylabs MISC sylabs.io
ext4: avoid a potential slab-out-of-bounds in ext4_group_desc_csum · torvalds/linux@4f04351 · GitHub MISC github.com
An unpatched ext4 vulnerability is exploitable through setuid-mode Apptainer and Singularity · Advisory · apptainer/apptainer · GitHub MISC github.com
Merge pull request from GHSA-j4rf-7357-f4cg · apptainer/apptainer@5a4964f · GitHub MISC github.com
CVE-2022-1184 | SUSE MISC www.suse.com
CVE-2022-1184 MISC security-tracker.debian.org
Linux 5.4.243 [LWN.net] MISC lwn.net
ext4: add bounds checking in get_max_inline_xattr_value_size() · torvalds/linux@2220eaf · GitHub MISC github.com
CVE-2022-1184 | Ubuntu MISC ubuntu.com
Red Hat Customer Portal - Access to 24x7 support and knowledge MISC access.redhat.com
CVE Program record CVE.ORG www.cve.org canonical
NVD vulnerability detail NVD nvd.nist.gov canonical, analysis

Legacy QID Mappings

  • 505984 Alpine Linux Security Update for apptainer
  • 710792 Gentoo Linux Apptainer Privilege Escalation Vulnerability (GLSA 202311-13)
© CVE.report 2026 |

Use of this information constitutes acceptance for use in an AS IS condition. There are NO warranties, implied or otherwise, with regard to this information or its use. Any use of this information is at the user's risk. It is the responsibility of user to evaluate the accuracy, completeness or usefulness of any information, opinion, advice or other content. EACH USER WILL BE SOLELY RESPONSIBLE FOR ANY consequences of his or her direct or indirect use of this web site. ALL WARRANTIES OF ANY KIND ARE EXPRESSLY DISCLAIMED. This site will NOT BE LIABLE FOR ANY DIRECT, INDIRECT or any other kind of loss.

CVE, CWE, and OVAL are registred trademarks of The MITRE Corporation and the authoritative source of CVE content is MITRE's CVE web site. This site includes MITRE data granted under the following license.

Free CVE JSON API cve.report/api

CVE.report and Source URL Uptime Status status.cve.report