低危 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.
解决建议
建议您更新当前系统或软件至最新版,完成漏洞的修复。
受影响软件情况
# 类型 厂商 产品 版本 影响面
1
运行在以下环境
应用 rust-lang rust * Up to
(excluding)
1.52.0
运行在以下环境
系统 alibaba_cloud_linux_3 rls * Up to
(excluding)
1.52.1-1.1.al8
运行在以下环境
系统 amazon_2 rust * Up to
(excluding)
1.56.1-1.amzn2.0.1
运行在以下环境
系统 debian_12 rustc * Up to
(excluding)
1.53.0+dfsg1-1
运行在以下环境
系统 fedora_32 rls * Up to
(excluding)
1.51.0-3.fc32
运行在以下环境
系统 fedora_33 rls * Up to
(excluding)
1.51.0-3.fc33
运行在以下环境
系统 fedora_34 rls * Up to
(excluding)
1.51.0-3.fc34
运行在以下环境
系统 fedora_EPEL_7 rls * Up to
(excluding)
1.51.0-3.el7
运行在以下环境
系统 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 对异常条件的处理不恰当
阿里云安全产品覆盖情况