124 Star 2 Fork 45

src-openEuler/redis

CVE-2021-32762

Done
CVE和安全问题
Opened this issue  
2021-11-26 10:37

一、漏洞信息
漏洞编号:CVE-2021-32762
漏洞归属组件:redis
漏洞归属的版本:4.0.11,4.0.14
CVSS V3.0分值:
BaseScore:8.8 High
Vector:CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
漏洞简述:
Redis is an open source, in-memory database that persists on disk. The redis-cli command line tool and redis-sentinel service may be vulnerable to integer overflow when parsing specially crafted large multi-bulk network replies. This is a result of a vulnerability in the underlying hiredis library which does not perform an overflow check before calling the calloc() heap allocation function. This issue only impacts systems with heap allocators that do not perform their own overflow checks. Most modern systems do and are therefore not likely to be affected. Furthermore, by default redis-sentinel uses the jemalloc allocator which is also not vulnerable. The problem is fixed in Redis versions 6.2.6, 6.0.16 and 5.0.14.
漏洞公开时间:2021-10-05 02:15:09
漏洞创建时间:2021-11-26 02:37:45
漏洞详情参考链接:
https://nvd.nist.gov/vuln/detail/CVE-2021-32762

更多参考(点击展开)
参考来源 参考链接 来源链接
security-advisories.github.com https://github.com/redis/redis/commit/0215324a66af949be39b34be2d55143232c1cb71
security-advisories.github.com https://github.com/redis/redis/security/advisories/GHSA-833w-8v3m-8wwr
security-advisories.github.com https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/HTYQ5ZF37HNGTZWVNJD3VXP7I6MEEF42/
security-advisories.github.com https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/VL5KXFN3ATM7IIM7Q4O4PWTSRGZ5744Z/
security-advisories.github.com https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/WR5WKJWXD4D6S3DJCZ56V74ESLTDQRAB/
security-advisories.github.com https://security.gentoo.org/glsa/202209-17
security-advisories.github.com https://security.netapp.com/advisory/ntap-20211104-0003/
security-advisories.github.com https://www.debian.org/security/2021/dsa-5001
security-advisories.github.com https://www.oracle.com/security-alerts/cpuapr2022.html
suse_bugzilla https://github.com/redis/redis/commit/04ba485042c65e18a294a13202769cfa1f6714a3 https://bugzilla.suse.com/show_bug.cgi?id=1191300
suse_bugzilla https://groups.google.com/g/redis-db/c/GS_9L2KCk9g/m/Q7ZN1R1cDAAJ https://bugzilla.suse.com/show_bug.cgi?id=1191300
redhat_bugzilla https://github.com/redis/redis/security/advisories/GHSA-833w-8v3m-8wwr https://bugzilla.redhat.com/show_bug.cgi?id=2010988
redhat_bugzilla https://github.com/redis/redis/commit/0215324a66af949be39b34be2d55143232c1cb71 https://bugzilla.redhat.com/show_bug.cgi?id=2010988
ubuntu https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2021-32762 https://ubuntu.com/security/CVE-2021-32762
ubuntu https://github.com/redis/redis/security/advisories/GHSA-833w-8v3m-8wwr https://ubuntu.com/security/CVE-2021-32762
ubuntu https://github.com/redis/redis/commit/0215324a66af949be39b34be2d55143232c1cb71 https://ubuntu.com/security/CVE-2021-32762
ubuntu https://nvd.nist.gov/vuln/detail/CVE-2021-32762 https://ubuntu.com/security/CVE-2021-32762
ubuntu https://launchpad.net/bugs/cve/CVE-2021-32762 https://ubuntu.com/security/CVE-2021-32762
ubuntu https://security-tracker.debian.org/tracker/CVE-2021-32762 https://ubuntu.com/security/CVE-2021-32762
debian https://security-tracker.debian.org/tracker/CVE-2021-32762
redis https://github.com/redis/redis/security/advisories/GHSA-833w-8v3m-8wwr
gentoo https://security.gentoo.org/glsa/202209-17
anolis https://anas.openanolis.cn/cves/detail/CVE-2021-32762
cve_search https://github.com/redis/redis/security/advisories/GHSA-833w-8v3m-8wwr
cve_search https://github.com/redis/redis/commit/0215324a66af949be39b34be2d55143232c1cb71
cve_search https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/VL5KXFN3ATM7IIM7Q4O4PWTSRGZ5744Z/
cve_search https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/HTYQ5ZF37HNGTZWVNJD3VXP7I6MEEF42/
cve_search https://security.netapp.com/advisory/ntap-20211104-0003/
cve_search https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/WR5WKJWXD4D6S3DJCZ56V74ESLTDQRAB/
cve_search https://www.debian.org/security/2021/dsa-5001
cve_search https://www.oracle.com/security-alerts/cpuapr2022.html
mageia http://advisories.mageia.org/MGASA-2021-0483.html
osv https://github.com/redis/redis/security/advisories/GHSA-833w-8v3m-8wwr https://osv.dev/vulnerability/CVE-2021-32762
osv https://security.gentoo.org/glsa/202209-17 https://osv.dev/vulnerability/CVE-2021-32762
osv https://security.netapp.com/advisory/ntap-20211104-0003/ https://osv.dev/vulnerability/CVE-2021-32762
osv https://www.debian.org/security/2021/dsa-5001 https://osv.dev/vulnerability/CVE-2021-32762
osv https://github.com/redis/redis/commit/0215324a66af949be39b34be2d55143232c1cb71 https://osv.dev/vulnerability/CVE-2021-32762
osv https://www.oracle.com/security-alerts/cpuapr2022.html https://osv.dev/vulnerability/CVE-2021-32762
osv https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/HTYQ5ZF37HNGTZWVNJD3VXP7I6MEEF42/ https://osv.dev/vulnerability/CVE-2021-32762
osv https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/VL5KXFN3ATM7IIM7Q4O4PWTSRGZ5744Z/ https://osv.dev/vulnerability/CVE-2021-32762
osv https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/WR5WKJWXD4D6S3DJCZ56V74ESLTDQRAB/ https://osv.dev/vulnerability/CVE-2021-32762

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

