已关闭
CVE-2022-31117 #4
openeuler-ci-bot创建于  2022年7月6日关闭于  8 天前
openeuler-ci-bot
openeuler-ci-bot成员
2022年7月6日 创建

一、漏洞信息
漏洞编号: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

更多参考(点击展开)
参考来源 参考链接 来源链接
security-advisories.github.com https://github.com/ultrajson/ultrajson/commit/9c20de0f77b391093967e25d01fb48671104b15b
security-advisories.github.com https://github.com/ultrajson/ultrajson/security/advisories/GHSA-fm67-cv37-96ff
security-advisories.github.com https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/NAU5N4A7EUK2AMUCOLYDD5ARXAJYZBD2/
security-advisories.github.com https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/OPPU5FZP3LCTXYORFH7NHUMYA5X66IA7/
suse_bugzilla http://web.nvd.nist.gov/view/vuln/detail?vulnId=CVE-2022-31117 https://bugzilla.suse.com/show_bug.cgi?id=1201254
suse_bugzilla https://github.com/ultrajson/ultrajson/security/advisories/GHSA-fm67-cv37-96ff https://bugzilla.suse.com/show_bug.cgi?id=1201254
suse_bugzilla https://github.com/ultrajson/ultrajson/commit/9c20de0f77b391093967e25d01fb48671104b15b https://bugzilla.suse.com/show_bug.cgi?id=1201254
suse_bugzilla http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2022-31117 https://bugzilla.suse.com/show_bug.cgi?id=1201254
redhat_bugzilla https://github.com/ultrajson/ultrajson/security/advisories/GHSA-fm67-cv37-96ff https://bugzilla.redhat.com/show_bug.cgi?id=2104739
redhat_bugzilla https://github.com/ultrajson/ultrajson/commit/9c20de0f77b391093967e25d01fb48671104b15b https://bugzilla.redhat.com/show_bug.cgi?id=2104739
redhat_bugzilla https://access.redhat.com/errata/RHSA-2022:8850 https://bugzilla.redhat.com/show_bug.cgi?id=2104739
redhat_bugzilla https://access.redhat.com/errata/RHSA-2022:8864 https://bugzilla.redhat.com/show_bug.cgi?id=2104739
redhat_bugzilla https://access.redhat.com/security/cve/cve-2022-31117 https://bugzilla.redhat.com/show_bug.cgi?id=2104739
ubuntu https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2022-31117 https://ubuntu.com/security/CVE-2022-31117
ubuntu https://github.com/ultrajson/ultrajson/security/advisories/GHSA-fm67-cv37-96ff https://ubuntu.com/security/CVE-2022-31117
ubuntu https://github.com/ultrajson/ultrajson/commit/9c20de0f77b391093967e25d01fb48671104b15b (5.4.0) https://ubuntu.com/security/CVE-2022-31117
ubuntu https://github.com/ultrajson/ultrajson/commit/9c20de0f77b391093967e25d01fb48671104b15b https://ubuntu.com/security/CVE-2022-31117
ubuntu https://nvd.nist.gov/vuln/detail/CVE-2022-31117 https://ubuntu.com/security/CVE-2022-31117
ubuntu https://launchpad.net/bugs/cve/CVE-2022-31117 https://ubuntu.com/security/CVE-2022-31117
ubuntu https://security-tracker.debian.org/tracker/CVE-2022-31117 https://ubuntu.com/security/CVE-2022-31117
debian https://security-tracker.debian.org/tracker/CVE-2022-31117
cve_search https://github.com/ultrajson/ultrajson/security/advisories/GHSA-fm67-cv37-96ff
cve_search https://github.com/ultrajson/ultrajson/commit/9c20de0f77b391093967e25d01fb48671104b15b
cve_search https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/OPPU5FZP3LCTXYORFH7NHUMYA5X66IA7/
cve_search https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/NAU5N4A7EUK2AMUCOLYDD5ARXAJYZBD2/
github_advisory https://nvd.nist.gov/vuln/detail/CVE-2022-31117 https://github.com/advisories/GHSA-fm67-cv37-96ff
github_advisory https://github.com/ultrajson/ultrajson/security/advisories/GHSA-fm67-cv37-96ff https://github.com/advisories/GHSA-fm67-cv37-96ff
github_advisory https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/OPPU5FZP3LCTXYORFH7NHUMYA5X66IA7/ https://github.com/advisories/GHSA-fm67-cv37-96ff
github_advisory https://github.com/ultrajson/ultrajson/commit/9c20de0f77b391093967e25d01fb48671104b15b https://github.com/advisories/GHSA-fm67-cv37-96ff
github_advisory https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/NAU5N4A7EUK2AMUCOLYDD5ARXAJYZBD2/ https://github.com/advisories/GHSA-fm67-cv37-96ff
mageia http://advisories.mageia.org/MGASA-2022-0270.html
osv https://github.com/ultrajson/ultrajson/security/advisories/GHSA-fm67-cv37-96ff https://osv.dev/vulnerability/CVE-2022-31117
osv https://github.com/ultrajson/ultrajson/commit/9c20de0f77b391093967e25d01fb48671104b15b https://osv.dev/vulnerability/CVE-2022-31117
osv https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/NAU5N4A7EUK2AMUCOLYDD5ARXAJYZBD2/ https://osv.dev/vulnerability/CVE-2022-31117
osv https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/OPPU5FZP3LCTXYORFH7NHUMYA5X66IA7/ https://osv.dev/vulnerability/CVE-2022-31117
osv https://github.com/ultrajson/ultrajson/security/advisories/GHSA-fm67-cv37-96ff https://osv.dev/vulnerability/GHSA-fm67-cv37-96ff
osv https://nvd.nist.gov/vuln/detail/CVE-2022-31117 https://osv.dev/vulnerability/GHSA-fm67-cv37-96ff
osv https://github.com/ultrajson/ultrajson/commit/9c20de0f77b391093967e25d01fb48671104b15b https://osv.dev/vulnerability/GHSA-fm67-cv37-96ff
osv https://github.com/ultrajson/ultrajson https://osv.dev/vulnerability/GHSA-fm67-cv37-96ff
osv https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/NAU5N4A7EUK2AMUCOLYDD5ARXAJYZBD2/ https://osv.dev/vulnerability/GHSA-fm67-cv37-96ff
osv https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/OPPU5FZP3LCTXYORFH7NHUMYA5X66IA7/ https://osv.dev/vulnerability/GHSA-fm67-cv37-96ff
nvd https://github.com/ultrajson/ultrajson/security/advisories/GHSA-fm67-cv37-96ff
nvd https://github.com/ultrajson/ultrajson/commit/9c20de0f77b391093967e25d01fb48671104b15b
nvd https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/OPPU5FZP3LCTXYORFH7NHUMYA5X66IA7/
nvd https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/NAU5N4A7EUK2AMUCOLYDD5ARXAJYZBD2/
redhat https://access.redhat.com/security/cve/CVE-2022-31117
amazon_linux https://alas.aws.amazon.com/cve/html/CVE-2022-2257.html https://alas.aws.amazon.com/ALAS-2022-1639.html
amazon_linux https://alas.aws.amazon.com/cve/html/CVE-2022-2264.html https://alas.aws.amazon.com/ALAS-2022-1639.html
amazon_linux https://alas.aws.amazon.com/cve/html/CVE-2022-2284.html https://alas.aws.amazon.com/ALAS-2022-1639.html
amazon_linux https://alas.aws.amazon.com/cve/html/CVE-2022-2285.html https://alas.aws.amazon.com/ALAS-2022-1639.html
amazon_linux https://alas.aws.amazon.com/cve/html/CVE-2022-2286.html https://alas.aws.amazon.com/ALAS-2022-1639.html
amazon_linux https://alas.aws.amazon.com/cve/html/CVE-2022-2287.html https://alas.aws.amazon.com/ALAS-2022-1639.html
amazon_linux https://alas.aws.amazon.com/cve/html/CVE-2022-2288.html https://alas.aws.amazon.com/ALAS-2022-1639.html
amazon_linux https://alas.aws.amazon.com/cve/html/CVE-2022-2289.html https://alas.aws.amazon.com/ALAS-2022-1639.html
amazon_linux https://alas.aws.amazon.com/cve/html/CVE-2022-2304.html https://alas.aws.amazon.com/ALAS-2022-1639.html
amazon_linux https://alas.aws.amazon.com/cve/html/CVE-2022-2343.html https://alas.aws.amazon.com/ALAS-2022-1639.html
amazon_linux https://alas.aws.amazon.com/cve/html/CVE-2022-2344.html https://alas.aws.amazon.com/ALAS-2022-1639.html
amazon_linux https://alas.aws.amazon.com/cve/html/CVE-2022-2345.html https://alas.aws.amazon.com/ALAS-2022-1639.html
amazon_linux https://alas.aws.amazon.com/cve/html/CVE-2022-2816.html https://alas.aws.amazon.com/ALAS-2022-1639.html
amazon_linux https://alas.aws.amazon.com/cve/html/CVE-2022-2817.html https://alas.aws.amazon.com/ALAS-2022-1639.html
amazon_linux https://alas.aws.amazon.com/cve/html/CVE-2022-2819.html https://alas.aws.amazon.com/ALAS-2022-1639.html
amazon_linux https://alas.aws.amazon.com/cve/html/CVE-2022-3037.html https://alas.aws.amazon.com/ALAS-2022-1639.html
nvd https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/OPPU5FZP3LCTXYORFH7NHUMYA5X66IA7/
nvd https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/NAU5N4A7EUK2AMUCOLYDD5ARXAJYZBD2/
suse_bugzilla http://web.nvd.nist.gov/view/vuln/detail?vulnId=CVE-2022-31117
suse_bugzilla https://github.com/ultrajson/ultrajson/security/advisories/GHSA-fm67-cv37-96ff
suse_bugzilla https://github.com/ultrajson/ultrajson/commit/9c20de0f77b391093967e25d01fb48671104b15b
suse_bugzilla http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2022-31117
redhat_bugzilla https://github.com/ultrajson/ultrajson/security/advisories/GHSA-fm67-cv37-96ff
redhat_bugzilla https://github.com/ultrajson/ultrajson/commit/9c20de0f77b391093967e25d01fb48671104b15b
redhat_bugzilla https://bugzilla.redhat.com/show_bug.cgi?id=2104739
ubuntu https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2022-31117
ubuntu https://github.com/ultrajson/ultrajson/security/advisories/GHSA-fm67-cv37-96ff
ubuntu https://github.com/ultrajson/ultrajson/commit/9c20de0f77b391093967e25d01fb48671104b15b (5.4.0)
ubuntu https://github.com/ultrajson/ultrajson/commit/9c20de0f77b391093967e25d01fb48671104b15b
ubuntu https://nvd.nist.gov/vuln/detail/CVE-2022-31117
ubuntu https://launchpad.net/bugs/cve/CVE-2022-31117
ubuntu https://security-tracker.debian.org/tracker/CVE-2022-31117
debian https://security-tracker.debian.org/tracker/CVE-2022-31117

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

