已开启
CVE-2023-30549 #4
AtomGit-Bot创建于  2023年5月6日
AtomGit-Bot
2023年5月6日 创建

一、漏洞信息
漏洞编号:CVE-2023-30549
漏洞归属组件:apptainer
漏洞归属的版本:1.1.6
CVSS V3.0分值:
BaseScore:7.8 High
Vector:CVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
漏洞简述:
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.
漏洞公开时间:2023-04-26 05:15:10
漏洞创建时间:2023-05-27 00:29:59
漏洞详情参考链接:
https://nvd.nist.gov/vuln/detail/CVE-2023-30549

更多参考(点击展开)
参考来源 参考链接 来源链接
security-advisories.github.com https://access.redhat.com/security/cve/cve-2022-1184
security-advisories.github.com https://github.com/apptainer/apptainer/commit/5a4964f5ba9c8d89a0e353b97f51fd607670a9f7
security-advisories.github.com https://github.com/apptainer/apptainer/releases/tag/v1.1.8
security-advisories.github.com https://github.com/apptainer/apptainer/security/advisories/GHSA-j4rf-7357-f4cg
security-advisories.github.com https://github.com/torvalds/linux/commit/2220eaf90992c11d888fe771055d4de3303
security-advisories.github.com https://github.com/torvalds/linux/commit/4f04351888a83e595571de672e0a4a8b74f
security-advisories.github.com https://lwn.net/Articles/932136/
security-advisories.github.com https://lwn.net/Articles/932137/
security-advisories.github.com https://security-tracker.debian.org/tracker/CVE-2022-1184
security-advisories.github.com https://security.gentoo.org/glsa/202311-13
security-advisories.github.com https://sylabs.io/2023/04/response-to-cve-2023-30549/
security-advisories.github.com https://ubuntu.com/security/CVE-2022-1184
security-advisories.github.com https://www.suse.com/security/cve/CVE-2022-1184.html
suse_bugzilla http://web.nvd.nist.gov/view/vuln/detail?vulnId=CVE-2023-30549 https://bugzilla.suse.com/show_bug.cgi?id=1210859
suse_bugzilla https://www.cve.org/CVERecord?id=CVE-2023-30549 https://bugzilla.suse.com/show_bug.cgi?id=1210859
suse_bugzilla https://security-tracker.debian.org/tracker/CVE-2022-1184 https://bugzilla.suse.com/show_bug.cgi?id=1210859
suse_bugzilla https://ubuntu.com/security/CVE-2022-1184 https://bugzilla.suse.com/show_bug.cgi?id=1210859
suse_bugzilla https://access.redhat.com/security/cve/cve-2022-1184 https://bugzilla.suse.com/show_bug.cgi?id=1210859
suse_bugzilla https://github.com/apptainer/apptainer/commit/5a4964f5ba9c8d89a0e353b97f51fd607670a9f7 https://bugzilla.suse.com/show_bug.cgi?id=1210859
suse_bugzilla https://github.com/apptainer/apptainer/releases/tag/v1.1.8 https://bugzilla.suse.com/show_bug.cgi?id=1210859
suse_bugzilla https://github.com/apptainer/apptainer/security/advisories/GHSA-j4rf-7357-f4cg https://bugzilla.suse.com/show_bug.cgi?id=1210859
suse_bugzilla https://www.suse.com/security/cve/CVE-2022-1184.html https://bugzilla.suse.com/show_bug.cgi?id=1210859
redhat_bugzilla https://github.com/apptainer/apptainer/security/advisories/GHSA-j4rf-7357-f4cg https://bugzilla.redhat.com/show_bug.cgi?id=2189896
redhat_bugzilla https://github.com/apptainer/apptainer/commit/5a4964f5ba9c8d89a0e353b97f51fd607670a9f7 https://bugzilla.redhat.com/show_bug.cgi?id=2189896
redhat_bugzilla https://security-tracker.debian.org/tracker/CVE-2022-1184 https://bugzilla.redhat.com/show_bug.cgi?id=2189896
redhat_bugzilla https://github.com/apptainer/apptainer/releases/tag/v1.1.8 https://bugzilla.redhat.com/show_bug.cgi?id=2189896
debian https://security-tracker.debian.org/tracker/CVE-2023-30549
gentoo https://security.gentoo.org/glsa/202311-13
cve_search https://access.redhat.com/security/cve/cve-2022-1184
cve_search https://www.suse.com/security/cve/CVE-2022-1184.html
cve_search https://ubuntu.com/security/CVE-2022-1184
cve_search https://github.com/apptainer/apptainer/security/advisories/GHSA-j4rf-7357-f4cg
cve_search https://github.com/apptainer/apptainer/commit/5a4964f5ba9c8d89a0e353b97f51fd607670a9f7
cve_search https://security-tracker.debian.org/tracker/CVE-2022-1184
cve_search https://github.com/apptainer/apptainer/releases/tag/v1.1.8
cve_search https://github.com/torvalds/linux/commit/4f04351888a83e595571de672e0a4a8b74f
cve_search https://lwn.net/Articles/932136/
cve_search https://lwn.net/Articles/932137/
cve_search https://github.com/torvalds/linux/commit/2220eaf90992c11d888fe771055d4de3303
cve_search https://sylabs.io/2023/04/response-to-cve-2023-30549/
github_advisory https://nvd.nist.gov/vuln/detail/CVE-2022-1184 https://github.com/advisories/GHSA-j4rf-7357-f4cg
github_advisory https://github.com/apptainer/apptainer/releases/tag/v1.1.8 https://github.com/advisories/GHSA-j4rf-7357-f4cg
github_advisory https://github.com/apptainer/apptainer/commit/5a4964f5ba9c8d89a0e353b97f51fd607670a9f7 https://github.com/advisories/GHSA-j4rf-7357-f4cg
github_advisory https://github.com/torvalds/linux/commit/61a1d87a324ad5e3ed27c6699dfc93218fcf3201 https://github.com/advisories/GHSA-j4rf-7357-f4cg
github_advisory https://github.com/apptainer/apptainer/security/advisories/GHSA-j4rf-7357-f4cg https://github.com/advisories/GHSA-j4rf-7357-f4cg
github_advisory https://ubuntu.com/security/CVE-2022-1184 https://github.com/advisories/GHSA-j4rf-7357-f4cg
github_advisory https://nvd.nist.gov/vuln/detail/CVE-2023-30549 https://github.com/advisories/GHSA-j4rf-7357-f4cg
github_advisory https://security-tracker.debian.org/tracker/CVE-2022-1184 https://github.com/advisories/GHSA-j4rf-7357-f4cg
github_advisory https://github.com/torvalds/linux/commit/65f8ea4cd57dbd46ea13b41dc8bac03176b04233 https://github.com/advisories/GHSA-j4rf-7357-f4cg
github_advisory https://access.redhat.com/security/cve/cve-2022-1184 https://github.com/advisories/GHSA-j4rf-7357-f4cg
github_advisory https://www.suse.com/security/cve/CVE-2022-1184.html https://github.com/advisories/GHSA-j4rf-7357-f4cg
go https://github.com/apptainer/apptainer/security/advisories/GHSA-j4rf-7357-f4cg https://github.com/golang/vulndb/blob/master/reports/GO-2023-1738.yaml
go https://nvd.nist.gov/vuln/detail/CVE-2023-30549 https://github.com/golang/vulndb/blob/master/reports/GO-2023-1738.yaml
go https://github.com/apptainer/apptainer/commit/5a4964f5ba9c8d89a0e353b97f51fd607670a9f7 https://github.com/golang/vulndb/blob/master/reports/GO-2023-1738.yaml
go https://access.redhat.com/security/cve/cve-2022-1184 https://github.com/golang/vulndb/blob/master/reports/GO-2023-1738.yaml
go https://github.com/apptainer/apptainer/releases/tag/v1.1.8 https://github.com/golang/vulndb/blob/master/reports/GO-2023-1738.yaml
go https://github.com/torvalds/linux/commit/2220eaf90992c11d888fe771055d4de3303 https://github.com/golang/vulndb/blob/master/reports/GO-2023-1738.yaml
go https://github.com/torvalds/linux/commit/4f04351888a83e595571de672e0a4a8b74f https://github.com/golang/vulndb/blob/master/reports/GO-2023-1738.yaml
go https://github.com/torvalds/linux/commit/61a1d87a324ad5e3ed27c6699dfc93218fcf3201 https://github.com/golang/vulndb/blob/master/reports/GO-2023-1738.yaml
go https://github.com/torvalds/linux/commit/65f8ea4cd57dbd46ea13b41dc8bac03176b04233 https://github.com/golang/vulndb/blob/master/reports/GO-2023-1738.yaml
go https://lwn.net/Articles/932136 https://github.com/golang/vulndb/blob/master/reports/GO-2023-1738.yaml
go https://lwn.net/Articles/932137 https://github.com/golang/vulndb/blob/master/reports/GO-2023-1738.yaml
go https://nvd.nist.gov/vuln/detail/CVE-2022-1184 https://github.com/golang/vulndb/blob/master/reports/GO-2023-1738.yaml
go https://security-tracker.debian.org/tracker/CVE-2022-1184 https://github.com/golang/vulndb/blob/master/reports/GO-2023-1738.yaml
go https://security.gentoo.org/glsa/202311-13 https://github.com/golang/vulndb/blob/master/reports/GO-2023-1738.yaml
go https://sylabs.io/2023/04/response-to-cve-2023-30549 https://github.com/golang/vulndb/blob/master/reports/GO-2023-1738.yaml
go https://ubuntu.com/security/CVE-2022-1184 https://github.com/golang/vulndb/blob/master/reports/GO-2023-1738.yaml
go https://www.suse.com/security/cve/CVE-2022-1184.html https://github.com/golang/vulndb/blob/master/reports/GO-2023-1738.yaml
osv https://github.com/apptainer/apptainer/security/advisories/GHSA-j4rf-7357-f4cg https://osv.dev/vulnerability/CVE-2023-30549
osv https://security.gentoo.org/glsa/202311-13 https://osv.dev/vulnerability/CVE-2023-30549
osv https://github.com/apptainer/apptainer/commit/5a4964f5ba9c8d89a0e353b97f51fd607670a9f7 https://osv.dev/vulnerability/CVE-2023-30549
osv https://github.com/torvalds/linux/commit/2220eaf90992c11d888fe771055d4de3303 https://osv.dev/vulnerability/CVE-2023-30549
osv https://github.com/torvalds/linux/commit/4f04351888a83e595571de672e0a4a8b74f https://osv.dev/vulnerability/CVE-2023-30549
osv https://access.redhat.com/security/cve/cve-2022-1184 https://osv.dev/vulnerability/CVE-2023-30549
osv https://github.com/apptainer/apptainer/releases/tag/v1.1.8 https://osv.dev/vulnerability/CVE-2023-30549
osv https://lwn.net/Articles/932136/ https://osv.dev/vulnerability/CVE-2023-30549
osv https://lwn.net/Articles/932137/ https://osv.dev/vulnerability/CVE-2023-30549
osv https://security-tracker.debian.org/tracker/CVE-2022-1184 https://osv.dev/vulnerability/CVE-2023-30549
osv https://sylabs.io/2023/04/response-to-cve-2023-30549/ https://osv.dev/vulnerability/CVE-2023-30549
osv https://ubuntu.com/security/CVE-2022-1184 https://osv.dev/vulnerability/CVE-2023-30549
osv https://www.suse.com/security/cve/CVE-2022-1184.html https://osv.dev/vulnerability/CVE-2023-30549
snyk https://github.com/apptainer/apptainer/commit/5a4964f5ba9c8d89a0e353b97f51fd607670a9f7 https://security.snyk.io/vuln/SNYK-GOLANG-GITHUBCOMAPPTAINERAPPTAINERE2E-5461994
snyk https://github.com/apptainer/apptainer/releases/tag/v1.1.8 https://security.snyk.io/vuln/SNYK-GOLANG-GITHUBCOMAPPTAINERAPPTAINERE2E-5461994
snyk https://github.com/apptainer/apptainer/commit/5a4964f5ba9c8d89a0e353b97f51fd607670a9f7 https://security.snyk.io/vuln/SNYK-GOLANG-GITHUBCOMAPPTAINERAPPTAINERINTERNALPKGRUNTIMEENGINE-5461995
snyk https://github.com/apptainer/apptainer/releases/tag/v1.1.8 https://security.snyk.io/vuln/SNYK-GOLANG-GITHUBCOMAPPTAINERAPPTAINERINTERNALPKGRUNTIMEENGINE-5461995
snyk https://github.com/apptainer/apptainer/commit/5a4964f5ba9c8d89a0e353b97f51fd607670a9f7 https://security.snyk.io/vuln/SNYK-GOLANG-GITHUBCOMAPPTAINERAPPTAINERPKGUTILAPPTAINERCONF-5461996
snyk https://github.com/apptainer/apptainer/releases/tag/v1.1.8 https://security.snyk.io/vuln/SNYK-GOLANG-GITHUBCOMAPPTAINERAPPTAINERPKGUTILAPPTAINERCONF-5461996
snyk https://github.com/apptainer/apptainer/commit/5a4964f5ba9c8d89a0e353b97f51fd607670a9f7 https://security.snyk.io/vuln/SNYK-GOLANG-GITHUBCOMAPPTAINERAPPTAINERSCRIPTS-5461997
snyk https://github.com/apptainer/apptainer/releases/tag/v1.1.8 https://security.snyk.io/vuln/SNYK-GOLANG-GITHUBCOMAPPTAINERAPPTAINERSCRIPTS-5461997

