@yangzhao_kl ,@wuzeyi1 ,@macchen1 ,@wenwj0
issue处理注意事项:
1. 当前issue受影响的分支提交pr时, 须在pr描述中填写当前issue编号进行关联, 否则无法关闭当前issue;
2. 模板内容需要填写完整, 无论是受影响或者不受影响都需要填写完整内容,未引入的分支不需要填写, 否则无法关闭当前issue;
3. 以下为模板中需要填写完整的内容, 请复制到评论区回复, 注: 内容的标题名称(影响性分析说明, openEuler评分, 受影响版本排查(受影响/不受影响), 修复是否涉及abi变化(是/否))不能省略,省略后cve-manager将无法正常解析填写内容.
影响性分析说明:
openEuler评分: (评分和向量)
受影响版本排查(受影响/不受影响):
1.openEuler-20.03-LTS-SP1(3.3.4):
2.openEuler-20.03-LTS-SP3(3.3.4):
3.openEuler-20.03-LTS-SP4:
4.openEuler-22.03-LTS(3.3.4):
5.openEuler-22.03-LTS-SP1(3.3.4):
6.openEuler-22.03-LTS-SP2(3.3.4):
7.openEuler-22.03-LTS-SP3:
修复是否涉及abi变化(是/否):
1.openEuler-20.03-LTS-SP1(3.3.4):
2.openEuler-20.03-LTS-SP3(3.3.4):
3.openEuler-20.03-LTS-SP4:
4.openEuler-22.03-LTS(3.3.4):
5.openEuler-22.03-LTS-SP1(3.3.4):
6.openEuler-22.03-LTS-SP2(3.3.4):
7.openEuler-22.03-LTS-SP3:
issue处理具体操作请参考:
https://gitee.com/openeuler/cve-manager/blob/master/cve-vulner-manager/doc/md/manual.md
pr关联issue具体操作请参考:
https://gitee.com/help/articles/4142


| 参考网址 | 关联pr | 状态 | 补丁链接 |
|---|---|---|---|
| https://nvd.nist.gov/vuln/detail/CVE-2023-26031 | |||
| https://ubuntu.com/security/CVE-2023-26031 | None | None | https://discourse.ubuntu.com/c/ubuntu-pro |
| https://www.opencve.io/cve/CVE-2023-26031 | |||
| https://bugzilla.redhat.com/show_bug.cgi?id=CVE-2023-26031 | |||
| https://security-tracker.debian.org/tracker/CVE-2023-26031 |
说明:补丁链接仅供初步排查参考,实际可用性请人工再次确认,补丁下载验证可使用CVE补丁工具。
若补丁不准确,烦请在此issue下评论 '/report-patch 参考网址 补丁链接1,补丁链接2' 反馈正确信息,便于我们不断优化工具,不胜感激。
如 /report-patch https://security-tracker.debian.org/tracker/CVE-2021-3997 https://github.com/systemd/systemd/commit/5b1cf7a9be37e20133c0208005274ce4a5b5c6a1


需升级到3.3.5版本



影响性分析说明:
Apache Hadoop 3.3.1-3.3.4 中的linux container-executor二进制文件中存在权限提升漏洞,本地低权限用户可利用该漏洞获得 root 权限,3.3.5版本已修复该漏洞;
openEuler评分: (评分和向量)
6
Vector:CVSS:2.0/
受影响版本排查(受影响/不受影响):
1.openEuler-20.03-LTS-SP1(3.3.4):受影响
2.openEuler-20.03-LTS-SP3(3.3.4):受影响
3.openEuler-20.03-LTS-SP4:受影响
4.openEuler-22.03-LTS(3.3.4):受影响
5.openEuler-22.03-LTS-SP1(3.3.4):受影响
6.openEuler-22.03-LTS-SP2(3.3.4):受影响
7.openEuler-22.03-LTS-SP3:受影响
修复是否涉及abi变化(是/否):
1.openEuler-20.03-LTS-SP1(3.3.4):是
2.openEuler-20.03-LTS-SP3(3.3.4):是
3.openEuler-20.03-LTS-SP4:是
4.openEuler-22.03-LTS(3.3.4):是
5.openEuler-22.03-LTS-SP1(3.3.4):是
6.openEuler-22.03-LTS-SP2(3.3.4):是
7.openEuler-22.03-LTS-SP3:是


