漏洞信息详情
Ruby 本地文件创建漏洞
- CNNVD编号:CNNVD-201210-466
- 危害等级: 中危
- CVE编号: CVE-2012-4522
- 漏洞类型: 权限许可和访问控制
- 发布时间: 2012-10-22
- 威胁类型: 远程
- 更新时间: 2012-11-27
- 厂 商: ruby-lang
- 漏洞来源: Peter Bex
漏洞简介
Ruby是日本软件开发者松本行弘所研发的一种跨平台、面向对象的动态类型编程语言。
Ruby 1.9.3补丁等级286之前的版本以及Ruby 2.0.0 r37163之前的版本中的file.c中的rb_get_path_check函数中存在漏洞。通过文件路径中的NUL字节,基于上下文的攻击者可利用该漏洞在不可预知的位置以不可预知的名字创建文件。
漏洞公告
目前厂商已经发布了升级补丁以修复此安全问题,补丁获取链接:
http://www.ruby-lang.org/en/news/2012/10/12/poisoned-NUL-byte-vulnerability/
参考网址
来源: BID
名称: 56115
链接:http://www.securityfocus.com/bid/56115
来源: www.ruby-lang.org
链接:http://www.ruby-lang.org/en/news/2012/10/12/poisoned-NUL-byte-vulnerability/
来源: MLIST
名称: [oss-security] 20121016 Re: CVE request: ruby file creation due in insertion of illegal NUL character
链接:http://www.openwall.com/lists/oss-security/2012/10/16/1
来源: MLIST
名称: [oss-security] 20121013 Re: CVE request: ruby file creation due in insertion of illegal NUL character
链接:http://www.openwall.com/lists/oss-security/2012/10/13/1
来源: MLIST
名称: [oss-security] 20121012 CVE request: ruby file creation due in insertion of illegal NUL character
链接:http://www.openwall.com/lists/oss-security/2012/10/12/6
来源: svn.ruby-lang.org
链接:http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=revision&revision=37163
受影响实体
- Ruby-Lang Ruby:2.0.0
- Ruby-Lang Ruby:1.9.3
补丁
- Ruby 2.0.0-p0
- Ruby 1.9.3-p392
![weinxin](http://zone.ci/zone_ci_images/zone.ci.png)
评论