漏洞分析指导链接:
https://gitee.com/openeuler/cve-manager/blob/master/cve-vulner-manager/doc/md/manual.md
漏洞数据来源:
openBrain开源漏洞感知系统
漏洞补丁信息:

详情(点击展开)
影响的包 修复版本 修复补丁 问题引入补丁 来源
https://github.com/apptainer/apptainer/commit/5a4964f5ba9c8d89a0e353b97f51fd607670a9f7 security-advisories.github.com
https://github.com/torvalds/linux/commit/2220eaf90992c11d888fe771055d4de3303 security-advisories.github.com
https://github.com/torvalds/linux/commit/4f04351888a83e595571de672e0a4a8b74f security-advisories.github.com
https://github.com/apptainer/apptainer/commit/5a4964f5ba9c8d89a0e353b97f51fd607670a9f7 suse_bugzilla
https://github.com/apptainer/apptainer/commit/5a4964f5ba9c8d89a0e353b97f51fd607670a9f7 redhat_bugzilla
https://github.com/apptainer/apptainer/commit/5a4964f5ba9c8d89a0e353b97f51fd607670a9f7 github_advisory
https://github.com/torvalds/linux/commit/61a1d87a324ad5e3ed27c6699dfc93218fcf3201 github_advisory
https://github.com/torvalds/linux/commit/65f8ea4cd57dbd46ea13b41dc8bac03176b04233 github_advisory
https://github.com/apptainer/apptainer/commit/5a4964f5ba9c8d89a0e353b97f51fd607670a9f7 go
https://github.com/torvalds/linux/commit/2220eaf90992c11d888fe771055d4de3303 go
https://github.com/torvalds/linux/commit/4f04351888a83e595571de672e0a4a8b74f go
https://github.com/torvalds/linux/commit/61a1d87a324ad5e3ed27c6699dfc93218fcf3201 go
https://github.com/torvalds/linux/commit/65f8ea4cd57dbd46ea13b41dc8bac03176b04233 go
https://github.com/apptainer/apptainer/commit/5a4964f5ba9c8d89a0e353b97f51fd607670a9f7 osv
https://github.com/torvalds/linux/commit/2220eaf90992c11d888fe771055d4de3303 osv
https://github.com/torvalds/linux/commit/4f04351888a83e595571de672e0a4a8b74f osv
https://github.com/apptainer/apptainer/commit/5a4964f5ba9c8d89a0e353b97f51fd607670a9f7 snyk
https://access.redhat.com/security/cve/cve-2022-1184 nvd
https://github.com/apptainer/apptainer/commit/5a4964f5ba9c8d89a0e353b97f51fd607670a9f7 nvd
https://github.com/apptainer/apptainer/releases/tag/v1.1.8 nvd
https://github.com/apptainer/apptainer/security/advisories/GHSA-j4rf-7357-f4cg nvd
https://security-tracker.debian.org/tracker/CVE-2022-1184 nvd
https://ubuntu.com/security/CVE-2022-1184 nvd
https://www.suse.com/security/cve/CVE-2022-1184.html nvd