详情(点击展开)
影响的包 修复版本 修复补丁 问题引入补丁 来源
https://github.com/ultrajson/ultrajson/commit/9c20de0f77b391093967e25d01fb48671104b15b security-advisories.github.com
https://github.com/ultrajson/ultrajson/commit/9c20de0f77b391093967e25d01fb48671104b15b suse_bugzilla
https://github.com/ultrajson/ultrajson/commit/9c20de0f77b391093967e25d01fb48671104b15b redhat_bugzilla
https://github.com/ultrajson/ultrajson/commit/9c20de0f77b391093967e25d01fb48671104b15b (5.4.0) ubuntu
https://github.com/ultrajson/ultrajson/commit/9c20de0f77b391093967e25d01fb48671104b15b ubuntu
https://github.com/ultrajson/ultrajson/commit/9c20de0f77b391093967e25d01fb48671104b15b github_advisory
https://github.com/ultrajson/ultrajson/commit/9c20de0f77b391093967e25d01fb48671104b15b osv
https://github.com/ultrajson/ultrajson/commit/9c20de0f77b391093967e25d01fb48671104b15b nvd
https://github.com/ultrajson/ultrajson/security/advisories/GHSA-fm67-cv37-96ff nvd
https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/NAU5N4A7EUK2AMUCOLYDD5ARXAJYZBD2/ nvd
https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/OPPU5FZP3LCTXYORFH7NHUMYA5X66IA7/ nvd
collada2gltf https://github.com/ultrajson/ultrajson/commit/9c20de0f77b391093967e25d01fb48671104b15b ubuntu

