diff options
author | swills <swills@FreeBSD.org> | 2012-11-10 12:00:41 +0800 |
---|---|---|
committer | swills <swills@FreeBSD.org> | 2012-11-10 12:00:41 +0800 |
commit | 66784eb67d941712e6251147681c366d6d7671d6 (patch) | |
tree | b4951aa2cff5ddcd944a2cbc5f1ca71fa844e015 | |
parent | adf70ef576bab82cebe6e9a082774e31c9125a3b (diff) | |
download | freebsd-ports-gnome-66784eb67d941712e6251147681c366d6d7671d6.tar.gz freebsd-ports-gnome-66784eb67d941712e6251147681c366d6d7671d6.tar.zst freebsd-ports-gnome-66784eb67d941712e6251147681c366d6d7671d6.zip |
- Update lang/ruby19 to 1.9.3p327
- Document security issue in earlier versions
Security: 5e647ca3-2aea-11e2-b745-001fd0af1a4c
Feature safe: yes
-rw-r--r-- | Mk/bsd.ruby.mk | 2 | ||||
-rw-r--r-- | lang/ruby19/distinfo | 4 | ||||
-rw-r--r-- | security/vuxml/vuln.xml | 35 |
3 files changed, 38 insertions, 3 deletions
diff --git a/Mk/bsd.ruby.mk b/Mk/bsd.ruby.mk index 3fec1cee42ea..284e0055ccc4 100644 --- a/Mk/bsd.ruby.mk +++ b/Mk/bsd.ruby.mk @@ -196,7 +196,7 @@ RUBY19= "@comment " RUBY_RELVERSION= 1.9.3 RUBY_PORTREVISION= 0 RUBY_PORTEPOCH= 1 -RUBY_PATCHLEVEL= 286 +RUBY_PATCHLEVEL= 327 RUBY_VERSION?= ${RUBY_RELVERSION}.${RUBY_PATCHLEVEL} RUBY_DISTVERSION?= ${RUBY_RELVERSION}-p${RUBY_PATCHLEVEL} diff --git a/lang/ruby19/distinfo b/lang/ruby19/distinfo index c832658dbb46..02dfb67a1a81 100644 --- a/lang/ruby19/distinfo +++ b/lang/ruby19/distinfo @@ -1,2 +1,2 @@ -SHA256 (ruby/ruby-1.9.3-p286.tar.bz2) = 5281656c7a0ae48b64f28d845a96b4dfa16ba1357a911265752787585fb5ea64 -SIZE (ruby/ruby-1.9.3-p286.tar.bz2) = 9961862 +SHA256 (ruby/ruby-1.9.3-p327.tar.bz2) = d989465242f9b11a8a3aa8cbd2c75a9b3a8c0ec2f14a087a0c7b51abf164e488 +SIZE (ruby/ruby-1.9.3-p327.tar.bz2) = 9975835 diff --git a/security/vuxml/vuln.xml b/security/vuxml/vuln.xml index d37eaa259362..1b0eb10ed12e 100644 --- a/security/vuxml/vuln.xml +++ b/security/vuxml/vuln.xml @@ -51,6 +51,41 @@ Note: Please add new entries to the beginning of this file. --> <vuxml xmlns="http://www.vuxml.org/apps/vuxml-1"> + <vuln vid="5e647ca3-2aea-11e2-b745-001fd0af1a4c"> + <topic>lang/ruby19 -- Hash-flooding DoS vulnerability for ruby 1.9</topic> + <affects> + <package> + <name>ruby</name> + <range><ge>1.9</ge><lt>1.9.3.327</lt></range> + </package> + </affects> + <description> + <body xmlns="http://www.w3.org/1999/xhtml"> + <p>Hash-flooding DoS vulnerability</p> + <blockquote cite="http://www.ruby-lang.org/en/news/2012/11/09/ruby19-hashdos-cve-2012-5371/"> + <p>Carefully crafted sequence of strings can cause a denial of service + attack on the service that parses the sequence to create a Hash + object by using the strings as keys. For instance, this + vulnerability affects web application that parses the JSON data + sent from untrusted entity.</p> + <p>This vulnerability is similar to CVS-2011-4815 for ruby 1.8.7. ruby + 1.9 versions were using modified MurmurHash function but it's + reported that there is a way to create sequence of strings that + collide their hash values each other. This fix changes the Hash + function of String object from the MurmurHash to SipHash 2-4.</p> + </blockquote> + </body> + </description> + <references> + <cvename>CVE-2012-5371</cvename> + <url>http://www.ruby-lang.org/en/news/2012/11/09/ruby19-hashdos-cve-2012-5371/</url> + </references> + <dates> + <discovery>2012-11-10</discovery> + <entry>2012-11-10</entry> + </dates> + </vuln> + <vuln vid="152e4c7e-2a2e-11e2-99c7-00a0d181e71d"> <topic>tomcat -- authentication weaknesses</topic> <affects> |