Vulnerabilities in pkg:gem/multi_xml

PACKAGE
Advisory Identifier: GHSA-pchc-949f-53m5
Advisory Summary

CVE-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.

1 Known Advisory Record(s)
Package Vulnerability Intelligence

pkg:gem/multi_xml

1 Known Advisory Record(s)

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

CVE Identifier CVE-2013-0175
GHSA Identifier GHSA-pchc-949f-53m5
Severity HIGH
CVSS v3.1 Base Score N/A
CWE Classification CWE-20: Improper Input Validation
Affected Product Multi xml
Package Ecosystem RubyGems
Published Date
Last Updated

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.

multi_xml fixed: 0.5.2
Upgrade multi_xml to 0.5.2
Verify Direct and Transitive Dependencies

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

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.

CVE-2013-0175 Affected Multi xml Versions

1 component(s)
Fixed Versions:
0.5.2
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?
CVE-2013-0175 is a security vulnerability in Multi xml involving Improper Input Validation in multi_xml under CWE-20: Improper Input Validation.
Which Multi xml versions are affected?
Affected versions include releases prior to 0.5.2 across affected packages: multi_xml.
What version fixes CVE-2013-0175?
Upgrading to 0.5.2 (or the latest patched release for your respective branch) resolves the vulnerability.
Is multi_xml affected?
Yes, multi_xml is affected in releases prior to 0.5.2. Upgrade your dependency to 0.5.2 or later.
What CWE is associated with CVE-2013-0175?
CVE-2013-0175 is classified under CWE-20: Improper Input Validation (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.).
How can I check RubyGems dependencies for CVE-2013-0175?
Run the dependency tree command: 'inspect dependencies for multi_xml'. This command lists direct and transitive dependencies in your build configuration so you can verify if a vulnerable version is resolved.
Machine-readable OSV JSON OSV v1.5 Schema
Normalized schema output
{
  "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"
  }
}