rust-lang rust 内存缓冲区边界内操作的限制不恰当

admin 2023-12-01 15:19:26 Ali_nvd 来源:ZONE.CI 全球网 0 阅读模式
低危 rust-lang rust 内存缓冲区边界内操作的限制不恰当

CVE编号

CVE-2021-28876

利用情况

暂无

补丁情况

官方补丁

披露时间

2021-04-12
漏洞描述
In the standard library in Rust before 1.52.0, the Zip implementation has a panic safety issue. It calls __iterator_get_unchecked() more than once for the same index when the underlying iterator panics (in certain conditions). This bug could lead to a memory safety violation due to an unmet safety requirement for the TrustedRandomAccess trait.
解决建议
建议您更新当前系统或软件至最新版,完成漏洞的修复。
参考链接
https://github.com/rust-lang/rust/issues/81740
https://github.com/rust-lang/rust/pull/81741
https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedora...
https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedora...
https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedora...
https://security.gentoo.org/glsa/202210-09
受影响软件情况
# 类型 厂商 产品 版本 影响面
1
运行在以下环境
应用 rust-lang rust * Up to (excluding) 1.52.0
运行在以下环境
系统 amazon_2 rust * Up to (excluding) 1.56.1-1.amzn2.0.1
运行在以下环境
系统 anolis_os_8 rls * Up to (excluding) 1.52.1-1
运行在以下环境
系统 centos_8 rust-gdb * Up to (excluding) 1.52.1-1.module+el8.4.0+11282+0729bac9
运行在以下环境
系统 debian_10 rustc * Up to (including) 1.41.1+dfsg1-1~deb10u1
运行在以下环境
系统 debian_11 rustc * Up to (including) 1.48.0+dfsg1-2
运行在以下环境
系统 debian_12 rustc * Up to (excluding) 1.53.0+dfsg1-1
运行在以下环境
系统 debian_9 rustc * Up to (including) 1.34.2+dfsg1-1~deb9u1
运行在以下环境
系统 debian_sid rustc * Up to (excluding) 1.53.0+dfsg1-1
运行在以下环境
系统 fedora_32 rust-std-static * Up to (excluding) 1.51.0-3.fc32
运行在以下环境
系统 fedora_33 rust-std-static * Up to (excluding) 1.51.0-3.fc33
运行在以下环境
系统 fedora_34 rust-std-static * Up to (excluding) 1.51.0-3.fc34
运行在以下环境
系统 fedora_EPEL_7 rust-std-static * Up to (excluding) 1.51.0-3.el7
运行在以下环境
系统 oracle_8 oraclelinux-release * Up to (excluding) 1.52.1-1.module+el8.4.0+20287+5ada6442
运行在以下环境
系统 redhat_8 rust-gdb * Up to (excluding) 1.52.1-1.module+el8.4.0+11282+0729bac9
运行在以下环境
系统 ubuntu_20.04 rustc * Up to (excluding) 1.53.0+dfsg1+llvm-4ubuntu1~20.04.1
运行在以下环境
系统 ubuntu_22.04 rustc * Up to (excluding) 1.53.0+dfsg1+llvm-4ubuntu1
阿里云评分 3.5
  • 攻击路径 远程
  • 攻击复杂度 复杂
  • 权限要求 无需权限
  • 影响范围 有限影响
  • EXP成熟度 N/A
  • 补丁情况 官方补丁
  • 数据保密性 无影响
  • 数据完整性 传输被破坏
  • 服务器危害 无影响
  • 全网数量 N/A
CWE-ID 漏洞类型
CWE-119 内存缓冲区边界内操作的限制不恰当
CWE-755 对异常条件的处理不恰当
- avd.aliyun.com
weinxin
版权声明
本站原创文章转载请注明文章出处及链接,谢谢合作!
N/A Ali_nvd

N/A

N/ACVE编号 CVE-2024-9120利用情况 暂无补丁情况 N/A披露时间 2024-09-23漏洞描述Use after free in Dawn
评论:0   参与:  0