二、漏洞分析结构反馈
影响性分析说明:
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):不受影响-漏洞代码不存在

likedislike
openeuler-ci-bot
openeuler-ci-bot成员
2022年7月6日 评论:

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

likedislike
openeuler-ci-bot
openeuler-ci-bot成员
2022年7月6日 评论:

@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

likedislike
openeuler-ci-bot
openeuler-ci-bot成员
2022年7月6日 评论:
参考网址 关联pr 状态 补丁链接
https://ubuntu.com/security/CVE-2022-31117
https://nvd.nist.gov/vuln/detail/CVE-2022-31117NoneNonehttps://github.com/ultrajson/ultrajson/commit/9c20de0f77b391093967e25d01fb48671104b15b
https://security-tracker.debian.org/tracker/CVE-2022-31117NoneNonehttps://github.com/ultrajson/ultrajson/commit/9c20de0f77b391093967e25d01fb48671104b15b
https://bugzilla.suse.com/show_bug.cgi?id=CVE-2022-31117NoneNonehttps://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

likedislike
2023年3月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.

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:否

likedislike
openeuler-ci-bot
openeuler-ci-bot成员
2023年3月1日 评论:

@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:否

请确认分析内容的准确性, 确认无误后, 您可以进行后续步骤, 否则您可以继续分析.

likedislike
此处折叠了164条消息 查看更多
openeuler-ci-botopeneuler-ci-bot成员
8 天前 issue状态由 进行中 改变为 已完成
openeuler-ci-botopeneuler-ci-bot成员
8 天前 关闭了 issue
openeuler-ci-bot
openeuler-ci-bot成员
8 天前 评论:

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

likedislike
openeuler-ci-botopeneuler-ci-bot成员
8 天前 删除了label:CVE/UNFIXED
openeuler-ci-botopeneuler-ci-bot成员
8 天前 添加了label:CVE/FIXED