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

一、漏洞信息
漏洞编号:CVE-2022-31116
漏洞归属组件:python-ujson
漏洞归属的版本:4.0.2,5.1.0
CVSS评分:
BaseScore:7.5 High
Vector:CVSS:3.1/AV:N/AC:L/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+. Affected versions were found to improperly decode certain characters. JSON strings that contain escaped surrogate characters not part of a proper surrogate pair were decoded incorrectly. Besides corrupting strings, this allowed for potential key confusion and value overwriting in dictionaries. All users parsing JSON from untrusted sources are vulnerable. From version 5.4.0, UltraJSON decodes lone surrogates in the same way as the standard library s json module does, preserving them in the parsed output. Users are advised to upgrade. There are no known workarounds for this issue.
漏洞公开时间:2022-07-06 02:15:08
漏洞创建时间:2024-08-17 02:00:57
漏洞详情参考链接:
https://nvd.nist.gov/vuln/detail/CVE-2022-31116

更多参考(点击展开)
参考来源 参考链接 来源链接
security-advisories.github.com https://github.com/ultrajson/ultrajson/commit/67ec07183342589d602e0fcf7bb1ff3e19272687
security-advisories.github.com https://github.com/ultrajson/ultrajson/security/advisories/GHSA-wpqr-jcpx-745r
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-31116 https://bugzilla.suse.com/show_bug.cgi?id=1201255
suse_bugzilla http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2022-31116 https://bugzilla.suse.com/show_bug.cgi?id=1201255
suse_bugzilla https://github.com/ultrajson/ultrajson/commit/67ec07183342589d602e0fcf7bb1ff3e19272687 https://bugzilla.suse.com/show_bug.cgi?id=1201255
suse_bugzilla https://github.com/ultrajson/ultrajson/security/advisories/GHSA-wpqr-jcpx-745r https://bugzilla.suse.com/show_bug.cgi?id=1201255
redhat_bugzilla https://github.com/ultrajson/ultrajson/commit/67ec07183342589d602e0fcf7bb1ff3e19272687 https://bugzilla.redhat.com/show_bug.cgi?id=2104740
redhat_bugzilla https://github.com/ultrajson/ultrajson/security/advisories/GHSA-wpqr-jcpx-745r https://bugzilla.redhat.com/show_bug.cgi?id=2104740
redhat_bugzilla https://access.redhat.com/errata/RHSA-2022:8850 https://bugzilla.redhat.com/show_bug.cgi?id=2104740
redhat_bugzilla https://access.redhat.com/errata/RHSA-2022:8864 https://bugzilla.redhat.com/show_bug.cgi?id=2104740
redhat_bugzilla https://access.redhat.com/security/cve/cve-2022-31116 https://bugzilla.redhat.com/show_bug.cgi?id=2104740
ubuntu https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2022-31116 https://ubuntu.com/security/CVE-2022-31116
ubuntu https://github.com/ultrajson/ultrajson/security/advisories/GHSA-wpqr-jcpx-745r https://ubuntu.com/security/CVE-2022-31116
ubuntu https://github.com/ultrajson/ultrajson/commit/67ec07183342589d602e0fcf7bb1ff3e19272687 (5.4.0) https://ubuntu.com/security/CVE-2022-31116
ubuntu https://github.com/ultrajson/ultrajson/commit/67ec07183342589d602e0fcf7bb1ff3e19272687 https://ubuntu.com/security/CVE-2022-31116
ubuntu https://nvd.nist.gov/vuln/detail/CVE-2022-31116 https://ubuntu.com/security/CVE-2022-31116
ubuntu https://launchpad.net/bugs/cve/CVE-2022-31116 https://ubuntu.com/security/CVE-2022-31116
ubuntu https://security-tracker.debian.org/tracker/CVE-2022-31116 https://ubuntu.com/security/CVE-2022-31116
debian https://security-tracker.debian.org/tracker/CVE-2022-31116
cve_search https://github.com/ultrajson/ultrajson/commit/67ec07183342589d602e0fcf7bb1ff3e19272687
cve_search https://github.com/ultrajson/ultrajson/security/advisories/GHSA-wpqr-jcpx-745r
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://github.com/ultrajson/ultrajson/security/advisories/GHSA-wpqr-jcpx-745r https://github.com/advisories/GHSA-wpqr-jcpx-745r
github_advisory https://nvd.nist.gov/vuln/detail/CVE-2022-31116 https://github.com/advisories/GHSA-wpqr-jcpx-745r
github_advisory https://github.com/ultrajson/ultrajson/commit/67ec07183342589d602e0fcf7bb1ff3e19272687 https://github.com/advisories/GHSA-wpqr-jcpx-745r
github_advisory https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/OPPU5FZP3LCTXYORFH7NHUMYA5X66IA7/ https://github.com/advisories/GHSA-wpqr-jcpx-745r
github_advisory https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/NAU5N4A7EUK2AMUCOLYDD5ARXAJYZBD2/ https://github.com/advisories/GHSA-wpqr-jcpx-745r
mageia http://advisories.mageia.org/MGASA-2022-0270.html
osv https://github.com/ultrajson/ultrajson/security/advisories/GHSA-wpqr-jcpx-745r https://osv.dev/vulnerability/CVE-2022-31116
osv https://github.com/ultrajson/ultrajson/commit/67ec07183342589d602e0fcf7bb1ff3e19272687 https://osv.dev/vulnerability/CVE-2022-31116
osv https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/NAU5N4A7EUK2AMUCOLYDD5ARXAJYZBD2/ https://osv.dev/vulnerability/CVE-2022-31116
osv https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/OPPU5FZP3LCTXYORFH7NHUMYA5X66IA7/ https://osv.dev/vulnerability/CVE-2022-31116
osv https://github.com/ultrajson/ultrajson/security/advisories/GHSA-wpqr-jcpx-745r https://osv.dev/vulnerability/GHSA-wpqr-jcpx-745r
osv https://nvd.nist.gov/vuln/detail/CVE-2022-31116 https://osv.dev/vulnerability/GHSA-wpqr-jcpx-745r
osv https://github.com/ultrajson/ultrajson/commit/67ec07183342589d602e0fcf7bb1ff3e19272687 https://osv.dev/vulnerability/GHSA-wpqr-jcpx-745r
osv https://github.com/ultrajson/ultrajson https://osv.dev/vulnerability/GHSA-wpqr-jcpx-745r
osv https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/NAU5N4A7EUK2AMUCOLYDD5ARXAJYZBD2/ https://osv.dev/vulnerability/GHSA-wpqr-jcpx-745r
osv https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/OPPU5FZP3LCTXYORFH7NHUMYA5X66IA7/ https://osv.dev/vulnerability/GHSA-wpqr-jcpx-745r
nvd https://github.com/ultrajson/ultrajson/commit/67ec07183342589d602e0fcf7bb1ff3e19272687
nvd https://github.com/ultrajson/ultrajson/security/advisories/GHSA-wpqr-jcpx-745r
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-31116
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-31116
suse_bugzilla http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2022-31116
suse_bugzilla https://github.com/ultrajson/ultrajson/commit/67ec07183342589d602e0fcf7bb1ff3e19272687
suse_bugzilla https://github.com/ultrajson/ultrajson/security/advisories/GHSA-wpqr-jcpx-745r
redhat_bugzilla https://github.com/ultrajson/ultrajson/commit/67ec07183342589d602e0fcf7bb1ff3e19272687
redhat_bugzilla https://github.com/ultrajson/ultrajson/security/advisories/GHSA-wpqr-jcpx-745r
redhat_bugzilla https://bugzilla.redhat.com/show_bug.cgi?id=2104740
ubuntu https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2022-31116
ubuntu https://github.com/ultrajson/ultrajson/security/advisories/GHSA-wpqr-jcpx-745r
ubuntu https://github.com/ultrajson/ultrajson/commit/67ec07183342589d602e0fcf7bb1ff3e19272687 (5.4.0)
ubuntu https://github.com/ultrajson/ultrajson/commit/67ec07183342589d602e0fcf7bb1ff3e19272687
ubuntu https://nvd.nist.gov/vuln/detail/CVE-2022-31116
ubuntu https://launchpad.net/bugs/cve/CVE-2022-31116
ubuntu https://security-tracker.debian.org/tracker/CVE-2022-31116
debian https://security-tracker.debian.org/tracker/CVE-2022-31116

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

