CVE-2013-0175
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.
Predictions
Heuristic predictions, AS-IS, for prioritization only.
Mitigations
No mitigations published for this CVE yet.
The vendor-content worker queues fetches as references arrive (check back in a few minutes). Or โ if you've already worked around this in production โ publish your fix to the community-verified tier.
โ Propose a mitigation on Community โ Mitigations published via the community go through AI scoring + 2 human reviewers + 7-day silent objection window before landing here withsource_tier=community-verified.
OS impact
Debian Fixed 5 releases
| Version | Status | Fixed in |
|---|---|---|
| trixie | Fixed | 0 |
| sid | Fixed | 0 |
| forky | Fixed | 0 |
| bullseye | Fixed | 0 |
| bookworm | Fixed | 0 |
Application impact
| Vendor | Product | Versions | Fixed |
|---|---|---|---|
| erik_michaels-ober | multi_xml | 0.5.2 | |
| ruby-lang | ruby | | |
| grape_project | grape | 0.1.0 | |
| grape_project | grape | 0.1.1 | |
| grape_project | grape | 0.1.2 | |
| grape_project | grape | 0.1.3 | |
| grape_project | grape | 0.1.4 | |
| grape_project | grape | 0.1.5 | |
| grape_project | grape | 0.2.0 | |
| grape_project | grape | 0.2.1 | |
| grape_project | grape | 0.2.2 | |
| grape_project | grape | 0.2.3 | |
| grape_project | grape | 0.2.4 | |
| grape_project | grape | 0.2.5 | |
References
- https://nvd.nist.gov/vuln/detail/CVE-2013-0175
- http://www.openwall.com/lists/oss-security/2013/01/11/9
- https://gist.github.com/nate/d7f6d9f4925f413621aa
- https://github.com/sferik/multi_xml/pull/34
- https://groups.google.com/forum/?fromgroups=#%21topic/ruby-grape/fthDkMgIOa0
- https://news.ycombinator.com/item?id=5040457
- https://github.com/sferik/multi_xml/commit/c94b136d06822514fc2e99dc851e6c4eeb4c8bdf
- https://github.com/sferik/multi_xml
- https://groups.google.com/forum/?fromgroups=#!topic/ruby-grape/fthDkMgIOa0
- https://www.openwall.com/lists/oss-security/2013/01/11/9
- https://security-tracker.debian.org/tracker/CVE-2013-0175
CWEs
CWE-20
Community-verified mitigations for this CVE will appear above when contributors publish them.
Verify integrity in audit chain (admin only). AS-IS.