https://groups.google.com/forum/?fromgroups=#!topic/ruby-gra...
MultiXml gem has same vulnerability as Rails' CVE-2013-0156 – patch now
11–20 of 26 posts
Re: MultiXml gem has same vulnerability as Rails' CVE-2013-0156 – patch now
#12I strongly recommend loading something like this in your Ruby applications: https://gist.github.com/4507129 It will prevent YAML.rb from instantiating arbitrary objects, which will close off this entire class of problems. Obviously, if you do use YAML as a serialization format for arbitrary objects, this won't work, but odds are you aren't doing that.
Re: MultiXml gem has same vulnerability as Rails' CVE-2013-0156 – patch now
#13Yo dawgs, the mailchimp, aws-sdk, jenkins and twilio gems use HTTParty which uses multi_xml. You should look into this.
Re: MultiXml gem has same vulnerability as Rails' CVE-2013-0156 – patch now
#14Yo dawgs, the mailchimp, aws-sdk, jenkins and twilio gems use HTTParty which uses multi_xml. You should look into this.
Re: MultiXml gem has same vulnerability as Rails' CVE-2013-0156 – patch now
#15Yo dawgs, the mailchimp, aws-sdk, jenkins and twilio gems use HTTParty which uses multi_xml. You should look into this.
Re: MultiXml gem has same vulnerability as Rails' CVE-2013-0156 – patch now
#16It has the same vulnerability if you pass untrusted input to it, okay.
But the point of the Rails vulnerabilty is that every Rails app, by default, was set up to accept external user input and run it through an XML parser. Even if you didn't realize it.
If you are using MultiXml, you may or may not be passing untrusted user input to it, depends on what you did with it.
Right?
Re: MultiXml gem has same vulnerability as Rails' CVE-2013-0156 – patch now
#17Hmm, I'm not sure you could say it has "the same vulnerability". It has the same vulnerability if you pass untrusted input to it, okay. But the point of the Rails vulnerabilty is that every Rails app, by default, was set up to accept external user input and run it through an XML parser. Even if you didn't realize it. If you are using MultiXml, you may or may not be passing untrusted user input to it, depends on what…
When I implemented this functionality, it was only to be compatible with the Rails parser.
Re: MultiXml gem has same vulnerability as Rails' CVE-2013-0156 – patch now
#18Yo dawgs, the mailchimp, aws-sdk, jenkins and twilio gems use HTTParty which uses multi_xml. You should look into this.
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-0156 – patch now
#19Re: MultiXml gem has same vulnerability as Rails' CVE-2013-0156 – patch now
#20Yo dawgs, the mailchimp, aws-sdk, jenkins and twilio gems use HTTParty which uses multi_xml. You should look into this.
Quick clarification: The multi_xml gem has _not_ been updated, so there is nothing to upgrade, correct? Just the monkey-patch fix?