cve.bz

CVE-2023-30549 Use After Free

7.8 highEPSS 0.4%Fix available

High (7.8). EPSS 0.4% estimated probability of exploitation activity in the next 30 days. Fixed in github.com/apptainer/apptainer 1.1.8.

On this page
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.

Severity

CVSS 3.1

7.8 high
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
EPSS
0.4% (unchanged from 0.4% a week ago; 0.4% 30 days ago) estimated probability of exploitation activity in the next 30 days; 31st percentile. Scored 2026-11-15. A forecast for this CVE across the internet, not for your own systems.
CISA's assessment (SSVC)
Exploitation: none · Automatable: no · Technical impact: partial, assessed 2025-03-05. From CISA's Vulnrichment in the CVE List: whether it is exploited, whether exploiting it can be automated, and how much control it gives.
CWE
CWE-416 Use After Free
Published
Modified
NVD analysis
Analyzed, since modified
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2023-30549 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2023-30549?via=ask-ai-copy and https://cve.bz/cve/CVE-2023-30549?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2023-30549 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Badge for a README or a site

CVE-2023-30549

An image that stays current: it is drawn from the data each time it is fetched (a host that proxies images, as GitHub does, may show its copy for a while). Markdown:

[![CVE-2023-30549](https://cve.bz/cve/badge/CVE-2023-30549.svg)](https://cve.bz/cve/CVE-2023-30549)

HTML:

<a href="https://cve.bz/cve/CVE-2023-30549"><img src="https://cve.bz/cve/badge/CVE-2023-30549.svg" alt="CVE-2023-30549"></a>

Affected

Versions

From the NVD's CPE matches.

ProductAffected
lfprojects:apptainerbefore 1.1.8
redhat:enterprise_linux7.0

Packages (OSV)

AdvisoryEcosystemPackageAffectedFixed in
GHSA-j4rf-7357-f4cgGogithub.com/apptainer/apptainer<1.1.81.1.8
GO-2023-1738Gogithub.com/apptainer/apptainer<1.1.81.1.8

Linux distributions

DistributionReleasePackageFixed inAdvisory
Ubuntu25.10, 26.04:LTS, Pro:18.04:LTS and 1 moresingularity-containerno fix listedUBUNTU-CVE-2023-30549
SUSEPackage Hub 15 SP5apptainer1.3.0-bp155.3.3.2openSUSE-SU-2024:0244-1
SUSEPackage Hub 15 SP5squashfuse0.5.0-bp155.2.1openSUSE-SU-2024:0244-1
openSUSELeap 15.5apptainer1.3.0-bp155.3.3.2openSUSE-SU-2024:0244-1
openSUSELeap 15.5squashfuse0.5.0-bp155.2.1openSUSE-SU-2024:0244-1
openSUSETumbleweedapptainer1.1.8-1.1openSUSE-SU-2024:12894-1
Alpinev3.19, v3.20, v3.21 and 3 moreapptainer1.1.8-r0ALPINE-CVE-2023-30549

From the distributions' data via OSV.dev: Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0; SUSE security data, CC BY 4.0; the Alpine secdb, CC BY-SA 4.0. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Ubuntu · SUSE · openSUSE · Alpine.

References

Check your stackJSON