二、漏洞分析结构反馈
影响性分析说明:

openEuler评分:
7.8
Vector:CVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
受影响版本排查(受影响/不受影响):
2.openEuler-24.03-LTS(1.1.6):
3.master(1.1.6):
4.openEuler-22.03-LTS-SP4(1.1.6):
5.openEuler-24.03-LTS-SP2(1.1.6):

修复是否涉及abi变化(是/否):
2.openEuler-24.03-LTS(1.1.6):
3.master(1.1.6):
4.openEuler-22.03-LTS-SP4(1.1.6):
5.openEuler-24.03-LTS-SP2(1.1.6):

原因说明:
1.master(1.1.6):
2.openEuler-20.03-LTS-SP4:
3.openEuler-22.03-LTS-SP3(1.1.6):
4.openEuler-22.03-LTS-SP4(1.1.6):
5.openEuler-24.03-LTS(1.1.6):
6.openEuler-24.03-LTS-Next(1.1.6):
7.openEuler-24.03-LTS-SP1(1.1.6):
8.openEuler-24.03-LTS-SP2(1.1.6):

likedislike
openeuler-ci-bot
openeuler-ci-bot成员
2023年5月6日 评论:

Hi openMajun_admin, welcome to the openEuler Community.
I'm the Bot here serving you. You can find the instructions on how to interact with me at Here.
If you have any questions, please contact the SIG: sig-HPC, and any of the maintainers: @iotwins , @luyao201 , @hejiancong557 , @openeuler-ci-bot