一、漏洞信息
漏洞编号:CVE-2023-26031
漏洞归属组件:hadoop
漏洞归属的版本:3.2.1,3.3.4,3.3.6
CVSS评分:
BaseScore:7.5 High
Vector:CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H
漏洞简述:
Relative library resolution in linux container-executor binary in Apache Hadoop 3.3.1-3.3.4 on Linux allows local user to gain root privileges. If the YARN cluster is accepting work from remote (authenticated) users, this MAY permit remote users to gain root privileges.Hadoop 3.3.0 updated the YARN Secure Containers https://hadoop.apache.org/docs/stable/hadoop-yarn/hadoop-yarn-site/SecureContainer.html to add a feature for executing user-submitted applications in isolated linux containers.The native binary HADOOP_HOME/bin/container-executor is used to launch these containers; it must be owned by root and have the suid bit set in order for the YARN processes to run the containers as the specific users submitting the jobs.The patch YARN-10495 https://issues.apache.org/jira/browse/YARN-10495 . make the rpath of container-executor configurable modified the library loading path for loading .so files from $ORIGIN/ to ORIGIN/:../lib/native/.Thisistheapaththroughwhichlibcrypto.soislocated.Thusitisispossibleforauserwithreducedprivilegestoinstallamaliciouslibcryptolibraryintoapathtowhichtheyhavewriteaccess,invokethecontainer−executorcommand,andhavetheirmodifiedlibraryexecutedasroot.IftheYARNclusterisacceptingworkfromremote(authenticated)users,andtheseuserssubmittedjobareexecutedinthephysicalhost,ratherthanacontainer,thentheCVEpermitsremoteuserstogainrootprivileges.Thefixforthevulnerabilityistorevertthechange,whichisdoneinYARN−11441https://issues.apache.org/jira/browse/YARN−11441,RevertYARN−10495.Thispatchisinhadoop−3.3.5.Todeterminewhetheraversionofcontainer−executorisvulnerable,usethereadelfcommand.IftheRUNPATHorRPATHvaluecontainstherelativepath./lib/native/thenitisatrisk readelf -d container-executor|grep RUNPATH |RPATH 0x000000000000001d (RUNPATH) Library runpath: [ORIGIN/:../lib/native/]Ifitdoesnot,thenitissafe: readelf -d container-executor|grep RUNPATH |RPATH 0x000000000000001d (RUNPATH) Library runpath: [ORIGIN/]Foranat−riskversionofcontainer−executortoenableprivilegeescalation,theownermustberootandthesuidbitmustbeset ls -laF /opt/hadoop/bin/container-executor---Sr-s---. 1 root hadoop 802968 May 9 20:21 /opt/hadoop/bin/container-executorA safe installation lacks the suid bit; ideally is also not owned by root.$ ls -laF /opt/hadoop/bin/container-executor-rwxr-xr-x. 1 yarn hadoop 802968 May 9 20:21 /opt/hadoop/bin/container-executorThis configuration does not support Yarn Secure Containers, but all other hadoop services, including YARN job execution outside secure containers continue to work.
漏洞公开时间:2023-11-16 17:15:06
漏洞创建时间:2025-03-04 11:13:06
漏洞详情参考链接:
https://nvd.nist.gov/vuln/detail/CVE-2023-26031
更多参考(点击展开)
漏洞分析指导链接:
https://atomgit.com/openeuler/cve-manager/blob/master/cve-vulner-manager/doc/md/manual.md
漏洞数据来源:
其他
漏洞补丁信息:
详情(点击展开)
二、漏洞分析结构反馈
影响性分析说明:
openEuler评分:
7.5
Vector:CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H
受影响版本排查(受影响/不受影响):
1.master(3.3.6):
2.openEuler-20.03-LTS-SP4(3.3.6):
3.openEuler-22.03-LTS-SP3(3.3.6):
4.openEuler-22.03-LTS-SP4(3.3.6):
5.openEuler-24.03-LTS(3.3.6):
6.openEuler-24.03-LTS-Next(3.3.6):
7.openEuler-24.03-LTS-SP1(3.3.6):
8.openEuler-24.03-LTS-SP2(3.3.6):
修复是否涉及abi变化(是/否):
1.master(3.3.6):
2.openEuler-20.03-LTS-SP4(3.3.6):
3.openEuler-22.03-LTS-SP3(3.3.6):
4.openEuler-22.03-LTS-SP4(3.3.6):
5.openEuler-24.03-LTS(3.3.6):
6.openEuler-24.03-LTS-Next(3.3.6):
7.openEuler-24.03-LTS-SP1(3.3.6):
8.openEuler-24.03-LTS-SP2(3.3.6):
原因说明:
1.master(3.3.6):
2.openEuler-20.03-LTS-SP4(3.3.6):
3.openEuler-22.03-LTS-SP3(3.3.6):
4.openEuler-22.03-LTS-SP4(3.3.6):
5.openEuler-24.03-LTS(3.3.6):
6.openEuler-24.03-LTS-Next(3.3.6):
7.openEuler-24.03-LTS-SP1(3.3.6):
8.openEuler-24.03-LTS-SP2(3.3.6):