[#41918] [Feature #3647] Array#sample(n, replace=false) — Kenta Murata <redmine@...>

Feature #3647: Array#sample(n, replace=false)

11 messages 2010/08/03

[#41966] [Bug #3673] PTY.getpty with IO.pipe doesn't finish on FreeBSD — Yui NARUSE <redmine@...>

Bug #3673: PTY.getpty with IO.pipe doesn't finish on FreeBSD

9 messages 2010/08/10

[#41969] [Feature #3675] String#prepend, String#>> — Sora Harakami <redmine@...>

Feature #3675: String#prepend, String#>>

15 messages 2010/08/10
[#41976] Re: [Feature #3675] String#prepend, String#>> — Yukihiro Matsumoto <matz@...> 2010/08/10

まつもと ゆきひろです

[#41974] Re: [ruby-cvs:36157] Ruby:r28955 (trunk): * complex.c (nucomp_to_[ifr]): don't allow complex with in-exact — Yukihiro Matsumoto <matz@...>

まつもと ゆきひろです

7 messages 2010/08/10

[#42003] WEBrickに関するセキュリティ修正 (CVE-2010-0541) — Hideki Yamane <henrich@...>

12 messages 2010/08/11

[#42090] Math::atan2(0, 0) on ruby 1.9.2 — KUBO Takehiro <kubo@...>

久保です。

18 messages 2010/08/22
[#42092] Re: Math::atan2(0, 0) on ruby 1.9.2 — Kenta Murata <muraken@...> 2010/08/22

=1B$B$`$i$?$G$9!#=1B(B

[#42166] Ruby'sライセンスの、BSDLとのデュアルライセンスへの変更 — "NARUSE, Yui" <naruse@...>

Ruby's ライセンスは BSDL と Ruby's のデュアルライセンスになります。

14 messages 2010/08/31

[ruby-dev:42003] WEBrickに関するセキュリティ修正 (CVE-2010-0541)

From: Hideki Yamane <henrich@...>
Date: 2010-08-11 12:34:22 UTC
List: ruby-dev #42003
 やまねと申します。

 どなたか、以下のWEBrickに関するセキュリティ修正をご存知の方はいらっしゃい
 ますか?

 http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2010-0541

 Apple のアドバイザリは以下で

>Ruby
>CVE-ID:  CVE-2010-0541
>Available for:  Mac OS X v10.5.8, Mac OS X Server v10.5.8,
>Mac OS X v10.6 through v10.6.3, Mac OS X Server v10.6 through v10.6.3
>Impact:  A remote attacker may gain access to accounts served by Ruby
>WEBrick
>Description:  A cross-site scripting issue exists in the Ruby WEBrick
>HTTP server's handling of error pages. Accessing a maliciously
>crafted URL in certain web browsers may cause the error page to be
>treated as UTF-7, allowing JavaScript injection. The issue is
>addressed by setting UTF-8 as the default character set in HTTP error
>responses. Credit: Apple.

 ざっと検索してみたところRed Hatのbugzillaにそのパッチというのが出ています。
 https://bugzilla.redhat.com/show_bug.cgi?id=587731

--- lib/webrick/httpresponse.rb.old        2010-03-31 18:47:40.000000000 -0700
+++ lib/webrick/httpresponse.rb        2010-03-31 18:48:21.000000000 -0700
@@ -209,7 +209,7 @@
        @keep_alive = false
        self.status = HTTPStatus::RC_INTERNAL_SERVER_ERROR
      end
-      @header['content-type'] = "text/html"
+      @header['content-type'] = "text/html; charset=utf-8"

      if respond_to?(:create_error_page)
        create_error_page()


 snapshotのアーカイブを展開してみましたが上記の変更は加えられてないので、
 そもそもruby本体に修正の話が来ていないんじゃないかと思ってメールしてみました。
 これで修正内容が十分なのか、わかる方がいらっしゃったらぜひ確認してみていただけ
 ると嬉しいです :)


-- 
Regards,

 Hideki Yamane     henrich @ debian.or.jp/org
 http://wiki.debian.org/HidekiYamane

In This Thread

Prev Next