# CVE-2023-30549: Unpatched extfs vulnerabilities are exploitable through suid-mode Apptainer

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** HIGH 7.1
- **CVSS:** 7.1 (v3.1, CNA) `CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:C/C:N/I:N/A:H`
- **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
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Not remotely exploitable (local or adjacent access needed)
- **EPSS:** 0.46% (percentile 32, 2026-11-26)
- **CWE:** CWE-416
- **Aliases:** GHSA-j4rf-7357-f4cg, GO-2023-1738
- **Published:** 2023-04-25T00:00:00.000Z
- **Modified:** 2026-10-23T23:10:00.157Z

## Who should check

- Projects that depend on Go package github.com/apptainer/apptainer (\< 1.1.8)
- Anyone running apptainer \< 1.1.8

## 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

- Go `github.com/apptainer/apptainer`: affected \< 1.1.8; fixed 1.1.8 (osv)
- apptainer: \< 1.1.8 (cvelist)

## Mitigation

- Upgrade github.com/apptainer/apptainer to 1.1.8 or later.

## Check your systems with an agent

Paste this into a coding agent:

```text
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.
```

## 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.

## References

- vendor: <https://github.com/apptainer/apptainer/security/advisories/GHSA-j4rf-7357-f4cg>
- vendor: <https://nvd.nist.gov/vuln/detail/CVE-2022-1184>
- vendor: <https://nvd.nist.gov/vuln/detail/CVE-2023-30549>
- patch: <https://github.com/apptainer/apptainer/commit/5a4964f5ba9c8d89a0e353b97f51fd607670a9f7>
- patch: <https://github.com/torvalds/linux/commit/2220eaf90992c11d888fe771055d4de3303>
- patch: <https://github.com/torvalds/linux/commit/4f04351888a83e595571de672e0a4a8b74f>
- patch: <https://github.com/torvalds/linux/commit/61a1d87a324ad5e3ed27c6699dfc93218fcf3201>
- patch: <https://github.com/torvalds/linux/commit/65f8ea4cd57dbd46ea13b41dc8bac03176b04233>
- other: <https://access.redhat.com/security/cve/cve-2022-1184>
- other: <https://github.com/apptainer/apptainer/releases/tag/v1.1.8>
- other: <https://lwn.net/Articles/932136/>
- other: <https://lwn.net/Articles/932137/>
- other: <https://security-tracker.debian.org/tracker/CVE-2022-1184>
- other: <https://sylabs.io/2023/04/response-to-cve-2023-30549/>
- other: <https://ubuntu.com/security/CVE-2022-1184>
- other: <https://www.suse.com/security/cve/CVE-2022-1184.html>
- other: <https://security.gentoo.org/glsa/202311-13>
- other: <https://sylabs.io/2023/04/response-to-cve-2023-30549>
- other: <https://lwn.net/Articles/932137>
- other: <https://lwn.net/Articles/932136>
- other: <https://github.com/apptainer/apptainer>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2023-30549>
- OSV: CC-BY 4.0 <https://osv.dev/vulnerability/GHSA-j4rf-7357-f4cg> (license: <https://creativecommons.org/licenses/by/4.0/>)
- OSV: CC-BY 4.0 <https://osv.dev/vulnerability/GO-2023-1738> (license: <https://creativecommons.org/licenses/by/4.0/>)

HTML: <https://flawdb.com/CVE-2023-30549> · JSON: <https://flawdb.com/api/v1/entries/CVE-2023-30549>
