GitHub Advisoryadvisory · RubyGems
GHSA-pchc-949f-53m5 Improper Input Validation in multi_xml
HIGH
Official page ↗
- Aliases
- CVE-2013-0175
- Ecosystem
- RubyGems
- Packages
- multi_xml
- Severity
- High
- Weaknesses
- CWE-20
- Reviewed
- 2020-06-16
Affected packages
• RubyGems multi_xml: < 0.5.2 → 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.
Related
Alias · CVE (1)
- 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,… vulnerability
Weakness · CWE (1)
- CWE-20 Improper Input Validation weakness
References
- https://nvd.nist.gov/vuln/detail/CVE-2013-0175 advisory
- https://github.com/sferik/multi_xml/pull/34 web
- https://github.com/sferik/multi_xml/commit/c94b136d06822514fc2e99dc851e6c4eeb4c8bdf web
- https://github.com/sferik/multi_xml package
- https://groups.google.com/forum/?fromgroups=#!topic/ruby-grape/fthDkMgIOa0 web
- https://news.ycombinator.com/item?id=5040457 web
- https://www.openwall.com/lists/oss-security/2013/01/11/9 web