详情(点击展开)
影响的包 修复版本 修复补丁 问题引入补丁 来源
https://github.com/redis/redis/commit/0215324a66af949be39b34be2d55143232c1cb71 security-advisories.github.com
https://github.com/redis/redis/commit/04ba485042c65e18a294a13202769cfa1f6714a3 suse_bugzilla
https://github.com/redis/redis/commit/0215324a66af949be39b34be2d55143232c1cb71 redhat_bugzilla
https://github.com/redis/redis/commit/0215324a66af949be39b34be2d55143232c1cb71 ubuntu
https://github.com/redis/redis/commit/0215324a66af949be39b34be2d55143232c1cb71 osv
https://github.com/redis/redis/commit/0215324a66af949be39b34be2d55143232c1cb71 nvd
https://github.com/redis/redis/security/advisories/GHSA-833w-8v3m-8wwr nvd
https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/HTYQ5ZF37HNGTZWVNJD3VXP7I6MEEF42/ nvd
https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/VL5KXFN3ATM7IIM7Q4O4PWTSRGZ5744Z/ nvd
https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/WR5WKJWXD4D6S3DJCZ56V74ESLTDQRAB/ nvd
https://security.gentoo.org/glsa/202209-17 nvd
https://security.netapp.com/advisory/ntap-20211104-0003/ nvd
https://www.debian.org/security/2021/dsa-5001 nvd
https://www.oracle.com/security-alerts/cpuapr2022.html nvd

二、漏洞分析结构反馈
影响性分析说明:
该漏洞补丁与当前4.x版本差异较大,升级至7.2.7版本修复
openEuler评分:
8.8
Vector:CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
受影响版本排查(受影响/不受影响):
1.master(7.2.7):受影响
2.openEuler-20.03-LTS-SP4(7.2.7):受影响
3.openEuler-22.03-LTS-SP3(7.2.7):受影响
4.openEuler-22.03-LTS-SP4(7.2.7):受影响
5.openEuler-24.03-LTS(7.2.7):受影响
6.openEuler-24.03-LTS-Next(7.2.7):受影响
7.openEuler-24.03-LTS-SP1(7.2.7):受影响

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

