Rust time crate 代码问题漏洞

admin 2024-01-15 21:09:04 YS 来源:ZONE.CI 全球网 0 阅读模式
> Rust time crate 代码问题漏洞

Rust time crate 代码问题漏洞

CNNVD-ID编号 CNNVD-202011-1842 CVE编号 CVE-2020-26235
发布时间 2020-11-24 更新时间 2020-12-04
漏洞类型 代码问题 漏洞来源 N/A
危险等级 中危 威胁类型 远程
厂商 N/A

漏洞介绍

Rust是一款通用、编译型编程语言。

Rust time crate 0.2.7版本至0.2.23版本存在安全漏洞,该漏洞源于unix操作系统可能会因为在特定环境下解引用一个悬浮指针而出现段故障。这要求用户在与受影响函数不同的线程中设置任何环境变量。受影响的函数有:time::UtcOffset::local_offset_at, time::UtcOffset::try_local_offset_at, time::UtcOffset::current_local_offset, time::UtcOffset::try_current_local_offset, time::OffsetDateTime::now_local and time::OffsetDateTime::try_now_local。

漏洞补丁

目前厂商已发布升级了Rust time crate 代码问题漏洞的补丁,Rust time crate 代码问题漏洞的补丁获取链接:

参考网址

来源:CONFIRM

链接:https://github.com/time-rs/time/security/advisories/GHSA-wcg3-cvx6-7396

来源:MISC

链接:https://crates.io/crates/time/0.2.23

来源:MISC

链接:https://github.com/time-rs/time/issues/293

受影响实体

暂无

信息来源

http://www.cnnvd.org.cn/web/xxk/ldxqById.tag?CNNVD=CNNVD-202011-1842

weinxin
版权声明
本站原创文章转载请注明文章出处及链接,谢谢合作!
评论:0   参与:  0