HighGHSA-pchc-949f-53m5CVE-2013-0175

Improper Input Validation in multi_xml

Published 24 Oct 2017 · Updated 4 Dec 2024

Is your project on an affected multi_xml?

Private repo? Upload its lockfile instead, or connect GitHub to check every repo.

Look after several Rails or Ruby apps? Indie watches up to 15 repos, private ones too, for $5 a month. See Indie

Affected package

multi_xmlRubyGems
Affected
<0.5.2
Fixed in
0.5.2
Update to the fixed version for your release line, for example:bundle update --conservative multi_xml # Gemfile: '>= 0.5.2'

Details

multi_xml gem 0.5.2 for Ruby, as used in Grape before 0.2.6 and possibly other products, does not properly restrict casts of string values, which allows remote attackers to conduct object-injection attacks and execute arbitrary code, or cause a denial of service (memory and CPU consumption) involving nested XML entity references, by leveraging support for (1) YAML type conversion or (2) Symbol type conversion, a similar vulnerability to CVE-2013-0156.

Is GHSA-pchc-949f-53m5 in any of your client repos?

Checking one package by hand is fine. Checking it across forty client projects is not. NPMscan reads the lockfiles in every GitHub repo you pick, finds each project with an affected multi_xml, and gives you the command that fixes it.

References

Advisory data from OSV.dev (opens OSV.dev in a new tab), refreshed daily.