likedislike
openeuler-ci-bot
openeuler-ci-bot成员
2023年5月6日 评论:

@iotwins ,@luyao201 ,@hejiancong557
issue处理注意事项:
1. 当前issue受影响的分支提交pr时, 须在pr描述中填写当前issue编号进行关联, 否则无法关闭当前issue;
2. 模板内容需要填写完整, 无论是受影响或者不受影响都需要填写完整内容,未引入的分支不需要填写, 否则无法关闭当前issue;
3. 以下为模板中需要填写完整的内容, 请复制到评论区回复, 注: 内容的标题名称(影响性分析说明, openEuler评分, 受影响版本排查(受影响/不受影响), 修复是否涉及abi变化(是/否))不能省略,省略后cve-manager将无法正常解析填写内容.


影响性分析说明:

openEuler评分: (评分和向量)

受影响版本排查(受影响/不受影响):
1.openEuler-20.03-LTS-SP1:
2.openEuler-20.03-LTS-SP3:
3.openEuler-22.03-LTS(1.1.6):
4.openEuler-22.03-LTS-SP1(1.1.6):

修复是否涉及abi变化(是/否):
1.openEuler-20.03-LTS-SP1:
2.openEuler-20.03-LTS-SP3:
3.openEuler-22.03-LTS(1.1.6):
4.openEuler-22.03-LTS-SP1(1.1.6):


