CVE-2023-30549
Unpatched extfs vulnerabilities are exploitable through suid-mode Apptainer
Also known as GHSA-j4rf-7357-f4cg, GO-2023-1738
Mitigation
- Upgrade github.com/apptainer/apptainer to 1.1.8 or later.
Who should check
- Projects that depend on Go package github.com/apptainer/apptainer (< 1.1.8)
- Anyone running apptainer < 1.1.8
Vulnerability facts
- Affected
- github.com/apptainer/apptainer < 1.1.8
- Fixed in
- 1.1.8
- Exploited in the wild
- Not in CISA KEV
- Public exploit / PoC
- None known
- Remote exploitation
- Not remotely exploitable (local or adjacent access needed)
- CVSS
- 7.1 (v3.1, CNA)CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:C/C:N/I:N/A:HOpen in CVSS calculator
Show all 8 CVSS metrics
- Attack vector: Local
- Attack complexity: Low
- Privileges required: None
- User interaction: None
- Scope: Changed (impact reaches other components)
- Confidentiality impact: None
- Integrity impact: None
- Availability impact: High
- EPSS
- 0.46% chance of exploitation in 30 days (percentile 32, 2026-11-26)
- CWE
- CWE-416
- Modified
Description
Apptainer 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.
Affected and fixed versions
| Package / product | Affected | Fixed | Source |
|---|---|---|---|
| Go github.com/apptainer/apptainer | < 1.1.8 | 1.1.8 | osv |
| apptainer | < 1.1.8 | — | cvelist |
Check your systems with an agent
Paste this into Claude Code, Cursor or another coding agent. It only reads; it changes nothing.
Check whether anything I run is affected by CVE-2023-30549. Work read-only: do not install, upgrade, delete or change anything. Details: https://flawdb.com/CVE-2023-30549.md Affected: github.com/apptainer/apptainer < 1.1.8 Fixed in: 1.1.8 Steps: 1. Search this machine and project for github.com/apptainer/apptainer (Go), apptainer: dependency manifests and lockfiles, installed packages, container images and running services. 2. For each match, note the installed version and whether it is inside the affected range. 3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
References
Vendor advisories
Patches
- https://github.com/apptainer/apptainer/commit/5a4964f5ba9c8d89a0e353b97f51fd607670a9f7
- https://github.com/torvalds/linux/commit/2220eaf90992c11d888fe771055d4de3303
- https://github.com/torvalds/linux/commit/4f04351888a83e595571de672e0a4a8b74f
- https://github.com/torvalds/linux/commit/61a1d87a324ad5e3ed27c6699dfc93218fcf3201
- https://github.com/torvalds/linux/commit/65f8ea4cd57dbd46ea13b41dc8bac03176b04233
Other
- https://access.redhat.com/security/cve/cve-2022-1184
- https://github.com/apptainer/apptainer/releases/tag/v1.1.8
- https://lwn.net/Articles/932136/
- https://lwn.net/Articles/932137/
- https://security-tracker.debian.org/tracker/CVE-2022-1184
- https://sylabs.io/2023/04/response-to-cve-2023-30549/
- https://ubuntu.com/security/CVE-2022-1184
- https://www.suse.com/security/cve/CVE-2022-1184.html
- https://security.gentoo.org/glsa/202311-13
- https://sylabs.io/2023/04/response-to-cve-2023-30549
- https://lwn.net/Articles/932137
- https://lwn.net/Articles/932136
- https://github.com/apptainer/apptainer
FAQ
Is CVE-2023-30549 being exploited?
There is no confirmed exploitation: CVE-2023-30549 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.46% chance of exploitation in the next 30 days (as of 2026-11-26).
How serious is CVE-2023-30549?
High: CVSS 7.1 (v3.1, scored by CNA). Not remotely exploitable (local or adjacent access needed).
Which versions are affected by CVE-2023-30549?
github.com/apptainer/apptainer < 1.1.8.
Is there a fix for CVE-2023-30549?
Yes. Fixed in 1.1.8. Upgrade github.com/apptainer/apptainer to 1.1.8 or later.
How do I check if I'm affected by CVE-2023-30549?
Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.