Sync ruby1.8 1.8.7.358-4 (main) from Debian unstable (main)

Bug #1020335 reported by Jeremy Bícha
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
ruby1.8 (Ubuntu)
Fix Released
Wishlist
Unassigned

Bug Description

Please sync ruby1.8 1.8.7.358-4 (main) from Debian unstable (main)

Explanation of the Ubuntu delta and why it can be dropped:
  * SECURITY UPDATE: Denial of service via crafted hash table keys
    (LP: #943451)
    - debian/patches/CVE-2011-4815.patch: Add randomness to the key hashing
      algorithm to prevent predictable results when inserting objects into a
      hash table. Based on upstream patch.
    - CVE-2011-4815

(fixed in 1.8.7.358-1)

Changelog entries since current quantal version 1.8.7.352-2ubuntu1:

ruby1.8 (1.8.7.358-4) unstable; urgency=low

  * debian/rules: avoid running DRB tests, since they crash and leave runaway
    processes that make buildds hang forever. With this, I expect that we
    don't need to set timeouts for the test suite at all (Closes: #674942).
  * Added patch by Steven Chamberlain to make ruby1.8-dev depend on gcc-4.6,
    since Ruby will hard code that as the compiler for building C extensions.
    Any C extension will FTBFS if gcc-4.6 is not installed (Closes: #675347).

 -- Antonio Terceiro <email address hidden> Fri, 01 Jun 2012 22:44:42 -0300

ruby1.8 (1.8.7.358-3) unstable; urgency=low

  * Guard test suit run with a explicit timeout to avoid FTBFS on kfreebsd-*
    due to a timeout after 150 minutes of inactivity (Closes: #673594). For
    now, the timeout is 1 hour, which should be enough time to run the test
    suite on other architectures, and is less than the 150 minutes tolerated
    by kfreebsd-*. Thanks to Steven Chamberlain.
  * Force compilation with gcc-4.6. This avoids segfaults when ruby1.8 is
    compiled with gcc-4.7 (See #674541).
  * debian/patches/use-ldflags.patch: patch by Simon Ruderich to make Ruby
    use any existing LDFLAGS environment variable. This should make ruby1.8 be
    properly built with hardening (Closes: #667957).

 -- Antonio Terceiro <email address hidden> Thu, 24 May 2012 22:19:52 -0300

ruby1.8 (1.8.7.358-2) unstable; urgency=low

  * Marking 2 symbols as specific to 64-bit architectures. This should fix the
    build on all non-64-bit architectures.

 -- Antonio Terceiro <email address hidden> Sun, 22 Apr 2012 11:43:29 -0300

ruby1.8 (1.8.7.358-1) unstable; urgency=low

  * New upstream release
    + Fixes vulnerability against algorithmic complexity attacks on hashes.
      This fixes CVE-2011-4815 and Closes: #658072
    + Fixes vulnerability in OpenSSL (CVE-2011-3389)
  * Added myself to Uploaders.
  * Remove -V from the dh_makeshlibs call; use a symbols file for libruby1.8
    instead. This way we don't force the latest version as a dependency for
    packages that link to libruby1.8. (Closes: #636975).
  * Enable hardened build flags with a patch by Moritz Muehlenhoff - thanks!
    (Closes: #667957)
  * Suggests ruby-switch (Closes: #654311)

 -- Antonio Terceiro <email address hidden> Sat, 21 Apr 2012 12:36:00 -0300

CVE References

Jeremy Bícha (jbicha)
Changed in ruby1.8 (Ubuntu):
importance: Undecided → Wishlist
Revision history for this message
Dimitri John Ledkov (xnox) wrote :

This bug was fixed in the package ruby1.8 - 1.8.7.358-4
Sponsored for Jeremy Bicha (jbicha)

---------------
ruby1.8 (1.8.7.358-4) unstable; urgency=low

  * debian/rules: avoid running DRB tests, since they crash and leave runaway
    processes that make buildds hang forever. With this, I expect that we
    don't need to set timeouts for the test suite at all (Closes: #674942).
  * Added patch by Steven Chamberlain to make ruby1.8-dev depend on gcc-4.6,
    since Ruby will hard code that as the compiler for building C extensions.
    Any C extension will FTBFS if gcc-4.6 is not installed (Closes: #675347).

 -- Antonio Terceiro <email address hidden> Fri, 01 Jun 2012 22:44:42 -0300

ruby1.8 (1.8.7.358-3) unstable; urgency=low

  * Guard test suit run with a explicit timeout to avoid FTBFS on kfreebsd-*
    due to a timeout after 150 minutes of inactivity (Closes: #673594). For
    now, the timeout is 1 hour, which should be enough time to run the test
    suite on other architectures, and is less than the 150 minutes tolerated
    by kfreebsd-*. Thanks to Steven Chamberlain.
  * Force compilation with gcc-4.6. This avoids segfaults when ruby1.8 is
    compiled with gcc-4.7 (See #674541).
  * debian/patches/use-ldflags.patch: patch by Simon Ruderich to make Ruby
    use any existing LDFLAGS environment variable. This should make ruby1.8 be
    properly built with hardening (Closes: #667957).

 -- Antonio Terceiro <email address hidden> Thu, 24 May 2012 22:19:52 -0300

ruby1.8 (1.8.7.358-2) unstable; urgency=low

  * Marking 2 symbols as specific to 64-bit architectures. This should fix the
    build on all non-64-bit architectures.

 -- Antonio Terceiro <email address hidden> Sun, 22 Apr 2012 11:43:29 -0300

ruby1.8 (1.8.7.358-1) unstable; urgency=low

  * New upstream release
    + Fixes vulnerability against algorithmic complexity attacks on hashes.
      This fixes CVE-2011-4815 and Closes: #658072
    + Fixes vulnerability in OpenSSL (CVE-2011-3389)
  * Added myself to Uploaders.
  * Remove -V from the dh_makeshlibs call; use a symbols file for libruby1.8
    instead. This way we don't force the latest version as a dependency for
    packages that link to libruby1.8. (Closes: #636975).
  * Enable hardened build flags with a patch by Moritz Muehlenhoff - thanks!
    (Closes: #667957)
  * Suggests ruby-switch (Closes: #654311)

 -- Antonio Terceiro <email address hidden> Sat, 21 Apr 2012 12:36:00 -0300

Changed in ruby1.8 (Ubuntu):
status: New → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.