Ruby tmpdir库路径遍历漏洞
CNNVD-ID编号 | CNNVD-201804-102 | CVE编号 | CVE-2018-6914 |
发布时间 | 2018-04-03 | 更新时间 | 2019-08-08 |
漏洞类型 | 路径遍历 | 漏洞来源 | N/A |
危险等级 | 高危 | 威胁类型 | 远程 |
厂商 | ruby-lang |
漏洞介绍
Ruby是日本软件开发者松本行弘所研发的一种跨平台、面向对象的动态类型编程语言。tmpdir library是其中的一个用于创建文件和目录的库。
Ruby中的tmpdir库的Dir.mktmpdir方法存在目录遍历漏洞。攻击者可借助带有‘..’序列的‘prefix’参数利用该漏洞创建任意目录或文件。以下版本受到影响:Ruby 2.2.10之前版本,2.3.7之前的2.3.x版本,2.4.4之前的2.4.x版本,2.5.1之前的2.5.x版本,2.6.0-preview1版本。
漏洞补丁
目前厂商已发布升级了Ruby tmpdir库路径遍历漏洞的补丁,Ruby tmpdir库路径遍历漏洞的补丁获取链接:
https://www.ruby-lang.org/en/news/2018/03/28/unintentional-file-and-directory-creation-with-directory-traversal-cve-2018-6914/
参考网址
来源:MLIST
链接:https://lists.debian.org/debian-lts-announce/2018/04/msg00023.html
来源:CONFIRM
链接:https://www.ruby-lang.org/en/news/2018/03/28/ruby-2-3-7-released/
来源:SUSE
链接:http://lists.opensuse.org/opensuse-security-announce/2019-07/msg00036.html
来源:CONFIRM
链接:https://www.ruby-lang.org/en/news/2018/03/28/ruby-2-4-4-released/
来源:REDHAT
链接:https://access.redhat.com/errata/RHSA-2018:3730
来源:MLIST
链接:https://lists.debian.org/debian-lts-announce/2018/07/msg00012.html
来源:UBUNTU
链接:https://usn.ubuntu.com/3626-1/
来源:BID
链接:http://www.securityfocus.com/bid/103686
来源:BID
链接:https://www.securityfocus.com/bid/103686
来源:MLIST
链接:https://lists.debian.org/debian-lts-announce/2018/04/msg00024.html
来源:CONFIRM
链接:https://www.ruby-lang.org/en/news/2018/03/28/ruby-2-5-1-released/
来源:SECTRACK
链接:http://www.securitytracker.com/id/1042004
来源:CONFIRM
链接:https://www.ruby-lang.org/en/news/2018/03/28/ruby-2-2-10-released/
来源:REDHAT
链接:https://access.redhat.com/errata/RHSA-2018:3731
来源:CONFIRM
来源:DEBIAN
链接:https://www.debian.org/security/2018/dsa-4259
来源:REDHAT
链接:https://access.redhat.com/errata/RHSA-2018:3729
来源:access.redhat.com
链接:https://access.redhat.com/errata/RHSA-2019:2028
来源:www.suse.com
链接:https://www.suse.com/support/update/announcement/2019/suse-su-20191804-1.html
来源:www.auscert.org.au
链接:https://www.auscert.org.au/bulletins/ESB-2019.2958/
受影响实体
Ruby-Lang Ruby:2.2.0 Ruby-Lang Ruby:2.6.0:Preview1信息来源
http://www.cnnvd.org.cn/web/xxk/ldxqById.tag?CNNVD=CNNVD-201804-102

评论