Hi openeuler-ci-bot, 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-openstack, and any of the maintainers: @zhangy1317 , @joec88 , @liksh , @huangtianhua , @xiyuanwang , @zh-f , @han-guangyu


@zhangy1317 ,@joec88 ,@liksh ,@huangtianhua ,@xiyuanwang ,@zh-f ,@han-guangyu
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(4.0.2):
3.openEuler-22.03-LTS:
修复是否涉及abi变化(是/否):
1.openEuler-20.03-LTS-SP1:
2.openEuler-20.03-LTS-SP3(4.0.2):
3.openEuler-22.03-LTS:
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://ubuntu.com/security/CVE-2022-31117 | |||
| https://nvd.nist.gov/vuln/detail/CVE-2022-31117 | None | None | https://github.com/ultrajson/ultrajson/commit/9c20de0f77b391093967e25d01fb48671104b15b |
| https://security-tracker.debian.org/tracker/CVE-2022-31117 | None | None | https://github.com/ultrajson/ultrajson/commit/9c20de0f77b391093967e25d01fb48671104b15b |
| https://bugzilla.suse.com/show_bug.cgi?id=CVE-2022-31117 | None | None | https://github.com/ultrajson/ultrajson/commit/9c20de0f77b391093967e25d01fb48671104b15b |
说明:补丁链接仅供初步排查参考,实际可用性请人工再次确认,补丁下载验证可使用CVE补丁工具。
若补丁不准确,烦请在此issue下评论 '/report-patch 参考网址 补丁链接1,补丁链接2' 反馈正确信息,便于我们不断优化工具,不胜感激。
如 /report-patch https://security-tracker.debian.org/tracker/CVE-2021-3997 https://github.com/systemd/systemd/commit/5b1cf7a9be37e20133c0208005274ce4a5b5c6a1


影响性分析说明:UltraJSON is a fast JSON encoder and decoder written in pure C with bindings for Python 3.7+. In versions prior to 5.4.0 an error occurring while reallocating a buffer for string decoding can cause the buffer to get freed twice. Due to how UltraJSON uses the internal decoder, this double free is impossible to trigger from Python. This issue has been resolved in version 5.4.0 and all users should upgrade to UltraJSON 5.4.0. There are no known workarounds for this issue.
openEuler评分: 5.9
受影响版本排查(受影响/不受影响):
1.openEuler-20.03-LTS-SP1:受影响
2.openEuler-20.03-LTS-SP3(4.0.2):受影响
3.openEuler-22.03-LTS:受影响
修复是否涉及abi变化(是/否):
1.openEuler-20.03-LTS-SP1:否
2.openEuler-20.03-LTS-SP3(4.0.2):否
3.openEuler-22.03-LTS:否


@zhangy1317 经过 cve-manager 解析, 已分析的内容如下表所示:
| 状态 | 需分析 | 内容 |
|---|---|---|
| 已分析 | 1.影响性分析说明 | UltraJSON is a fast JSON encoder and decoder written in pure C with bindings for Python 3.7+. In versions prior to 5.4.0 an error occurring while reallocating a buffer for string decoding can cause the buffer to get freed twice. Due to how UltraJSON uses the internal decoder, this double free is impossible to trigger from Python. This issue has been resolved in version 5.4.0 and all users should upgrade to UltraJSON 5.4.0. There are no known workarounds for this issue. |
| 已分析 | 2.openEulerScore | 5.9 |
| 已分析 | 2.openEulerVector | AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H |
| 已分析 | 3.受影响版本排查 | openEuler-20.03-LTS-SP1:受影响,openEuler-20.03-LTS-SP3:受影响,openEuler-22.03-LTS:受影响 |
| 已分析 | 4.修复是否涉及abi变化 | openEuler-20.03-LTS-SP1:否,openEuler-20.03-LTS-SP3:否,openEuler-22.03-LTS:否 |
请确认分析内容的准确性, 确认无误后, 您可以进行后续步骤, 否则您可以继续分析.


经过cve-manager解析,所有PR均已合入


一、漏洞信息
漏洞编号:CVE-2022-31117
漏洞归属组件:python-ujson
漏洞归属的版本:4.0.2,5.1.0
CVSS评分:
BaseScore:5.9 Medium
Vector:CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H
漏洞简述:
UltraJSON is a fast JSON encoder and decoder written in pure C with bindings for Python 3.7+. In versions prior to 5.4.0 an error occurring while reallocating a buffer for string decoding can cause the buffer to get freed twice. Due to how UltraJSON uses the internal decoder, this double free is impossible to trigger from Python. This issue has been resolved in version 5.4.0 and all users should upgrade to UltraJSON 5.4.0. There are no known workarounds for this issue.
漏洞公开时间:2022-07-06 02:15:08
漏洞创建时间:2022-07-06 10:37:50
漏洞详情参考链接:
https://nvd.nist.gov/vuln/detail/CVE-2022-31117
更多参考(点击展开)
漏洞分析指导链接:
https://atomgit.com/openeuler/cve-manager/blob/master/cve-vulner-manager/doc/md/manual.md
漏洞数据来源:
openBrain开源漏洞感知系统
漏洞补丁信息:
详情(点击展开)
二、漏洞分析结构反馈
影响性分析说明:
UltraJSON is a fast JSON encoder and decoder written in pure C with bindings for Python 3.7+. In ver...
openEuler评分:
5.9
Vector:CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H
受影响版本排查(受影响/不受影响):
1.openEuler-20.03-LTS-SP1:受影响
2.openEuler-20.03-LTS-SP3(4.0.2):受影响
3.openEuler-22.03-LTS:受影响
4.openEuler-24.03-LTS(5.1.0):受影响
5.openEuler-24.03-LTS-Next(5.1.0):不受影响
6.openEuler-22.03-LTS-SP4:不受影响
7.master(5.13.0):不受影响
8.openEuler-24.03-LTS-SP2(5.1.0):不受影响
9.openEuler-20.03-LTS-SP4(4.0.2):受影响
10.openEuler-24.03-LTS-SP1(5.1.0):不受影响
11.openEuler-24.03-LTS-SP3(5.12.0):不受影响
12.openEuler-24.03-LTS-SP4(5.1.0):不受影响
修复是否涉及abi变化(是/否):
1.master(5.13.0):否
2.openEuler-20.03-LTS-SP1:否
3.openEuler-20.03-LTS-SP3(4.0.2):否
4.openEuler-20.03-LTS-SP4(4.0.2):否
5.openEuler-22.03-LTS-SP3:否
6.openEuler-22.03-LTS-SP4:否
7.openEuler-22.03-LTS:否
8.openEuler-24.03-LTS-Next(5.1.0):否
9.openEuler-24.03-LTS-SP1(5.1.0):否
10.openEuler-24.03-LTS-SP2(5.1.0):否
11.openEuler-24.03-LTS(5.1.0):否
12.openEuler-24.03-LTS-SP3(5.12.0):否
13.openEuler-24.03-LTS-SP4(5.1.0):否
原因说明:
1.master(5.13.0):不受影响-漏洞代码不存在
2.openEuler-20.03-LTS-SP4(4.0.2):正常修复
3.openEuler-22.03-LTS-SP4:不受影响-漏洞代码不存在
4.openEuler-24.03-LTS-Next(5.1.0):不受影响-漏洞代码不存在
5.openEuler-24.03-LTS-SP1(5.1.0):不受影响-漏洞代码不存在
6.openEuler-24.03-LTS-SP3(5.12.0):不受影响-漏洞代码不存在
7.openEuler-24.03-LTS-SP4(5.1.0):不受影响-漏洞代码不存在