原因说明:
1.master(7.2.7):正常修复
2.openEuler-20.03-LTS-SP4(7.2.7):正常修复
3.openEuler-22.03-LTS-SP3(7.2.7):正常修复
4.openEuler-24.03-LTS(7.2.7):正常修复
5.openEuler-24.03-LTS-Next(7.2.7):正常修复
6.openEuler-22.03-LTS-SP4(7.2.7):正常修复
7.openEuler-24.03-LTS-SP1(7.2.7):正常修复

三、漏洞修复
安全公告链接:https://www.openeuler.org/zh/security/safety-bulletin/detail/?id=openEuler-SA-2025-1157

Comments (7)

jinjin createdCVE和安全问题 4 years ago
openeuler-ci-bot added
 
sig/Others
label
4 years ago
Expand operation logs
yanxiaobing2020 set priority to Main 4 years ago
yanxiaobing2020 set start time to 2021-11-26 4 years ago
yanxiaobing2020 set deadline to 2021-12-10 4 years ago
openeuler-ci-bot changed description 4 years ago
openeuler-ci-bot added
 
CVE/UNFIXED
label
4 years ago

上游社区在 redis 5.0.14, 6.0.16, 6.2.6 上进行了修复。已经同步在redis5、redis6上提了相同ISSUE, 在redis5、redis6上进行修复,redis 4.x版本不再修复,本单挂起。

yanxiaobing2020 changed issue state from 待办的 to 已挂起 4 years ago
openeuler-ci-bot changed issue state from 已挂起 to 待办的 9 months ago
openeuler-ci-bot changed description 9 months ago
openeuler-ci-bot changed description 9 months ago
openeuler-ci-bot changed description 9 months ago
openeuler-ci-bot changed description 8 months ago
openeuler-ci-bot changed description 8 months ago
openeuler-ci-bot changed description 8 months ago
openeuler-ci-bot changed description 8 months ago
openeuler-ci-bot changed description 8 months ago
wk333 related pull requestsrc-openEuler/redis Pull Request !118 4 months ago
wk333 related pull requestsrc-openEuler/redis Pull Request !123 4 months ago
wk333 related pull requestsrc-openEuler/redis Pull Request !124 4 months ago
wk333-wk333 wk333 member 4 months ago

影响性分析说明:
该漏洞补丁与当前4.x版本差异较大,升级至7.2.7版本修复

受影响版本排查(受影响/不受影响):
1.master(4.0.14):受影响
2.openEuler-20.03-LTS-SP4(4.0.11):受影响
3.openEuler-22.03-LTS-SP3(4.0.14):受影响
4.openEuler-22.03-LTS-SP4(4.0.14):受影响
5.openEuler-24.03-LTS(4.0.14):受影响
6.openEuler-24.03-LTS-Next(4.0.14):受影响
7.openEuler-24.03-LTS-SP1(4.0.14):受影响

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

原因说明:
1.master(4.0.14):正常修复
2.openEuler-20.03-LTS-SP4(4.0.11):正常修复
3.openEuler-22.03-LTS-SP3(4.0.14):正常修复
4.openEuler-24.03-LTS(4.0.14):正常修复
5.openEuler-24.03-LTS-Next(4.0.14):正常修复
6.openEuler-22.03-LTS-SP4(4.0.14):正常修复
7.openEuler-24.03-LTS-SP1(4.0.14):正常修复

openeuler-ci-bot changed description 4 months ago
openeuler-ci-bot through merging Pull Request !119: [sync] PR-118: Update to 7.2.7 for fix CVEs changed issue state from 待办的 to 已完成 4 months ago
openeuler-ci-bot removed
 
sig/Others
label
4 months ago
openeuler-ci-bot removed
 
CVE/UNFIXED
label
4 months ago
openeuler-ci-bot added
 
CVE/FIXED
label
4 months ago
openeuler-ci-bot added
 
sig/Others
label
4 months ago
openeuler-ci-bot changed description 4 months ago

Sign in to comment

Status
Assignees
Projects
Milestones
Pull Requests
Successfully merging a pull request will close this issue.
Branches
Planed to start   -   Planed to end
-
Top level
Priority
Duration (hours)
参与者(4)
5329419 openeuler ci bot 1632792936 yanxiaobing2020-yanxiaobing2020 wk333-wk333 jinjin-yanglijin
1
https://gitee.com/src-openeuler/redis.git
git@gitee.com:src-openeuler/redis.git
src-openeuler
redis
redis

Search