详情(点击展开)
影响的包 修复版本 修复补丁 问题引入补丁 来源
https://github.com/ultrajson/ultrajson/commit/67ec07183342589d602e0fcf7bb1ff3e19272687 security-advisories.github.com
https://github.com/ultrajson/ultrajson/commit/67ec07183342589d602e0fcf7bb1ff3e19272687 suse_bugzilla
https://github.com/ultrajson/ultrajson/commit/67ec07183342589d602e0fcf7bb1ff3e19272687 redhat_bugzilla
https://github.com/ultrajson/ultrajson/commit/67ec07183342589d602e0fcf7bb1ff3e19272687 (5.4.0) ubuntu
https://github.com/ultrajson/ultrajson/commit/67ec07183342589d602e0fcf7bb1ff3e19272687 ubuntu
https://github.com/ultrajson/ultrajson/commit/67ec07183342589d602e0fcf7bb1ff3e19272687 github_advisory
https://github.com/ultrajson/ultrajson/commit/67ec07183342589d602e0fcf7bb1ff3e19272687 osv
https://github.com/ultrajson/ultrajson/commit/67ec07183342589d602e0fcf7bb1ff3e19272687 nvd
https://github.com/ultrajson/ultrajson/security/advisories/GHSA-wpqr-jcpx-745r 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/e0e5db9a46decfea1174217382486e06bbab4743 ubuntu
collada2gltf https://github.com/ultrajson/ultrajson/commit/67ec07183342589d602e0fcf7bb1ff3e19272687 ubuntu