issue处理具体操作请参考:
https://gitee.com/openeuler/cve-manager/blob/master/cve-vulner-manager/doc/md/manual.md
pr关联issue具体操作请参考:
https://gitee.com/help/articles/4142

likedislike
openeuler-ci-bot
openeuler-ci-bot成员
2023年5月6日 评论:
参考网址 关联pr 状态 补丁链接
https://nvd.nist.gov/vuln/detail/CVE-2023-30549NoneNonehttps://github.com/apptainer/apptainer/commit/5a4964f5ba9c8d89a0e353b97f51fd607670a9f7
https://ubuntu.com/security/CVE-2023-30549NoneNonehttps://github.com/apptainer/apptainer/commit/5a4964f5ba9c8d89a0e353b97f51fd607670a9f7
https://discourse.ubuntu.com/c/ubuntu-pro
https://www.opencve.io/cve/CVE-2023-30549NoneNonehttps://github.com/apptainer/apptainer/commit/5a4964f5ba9c8d89a0e353b97f51fd607670a9f7
https://bugzilla.redhat.com/show_bug.cgi?id=CVE-2023-30549NoneNonehttps://github.com/apptainer/apptainer/commit/5a4964f5ba9c8d89a0e353b97f51fd607670a9f7
https://security-tracker.debian.org/tracker/CVE-2023-30549
http://www.cnnvd.org.cn/web/vulnerability/queryLds.tag?qcvCnnvdid=CVE-2023-30549

