Vulnerabilities in pkg:gem/multi_xml
PACKAGECVE-2013-0175 is a HIGH improper input validation vulnerability (CWE-20: Improper Input Validation) affecting Multi xml libraries in the RubyGems ecosystem. The issue involves improper input validation in multi_xml. Remediation is available by upgrading affected packages to version 0.5.2.
pkg:gem/multi_xml
Vulnerability advisories affecting package pkg:gem/multi_xml. Select an advisory below to view technical details or fixes.
| Advisory ID | CVE / NVD | Severity | Summary |
|---|---|---|---|
| GHSA-pchc-949f-53m5 | CVE-2013-0175 | HIGH | Improper Input Validation in multi_xml |
CVE-2013-0175 at a Glance
How to Fix CVE-2013-0175
To remediate this vulnerability, upgrade all affected Multi xml dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.
Upgrade multi_xml to 0.5.2
Run the following command in your project directory to verify that all resolved dependencies use the patched release:
inspect dependencies for multi_xml
How to Check if You Are Affected
To determine whether your application is affected by CVE-2013-0175, inspect your project dependencies for Multi xml:
inspect dependencies for multi_xml
Analyze the terminal output to locate any version of Multi xml in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 0.5.2), your application is affected.
Note: Verify declared build manifests and deployed runtime container environments.
Technical Details
Vulnerability Mechanism & Technical Analysis
This vulnerability is classified under CWE-20: Improper Input Validation, where the product receives input or data, but it does not validate or incorrectly validates that the input has the properties that are required to process the data safely and correctly. In Multi xml, software state validation or input boundaries are circumvented during processing. Review the official source advisory statement below for specific affected components, classes, and reproduction details.
Source Advisory Statement
CVE-2013-0175 Affected Multi xml Versions
1 component(s)| Product / Package | Ecosystem | Affected Versions | Fixed Version |
|---|---|---|---|
|
multi_xml
|
RubyGems |
< 0.5.2
|
0.5.2
|
References
Frequently Asked Questions
What is CVE-2013-0175?
Which Multi xml versions are affected?
What version fixes CVE-2013-0175?
Is multi_xml affected?
What CWE is associated with CVE-2013-0175?
How can I check RubyGems dependencies for CVE-2013-0175?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-pchc-949f-53m5",
"modified" : "2023-02-13T17:01:58Z",
"published" : "2017-10-24T18:33:37Z",
"aliases" : [ "CVE-2013-0175" ],
"summary" : "Improper Input Validation in multi_xml",
"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.",
"severity" : [ ],
"affected" : [ {
"package" : {
"ecosystem" : "RubyGems",
"name" : "multi_xml"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "0"
}, {
"fixed" : "0.5.2"
} ]
} ]
} ],
"references" : [ {
"type" : "ADVISORY",
"url" : "https://nvd.nist.gov/vuln/detail/CVE-2013-0175"
}, {
"type" : "WEB",
"url" : "https://github.com/sferik/multi_xml/pull/34"
}, {
"type" : "WEB",
"url" : "https://github.com/sferik/multi_xml/commit/c94b136d06822514fc2e99dc851e6c4eeb4c8bdf"
}, {
"type" : "PACKAGE",
"url" : "https://github.com/sferik/multi_xml"
}, {
"type" : "WEB",
"url" : "https://groups.google.com/forum/?fromgroups=#!topic/ruby-grape/fthDkMgIOa0"
}, {
"type" : "WEB",
"url" : "https://news.ycombinator.com/item?id=5040457"
}, {
"type" : "WEB",
"url" : "https://www.openwall.com/lists/oss-security/2013/01/11/9"
} ],
"database_specific" : {
"cwe_ids" : [ "CWE-20" ],
"severity" : "HIGH",
"github_reviewed" : true,
"github_reviewed_at" : "2020-06-16T21:48:50Z",
"nvd_published_at" : "2013-04-25T23:55:00Z"
}
}