Re:MultiXml gem has same vulnerability as Rails' CVE-2013-01...
by kanzure on Thursday January 10, 2013 @07:52PM
(#5040724)
Yo dawgs, the mailchimp, aws-sdk, jenkins and twilio gems use HTTParty which uses multi_xml. You should look into this.
[ Parent
| on HN ]
Re:MultiXml gem has same vulnerability as Rails' CVE-2013-01...
by patio11 on Thursday January 10, 2013 @09:37PM
(#5041044)
I appreciate this comment more than I have words. Dawg.
Re:MultiXml gem has same vulnerability as Rails' CVE-2013-01...
by FuzzyDunlop on Thursday January 10, 2013 @08:09PM
(#5040774)
Or reference HTTParty from git, which has been fixed, in your Gemfile:
https://github.com/jnunemaker/httparty/commit/53a812426dd321...
Correction: Although this might not have much to do with multi_xml if that security risk isn't mitigated.
Re:MultiXml gem has same vulnerability as Rails' CVE-2013-01...
by fowlduck on Thursday January 10, 2013 @08:12PM
(#5040788)
YAML can still be loaded from XML response bodies, it just doesn't parse response bodies that are pure YAML anymore. Something like <tag type="yaml">yaml here</tag>.
Re:MultiXml gem has same vulnerability as Rails' CVE-2013-01...
by jmileham on Thursday January 10, 2013 @08:32PM
(#5040868)
Actually paperclip doesn't rely on HTTParty, but def check out your Gemfile.lock anyway -- it's a pretty common library dependency.
Re:MultiXml gem has same vulnerability as Rails' CVE-2013-01...
by kanzure on Thursday January 10, 2013 @08:37PM
(#5040876)
> Actually paperclip doesn't rely on HTTParty
I thought it uses aws-sdk? Looks like it doesn't. Huh..
Re:MultiXml gem has same vulnerability as Rails' CVE-2013-01...
by benatkin on Thursday January 10, 2013 @08:42PM
(#5040892)
It's like ActiveRecord, where it comes with an adapter for several backends, but in order to use a backend you need to install a library gem which is not a dependency of ActiveRecord.
Re:MultiXml gem has same vulnerability as Rails' CVE-2013-01...
by bradly on Thursday January 10, 2013 @08:00PM
(#5040742)
Quick clarification: The multi_xml gem has _not_ been updated, so there is nothing to upgrade, correct? Just the monkey-patch fix?
Re:MultiXml gem has same vulnerability as Rails' CVE-2013-01...
by kanzure on Thursday January 10, 2013 @08:05PM
(#5040758)
Oh hmm, I guess that's a good thing to point out. Yes, the multi_xml gem has not been upgraded, and the listed dependencies for httparty and mailchimp haven't changed either.
Re:MultiXml gem has same vulnerability as Rails' CVE-2013-01...
by sferik on Friday January 11, 2013 @02:35AM
(#5041798)
A new gem release is in the works and should be pushed tomorrow. In the mean time, you can use this workaround.
Re:MultiXml gem has same vulnerability as Rails' CVE-2013-01...
by sferik on Friday January 11, 2013 @02:51AM
(#5041843)
MultiXML version 0.5.2 is now released.