已开启
CVE-2022-31777 #16
AtomGit-Bot创建于  2022年12月26日
AtomGit-Bot
2022年12月26日 创建

一、漏洞信息
漏洞编号:CVE-2022-31777
漏洞归属组件:spark
漏洞归属的版本:3.0.1,3.2.0,3.2.2,3.5.0
CVSS评分:
BaseScore:5.4 Medium
Vector:CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N
漏洞简述:
A stored cross-site scripting (XSS) vulnerability in Apache Spark 3.2.1 and earlier, and 3.3.0, allows remote attackers to execute arbitrary JavaScript in the web browser of a user, by including a malicious payload into the logs which would be returned in logs rendered in the UI.
漏洞公开时间:2022-11-02 00:15:13
漏洞创建时间:2022-12-26 02:57:55
漏洞详情参考链接:
https://nvd.nist.gov/vuln/detail/CVE-2022-31777

更多参考(点击展开)
参考来源 参考链接 来源链接
https://github.com/apache/spark/pull/36902
https://nvd.nist.gov/vuln/detail/CVE-2022-31777
https://web.archive.org/web/20220728105026/https://issues.apache.org/jira/browse/SPARK-39505
https://github.com/pypa/advisory-database/tree/main/vulns/pyspark/PYSEC-2022-42976.yaml
https://github.com/apache/spark/commit/37dbf1cc99ab888342d04b0bf41619ff597ddab9
https://github.com/apache/spark/commit/ad90195de56688ce0898691eb9d04297ab0871ad
https://www.oracle.com/security-alerts/cpujul2023.html
https://github.com/advisories/GHSA-43xg-8wmj-cw8h
https://cxsecurity.com/cveshow/CVE-2022-31777/
https://lists.apache.org/thread/60mgbswq2lsmrxykfxpqq13ztkm2ht6q
https://github.com/apache/spark/commit/14bc8ec1d0ce5fcafd6b85b02cba2a4880b6a41d
https://github.com/apache/spark
https://github.com/apache/spark/commit/78a5825fe266c0884d2dd18cbca9625fa258d7f7
https://issues.apache.org/jira/browse/SPARK-39505
https://bugzilla.redhat.com/show_bug.cgi?id=2145264
https://github.com/apache/spark/commit/07edae97342ae3095b370a3f780b61c94241e771
http://www.openwall.com/lists/oss-security/2022/11/01/14
https://www.cve.org/CVERecord?id=CVE-2022-31777

漏洞分析指导链接:
https://atomgit.com/openeuler/cve-manager/blob/master/cve-vulner-manager/doc/md/manual.md
漏洞数据来源:
其他
漏洞补丁信息:

详情(点击展开)
影响的包 修复版本 修复补丁 问题引入补丁 来源
apache/spark https://github.com/apache/spark/commit/07edae97342ae3095b370a3f780b61c94241e771.patch ljqc
https://github.com/apache/spark/pull/36902 snyk
https://github.com/apache/spark/commit/37dbf1cc99ab888342d04b0bf41619ff597ddab9 snyk
https://github.com/apache/spark/commit/ad90195de56688ce0898691eb9d04297ab0871ad github_advisory
https://github.com/apache/spark/commit/14bc8ec1d0ce5fcafd6b85b02cba2a4880b6a41d snyk
https://github.com/apache/spark/commit/78a5825fe266c0884d2dd18cbca9625fa258d7f7 ljqc
https://github.com/apache/spark/commit/07edae97342ae3095b370a3f780b61c94241e771 snyk

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

openEuler评分:
5.4
Vector:CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N
受影响版本排查(受影响/不受影响):
1.openEuler-20.03-LTS-SP1(3.2.2):
2.openEuler-20.03-LTS-SP3(3.2.0):
3.openEuler-22.03-LTS(3.2.2):
4.openEuler-22.03-LTS-SP1(3.2.2):
5.openEuler-24.03-LTS(3.5.0):
6.openEuler-24.03-LTS-Next(3.5.0):
7.openEuler-22.03-LTS-SP4(3.2.2):
8.master(3.5.0):
9.openEuler-24.03-LTS-SP2(3.5.0):

修复是否涉及abi变化(是/否):
1.openEuler-20.03-LTS-SP1(3.2.2):
2.openEuler-20.03-LTS-SP3(3.2.0):
3.openEuler-22.03-LTS(3.2.2):
4.openEuler-22.03-LTS-SP1(3.2.2):
5.openEuler-24.03-LTS(3.5.0):
6.openEuler-24.03-LTS-Next(3.5.0):
7.openEuler-22.03-LTS-SP4(3.2.2):
8.master(3.5.0):
9.openEuler-24.03-LTS-SP2(3.5.0):

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

likedislike
AAtomGit-Bot
2022年12月26日 添加了   CVE/UNFIXED 标签
AAtomGit-Bot
2022年12月26日 创建了CVE和安全问题
AtomGit-Bot
2022年12月26日 评论:

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


影响性分析说明:

openEuler评分: (评分和向量)

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

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


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成员
2022年12月26日 评论:

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: bigdata, and any of the maintainers: @yangzhao_kl , @wuzeyi1 , @macchen1 , @my_code_x

likedislike
openeuler-ci-botopeneuler-ci-bot成员
2023年6月14日 修改了描述
此处折叠了115条消息 查看更多
openeuler-ci-botopeneuler-ci-bot成员
2月6日 将 macchen1 设为负责人,移除负责人 yangzhao_kl
openeuler-ci-botopeneuler-ci-bot成员
4月30日 修改了issue 的描述
openeuler-ci-botopeneuler-ci-bot成员
5月1日 修改了issue 的描述
Cchenyanpan
8月17日 关联了pull request:Fix CVE-2022-31777, CVE-2023-22946, CVE-2023-32007, CVE-2025-54920, CVE-2025-55039
Cchenyanpan
8月24日 关联了pull request:Fix CVE-2022-31777, CVE-2023-22946, CVE-2023-32007, CVE-2025-55039