说明:补丁链接仅供初步排查参考,实际可用性请人工再次确认,补丁下载验证可使用CVE补丁工具。
若补丁不准确,烦请在此issue下评论 '/report-patch 参考网址 补丁链接1,补丁链接2' 反馈正确信息,便于我们不断优化工具,不胜感激。
如 /report-patch https://security-tracker.debian.org/tracker/CVE-2021-3997 https://github.com/systemd/systemd/commit/5b1cf7a9be37e20133c0208005274ce4a5b5c6a1

likedislike
openeuler-ci-botopeneuler-ci-bot成员
2024年7月8日 修改了描述
openeuler-ci-botopeneuler-ci-bot成员
2024年7月15日 修改了描述
此处折叠了675条消息 查看更多
chenyanpan
1月30日 评论:

❌ 自动修复失败

错误信息

应用 patch 失败: name 're' is not defined

需要人工介入处理。


由 openEuler Fixer 自动处理

likedislike
chenyanpan
1月30日 评论:

✅ 自动修复完成

分析结果

  • 根因: Apptainer 存在一个使用后释放(use-after-free)漏洞,当使用 ext4 文件系统时,如果未正确处理文件释放,攻击者可能利用该漏洞。
  • 漏洞类型: 使用后释放(Use-After-Free)
  • 严重程度: High

修复信息

  • 提交: 19e3eb91
  • 受影响文件: 4 个

由 openEuler Fixer 自动处理

likedislike
chenyanpan
1月30日 评论:

✅ 自动修复完成

分析结果

  • 根因: Apptainer 存在一个使用后释放(use-after-free)漏洞,当使用 ext4 文件系统时,如果未正确处理文件句柄,可能导致攻击者利用该漏洞进行拒绝服务攻击或权限提升。
  • 漏洞类型: Use-After-Free
  • 严重程度: High

修复信息

  • 提交: e9e9b30c
  • 受影响文件: 4 个

由 openEuler Fixer 自动处理

likedislike
Bbyj0
5月27日 关联了pull request:Fix CVE-2023-30549
Bbyj0
5月27日 关联了pull request:Fix CVE-2023-30549