二、漏洞分析结构反馈
影响性分析说明:
UltraJSON is a fast JSON encoder and decoder written in pure C with bindings for Python 3.7+. Affect...
openEuler评分:
7.5
Vector:CVSS:3.1/AV:N/AC:L/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.master(5.13.0):不受影响
6.openEuler-20.03-LTS-SP4(4.0.2):受影响
7.openEuler-22.03-LTS-SP1:不受影响
8.openEuler-22.03-LTS-SP3:不受影响
9.openEuler-22.03-LTS-SP4:不受影响
10.openEuler-24.03-LTS-Next(5.1.0):不受影响
11.openEuler-24.03-LTS-SP2(5.1.0):不受影响
12.openEuler-24.03-LTS-SP1(5.1.0):不受影响
13.openEuler-24.03-LTS-SP3(5.12.0):不受影响
14.openEuler-24.03-LTS-SP4(5.1.0):不受影响

修复是否涉及abi变化(是/否):
1.master(5.13.0):否
2.openEuler-20.03-LTS-SP4(4.0.2):否
3.openEuler-22.03-LTS-SP3:否
4.openEuler-22.03-LTS-SP4:否
5.openEuler-24.03-LTS(5.1.0):否
6.openEuler-24.03-LTS-Next(5.1.0):否
7.openEuler-24.03-LTS-SP1(5.1.0):否
8.openEuler-24.03-LTS-SP2(5.1.0):否
9.openEuler-24.03-LTS-SP3(5.12.0):否
10.openEuler-20.03-LTS-SP1:否
11.openEuler-20.03-LTS-SP3(4.0.2):否
12.openEuler-22.03-LTS:否
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日 评论:

@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日 评论:

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日 评论:
参考网址 关联pr 状态 补丁链接
https://ubuntu.com/security/CVE-2022-31116
https://nvd.nist.gov/vuln/detail/CVE-2022-31116NoneNonehttps://github.com/ultrajson/ultrajson/commit/67ec07183342589d602e0fcf7bb1ff3e19272687
https://security-tracker.debian.org/tracker/CVE-2022-31116NoneNonehttps://github.com/ultrajson/ultrajson/commit/67ec07183342589d602e0fcf7bb1ff3e19272687
https://bugzilla.suse.com/show_bug.cgi?id=CVE-2022-31116NoneNonehttps://github.com/ultrajson/ultrajson/commit/e0e5db9a46decfea1174217382486e06bbab4743
https://github.com/ultrajson/ultrajson/commit/67ec07183342589d602e0fcf7bb1ff3e19272687

说明:补丁链接仅供初步排查参考,实际可用性请人工再次确认,补丁下载验证可使用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-bot
openeuler-ci-bot成员
2023年2月27日 评论:

@huangduirong 请确认分支: openEuler-20.03-LTS-SP1,openEuler-20.03-LTS-SP3,openEuler-22.03-LTS,openEuler-22.03-LTS-SP1 受影响/不受影响.
请确认分支信息是否填写完整,否则将无法关闭当前issue.

likedislike
openeuler-ci-bot
openeuler-ci-bot成员
2023年2月27日 评论:

@openeuler-sync-bot 请确认分支: openEuler-20.03-LTS-SP1,openEuler-20.03-LTS-SP3,openEuler-22.03-LTS,openEuler-22.03-LTS-SP1 受影响/不受影响.
请确认分支信息是否填写完整,否则将无法关闭当前issue.

likedislike
此处折叠了858条消息 查看更多
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