<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "http://bugs.gentoo.org/bugzilla.dtd">

<bugzilla version="2.22.7"
          urlbase="http://bugs.gentoo.org/"
          maintainer="bugzilla@gentoo.org"
>

    <bug>
          <bug_id>143369</bug_id>
          
          <creation_ts>2006-08-09 10:54 0000</creation_ts>
          <short_desc>dev-ruby/rails &lt; 1.1.6 security issue</short_desc>
          <delta_ts>2006-09-02 14:48:40 0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>Gentoo Security</product>
          <component>Vulnerabilities</component>
          <version>unspecified</version>
          <rep_platform>All</rep_platform>
          <op_sys>All</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          <bug_file_loc>http://weblog.rubyonrails.org/2006/8/10/rails-1-1-6-backports-and-full-disclosure</bug_file_loc>
          <status_whiteboard>B1? [glsa] DerCorny</status_whiteboard>
          
          <priority>P2</priority>
          <bug_severity>major</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          
          <everconfirmed>1</everconfirmed>
          <reporter>vlad@hashbang.de</reporter>
          <assigned_to>security@gentoo.org</assigned_to>
          <cc>fmccor@gentoo.org</cc>
    
    <cc>gentoo-bugzilla@moinmarco.de</cc>
    
    <cc>ruby@gentoo.org</cc>

      

      
          <long_desc isprivate="0">
            <who>vlad@hashbang.de</who>
            <bug_when>2006-08-09 10:54:12 0000</bug_when>
            <thetext>A &apos;mandatory&apos; security patch has been released. Ebuilds should be updated too. More info:

http://weblog.rubyonrails.org/2006/8/9/rails-1-1-5-mandatory-security-patch-and-other-tidbits</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>dercorny@gentoo.org</who>
            <bug_when>2006-08-09 11:09:43 0000</bug_when>
            <thetext>Ruby, please provide fixed ebuilds, thanks.</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>caleb@gentoo.org</who>
            <bug_when>2006-08-09 11:37:29 0000</bug_when>
            <thetext>It&apos;s in portage as rails-1.1.5

Also affects (and now in portage):

actionmailer-1.2.4
actionpack-1.12.4
actionwebservice-1.1.5
activerecord-1.14.4

does NOT affect:

activesupport-1.3.1


I suppose we need arches to mark stable sooner than later; I&apos;d like them to test and make sure the install goes okay for everyone (worked fine here).  According to the site the differences between 1.1.4 and 1.1.5 are minimal save for the security stuff.  I hope that&apos;s right.</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>dercorny@gentoo.org</who>
            <bug_when>2006-08-09 11:41:14 0000</bug_when>
            <thetext>arches, please test and stable rails-1.1.5, thank you</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>dercorny@gentoo.org</who>
            <bug_when>2006-08-09 11:42:12 0000</bug_when>
            <thetext>... and of course also the other packages as mentioned in comment #2

sorry</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>dertobi123@gentoo.org</who>
            <bug_when>2006-08-09 12:52:48 0000</bug_when>
            <thetext>ppc stable</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>thedude0001@gmx.de</who>
            <bug_when>2006-08-09 13:35:38 0000</bug_when>
            <thetext>I get a digest failure on actionpack-1.12.4:

&gt;&gt;&gt; checking actionpack-1.12.4.gem
!!! Digest verification failed:
!!! /usr/portage/distfiles/actionpack-1.12.4.gem
!!! Reason: Filesize does not match recorded size
!!! Got: 530432
!!! Expected: 529920

Other than that this is good to go on amd64.

