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

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

CVE编号

CVE-2020-36317

利用情况

暂无

补丁情况

没有补丁

披露时间

2021-04-12
漏洞描述
In the standard library in Rust before 1.49.0, String::retain() function has a panic safety problem. It allows creation of a non-UTF-8 Rust string when the provided closure panics. This bug could result in a memory safety violation when other string APIs assume that UTF-8 encoding is used on the same string.
解决建议
建议您更新当前系统或软件至最新版,完成漏洞的修复。
参考链接
https://github.com/rust-lang/rust/issues/78498
https://github.com/rust-lang/rust/pull/78499
受影响软件情况
# 类型 厂商 产品 版本 影响面
1
运行在以下环境
应用 rust-lang rust * Up to (excluding) 1.49.0
运行在以下环境
系统 anolis_os_8 rls * Up to (excluding) 1.52.1-1
运行在以下环境
系统 centos_8 rust-gdb * Up to (excluding) 1.49.0-1.module+el8.4.0+9446+1a463e08
运行在以下环境
系统 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
运行在以下环境
系统 oracle_8 oraclelinux-release * Up to (excluding) 1.49.0-1.module+el8.4.0+20083+9f8f961d
运行在以下环境
系统 redhat_8 rust-gdb * Up to (excluding) 1.49.0-1.module+el8.4.0+9446+1a463e08
运行在以下环境
系统 ubuntu_20.04 rustc * Up to (excluding) 1.51.0+dfsg1+llvm-1~exp3ubuntu1~20.04.2
阿里云评分 4.9
  • 攻击路径 本地
  • 攻击复杂度 困难
  • 权限要求 无需权限
  • 影响范围 全局影响
  • EXP成熟度 未验证
  • 补丁情况 没有补丁
  • 数据保密性 数据泄露
  • 数据完整性 无影响
  • 服务器危害 无影响
  • 全网数量 N/A
CWE-ID 漏洞类型
CWE-119 内存缓冲区边界内操作的限制不恰当
CWE-787 跨界内存写
- 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