emerge --info
Portage 2.1-r1 (default-linux/amd64/2006.0, gcc-3.4.6, glibc-2.3.6-r4, 2.6.17-suspend2-r3-Dudebox-Edition x86_64)
=================================================================
System uname: 2.6.17-suspend2-r3-Dudebox-Edition x86_64 AMD Athlon(tm) 64 Processor 3200+
Gentoo Base System version 1.6.15
ccache version 2.3 [enabled]
app-admin/eselect-compiler: [Not Present]
dev-lang/python:     2.4.3-r1
dev-python/pycrypto: 2.0.1-r5
dev-util/ccache:     2.3
dev-util/confcache:  [Not Present]
sys-apps/sandbox:    1.2.17
sys-devel/autoconf:  2.13, 2.59-r7
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2
sys-devel/binutils:  2.16.1-r3
sys-devel/gcc-config: 1.3.13-r3
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.11-r2
ACCEPT_KEYWORDS=&quot;amd64&quot;
AUTOCLEAN=&quot;yes&quot;
CBUILD=&quot;x86_64-pc-linux-gnu&quot;
CFLAGS=&quot;-march=k8 -O2 -pipe -msse3&quot;
CHOST=&quot;x86_64-pc-linux-gnu&quot;
CONFIG_PROTECT=&quot;/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/X11/xkb /usr/share/config /var/qmail/control&quot;
CONFIG_PROTECT_MASK=&quot;/etc/env.d /etc/gconf /etc/revdep-rebuild /etc/terminfo&quot;
CXXFLAGS=&quot;-march=k8 -O2 -pipe -msse3&quot;
DISTDIR=&quot;/usr/portage/distfiles&quot;
FEATURES=&quot;autoconfig ccache collision-protect distlocks metadata-transfer multilib-strict parallel-fetch sandbox sfperms strict test userfetch userpriv usersandbox&quot;
GENTOO_MIRRORS=&quot;ftp://ftp.wh2.tu-dresden.de/pub/mirrors/gentoo ftp://linux.rz.ruhr-uni-bochum.de/gentoo-mirror/ ftp:///ftp-stud.fht-esslingen.de/pub/Mirrors/gentoo/&quot;
LINGUAS=&quot;de&quot;
PKGDIR=&quot;/usr/portage/packages&quot;
PORTAGE_RSYNC_OPTS=&quot;--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude=&apos;/distfiles&apos; --exclude=&apos;/local&apos; --exclude=&apos;/packages&apos;&quot;
PORTAGE_TMPDIR=&quot;/var/tmp&quot;
PORTDIR=&quot;/usr/portage&quot;
SYNC=&quot;rsync://server/gentoo-portage&quot;
USE=&quot;amd64 X alsa arts avi berkdb bitmap-fonts cli crypt cups dlloader dri eds emboss encode foomaticdb fortran gif gnome gpm gstreamer gtk gtk2 imlib ipv6 isdnlog jpeg kde kdeenablefinal lzw lzw-tiff mp3 mpeg ncurses nls nptl opengl pam pcre pdflib perl png pppd python qt3 qt4 quicktime readline reflection sdl session spell spl ssl tcpd tiff truetype-fonts type1-fonts unicode usb userlocales xorg xpm xv zlib elibc_glibc input_devices_keyboard input_devices_mouse input_devices_evdev kernel_linux linguas_de userland_GNU video_cards_dummy&quot;
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, MAKEOPTS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY
</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>caleb@gentoo.org</who>
            <bug_when>2006-08-09 13:38:32 0000</bug_when>
            <thetext>of course, they changed the .gem after the announcement... argh</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>caleb@gentoo.org</who>
            <bug_when>2006-08-09 13:39:47 0000</bug_when>
            <thetext>I recommitted the new digest.  I hope mirroring doesn&apos;t cause major breakage.</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>tcort@gentoo.org</who>
            <bug_when>2006-08-09 13:52:35 0000</bug_when>
            <thetext>amd64 stable.</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>tsunam@gentoo.org</who>
            <bug_when>2006-08-09 20:58:43 0000</bug_when>
            <thetext>x86 stable, I didnt&apos; find any rubies..who stole them all ?</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>jaervosz@gentoo.org</who>
            <bug_when>2006-08-10 00:36:41 0000</bug_when>
            <thetext>Rerating as I doubt this will be more than a B1.</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>jakub@gentoo.org</who>
            <bug_when>2006-08-10 02:18:48 0000</bug_when>
            <thetext>Some real info on the problem (upstream-- for their security by obscurity approach).

http://blog.koehntopp.de/archives/1367-Ruby-On-Rails-Mandatory-Mystery-Patch.html</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>fmccor@gentoo.org</who>
            <bug_when>2006-08-10 05:03:27 0000</bug_when>
            <thetext>All stable on sparc.  Notes:
1.  sparc tests used lighttpd;
2.  script/server (for testing connections from local &amp; remote) generates a lot of annoying &apos;method redefined&apos; warnings;
3.  Test system is running ruby-1.8.4-r3</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>vlad@hashbang.de</who>
            <bug_when>2006-08-10 11:56:39 0000</bug_when>
            <thetext>BTW, 1.1.5 is now obsolete, 1.1.6 has been released today.</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>caleb@gentoo.org</who>
            <bug_when>2006-08-10 12:03:36 0000</bug_when>
            <thetext>yeah, but as of now I&apos;m not able to download the gems so I can&apos;t do updates in portage yet.</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>caleb@gentoo.org</who>
            <bug_when>2006-08-10 13:19:45 0000</bug_when>
            <thetext>ok, gems now available.  all have been bumped accordingly, and I left the already stable arches alone since the diff between 1.1.5 and 1.1.6 was basically trivial.

so we&apos;re waiting on ia64 and the bsd folks.</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>gentoo-bugzilla@moinmarco.de</who>
            <bug_when>2006-08-10 17:49:23 0000</bug_when>
            <thetext>http://weblog.rubyonrails.org/2006/8/10/rails-1-1-6-backports-and-full-disclosure
says upgrade to 1.1.6 is security related.

According to
http://www.ruby-forum.com/topic/76671
calling urls such as
http://127.0.0.1:3000/builder/blankslate
http://127.0.0.1:3000/active_support/dependencies
on 1.1.5 will cause all subsequent requests to fail.

All of this was not tested by myself so YMMV.</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>jaervosz@gentoo.org</who>
            <bug_when>2006-08-10 23:27:29 0000</bug_when>
            <thetext>1.1.6 is the new fixed version. It is already in Portage and stable as per comment #16.</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>caleb@gentoo.org</who>
            <bug_when>2006-08-11 03:28:27 0000</bug_when>
            <thetext>I will delete the offending versions from portage sometime today (that&apos;s 1.1.0 through 1.1.5)</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>falco@gentoo.org</who>
            <bug_when>2006-08-14 08:12:30 0000</bug_when>
            <thetext>GLSA 200608-20 sent</thetext>
          </long_desc>
      
    </bug>

</bugzilla>