All the vulnerabilites related to grape_project - grape
cve-2013-0175
Vulnerability from cvelistv5
Published
2013-04-25 23:00
Modified
2024-08-06 14:18
Severity ?
Summary
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.
Impacted products
Vendor Product Version
Show details on NVD website


{
  "containers": {
    "adp": [
      {
        "providerMetadata": {
          "dateUpdated": "2024-08-06T14:18:09.043Z",
          "orgId": "af854a3a-2127-422b-91ae-364da2661108",
          "shortName": "CVE"
        },
        "references": [
          {
            "tags": [
              "x_refsource_CONFIRM",
              "x_transferred"
            ],
            "url": "https://github.com/sferik/multi_xml/pull/34"
          },
          {
            "tags": [
              "x_refsource_CONFIRM",
              "x_transferred"
            ],
            "url": "https://gist.github.com/nate/d7f6d9f4925f413621aa"
          },
          {
            "name": "[oss-security] 20130111 Re: CVE request for multi_xml ruby gem (has same problem as CVE-2013-0156)",
            "tags": [
              "mailing-list",
              "x_refsource_MLIST",
              "x_transferred"
            ],
            "url": "http://www.openwall.com/lists/oss-security/2013/01/11/9"
          },
          {
            "tags": [
              "x_refsource_CONFIRM",
              "x_transferred"
            ],
            "url": "https://groups.google.com/forum/?fromgroups=#%21topic/ruby-grape/fthDkMgIOa0"
          },
          {
            "tags": [
              "x_refsource_MISC",
              "x_transferred"
            ],
            "url": "https://news.ycombinator.com/item?id=5040457"
          }
        ],
        "title": "CVE Program Container"
      }
    ],
    "cna": {
      "affected": [
        {
          "product": "n/a",
          "vendor": "n/a",
          "versions": [
            {
              "status": "affected",
              "version": "n/a"
            }
          ]
        }
      ],
      "descriptions": [
        {
          "lang": "en",
          "value": "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."
        }
      ],
      "problemTypes": [
        {
          "descriptions": [
            {
              "description": "n/a",
              "lang": "en",
              "type": "text"
            }
          ]
        }
      ],
      "providerMetadata": {
        "dateUpdated": "2013-04-25T23:00:00Z",
        "orgId": "53f830b8-0a3f-465b-8143-3b8a9948e749",
        "shortName": "redhat"
      },
      "references": [
        {
          "tags": [
            "x_refsource_CONFIRM"
          ],
          "url": "https://github.com/sferik/multi_xml/pull/34"
        },
        {
          "tags": [
            "x_refsource_CONFIRM"
          ],
          "url": "https://gist.github.com/nate/d7f6d9f4925f413621aa"
        },
        {
          "name": "[oss-security] 20130111 Re: CVE request for multi_xml ruby gem (has same problem as CVE-2013-0156)",
          "tags": [
            "mailing-list",
            "x_refsource_MLIST"
          ],
          "url": "http://www.openwall.com/lists/oss-security/2013/01/11/9"
        },
        {
          "tags": [
            "x_refsource_CONFIRM"
          ],
          "url": "https://groups.google.com/forum/?fromgroups=#%21topic/ruby-grape/fthDkMgIOa0"
        },
        {
          "tags": [
            "x_refsource_MISC"
          ],
          "url": "https://news.ycombinator.com/item?id=5040457"
        }
      ]
    }
  },
  "cveMetadata": {
    "assignerOrgId": "53f830b8-0a3f-465b-8143-3b8a9948e749",
    "assignerShortName": "redhat",
    "cveId": "CVE-2013-0175",
    "datePublished": "2013-04-25T23:00:00Z",
    "dateReserved": "2012-12-06T00:00:00Z",
    "dateUpdated": "2024-08-06T14:18:09.043Z",
    "state": "PUBLISHED"
  },
  "dataType": "CVE_RECORD",
  "dataVersion": "5.1"
}

Vulnerability from fkie_nvd
Published
2013-04-25 23:55
Modified
2024-11-21 01:46
Severity ?
Summary
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.



{
  "configurations": [
    {
      "nodes": [
        {
          "cpeMatch": [
            {
              "criteria": "cpe:2.3:a:erik_michaels-ober:multi_xml:0.5.2:*:*:*:*:*:*:*",
              "matchCriteriaId": "28BB74BA-387E-4EDC-89BD-C83A5F7E8757",
              "vulnerable": true
            }
          ],
          "negate": false,
          "operator": "OR"
        },
        {
          "cpeMatch": [
            {
              "criteria": "cpe:2.3:a:ruby-lang:ruby:*:*:*:*:*:*:*:*",
              "matchCriteriaId": "264DD094-A8CD-465D-B279-C834DDA5F79C",
              "vulnerable": false
            }
          ],
          "negate": false,
          "operator": "OR"
        }
      ],
      "operator": "AND"
    },
    {
      "nodes": [
        {
          "cpeMatch": [
            {
              "criteria": "cpe:2.3:a:erik_michaels-ober:multi_xml:0.5.2:*:*:*:*:*:*:*",
              "matchCriteriaId": "28BB74BA-387E-4EDC-89BD-C83A5F7E8757",
              "vulnerable": true
            },
            {
              "criteria": "cpe:2.3:a:grape_project:grape:0.1.0:*:*:*:*:*:*:*",
              "matchCriteriaId": "1E127DAB-366C-4EF8-BA31-75710F6C3EB8",
              "vulnerable": true
            },
            {
              "criteria": "cpe:2.3:a:grape_project:grape:0.1.1:*:*:*:*:*:*:*",
              "matchCriteriaId": "A2232040-600B-4700-A003-4938A69472AF",
              "vulnerable": true
            },
            {
              "criteria": "cpe:2.3:a:grape_project:grape:0.1.2:*:*:*:*:*:*:*",
              "matchCriteriaId": "0D32EC21-9ED8-4AB9-A863-377B3FC65524",
              "vulnerable": true
            },
            {
              "criteria": "cpe:2.3:a:grape_project:grape:0.1.3:*:*:*:*:*:*:*",
              "matchCriteriaId": "911EEC0A-A036-4612-ADA0-F37A60391731",
              "vulnerable": true
            },
            {
              "criteria": "cpe:2.3:a:grape_project:grape:0.1.4:*:*:*:*:*:*:*",
              "matchCriteriaId": "AE5ED3F1-5108-41CE-9136-76C637D1515E",
              "vulnerable": true
            },
            {
              "criteria": "cpe:2.3:a:grape_project:grape:0.1.5:*:*:*:*:*:*:*",
              "matchCriteriaId": "A782D309-3921-41A9-B651-7140DAA3B8F8",
              "vulnerable": true
            },
            {
              "criteria": "cpe:2.3:a:grape_project:grape:0.2.0:*:*:*:*:*:*:*",
              "matchCriteriaId": "B936CD4A-AC45-44B0-A583-7F2EC00AEC0A",
              "vulnerable": true
            },
            {
              "criteria": "cpe:2.3:a:grape_project:grape:0.2.1:*:*:*:*:*:*:*",
              "matchCriteriaId": "A3F9EBC0-F68A-403D-9EE8-E3B028B6AD08",
              "vulnerable": true
            },
            {
              "criteria": "cpe:2.3:a:grape_project:grape:0.2.2:*:*:*:*:*:*:*",
              "matchCriteriaId": "FB8D75D8-3E36-4416-B340-BF106E851AA9",
              "vulnerable": true
            },
            {
              "criteria": "cpe:2.3:a:grape_project:grape:0.2.3:*:*:*:*:*:*:*",
              "matchCriteriaId": "13955945-3FBD-4A5E-8412-B0FAE846ABAC",
              "vulnerable": true
            },
            {
              "criteria": "cpe:2.3:a:grape_project:grape:0.2.4:*:*:*:*:*:*:*",
              "matchCriteriaId": "332884DB-6D64-42F2-B377-1AEB7FF62DF2",
              "vulnerable": true
            },
            {
              "criteria": "cpe:2.3:a:grape_project:grape:0.2.5:*:*:*:*:*:*:*",
              "matchCriteriaId": "D8BE3F96-6394-45ED-A606-516A76A213F6",
              "vulnerable": true
            }
          ],
          "negate": false,
          "operator": "OR"
        }
      ]
    }
  ],
  "cveTags": [],
  "descriptions": [
    {
      "lang": "en",
      "value": "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."
    },
    {
      "lang": "es",
      "value": "multi_xml v0.5.2 de Ruby, tal como se utiliza en Grape antes de v0.2.6 y posiblemente otros productos, no restringe debidamente vaciados de valores de cadena, lo que permite a atacantes remotos realizar ataques de inyecci\u00f3n a objetos y ejecutar c\u00f3digo arbitrario o causar una denegaci\u00f3n de servicio (consumo de memoria y CPU) que implica anidadas referencias de entidad XML, mediante el aprovechamiento de apoyo (1) YAML conversi\u00f3n de tipo o (2) la conversi\u00f3n de tipos Symbol, una vulnerabilidad similar a CVE-2013-0156."
    }
  ],
  "id": "CVE-2013-0175",
  "lastModified": "2024-11-21T01:46:59.977",
  "metrics": {
    "cvssMetricV2": [
      {
        "acInsufInfo": false,
        "baseSeverity": "HIGH",
        "cvssData": {
          "accessComplexity": "LOW",
          "accessVector": "NETWORK",
          "authentication": "NONE",
          "availabilityImpact": "PARTIAL",
          "baseScore": 7.5,
          "confidentialityImpact": "PARTIAL",
          "integrityImpact": "PARTIAL",
          "vectorString": "AV:N/AC:L/Au:N/C:P/I:P/A:P",
          "version": "2.0"
        },
        "exploitabilityScore": 10.0,
        "impactScore": 6.4,
        "obtainAllPrivilege": false,
        "obtainOtherPrivilege": false,
        "obtainUserPrivilege": false,
        "source": "nvd@nist.gov",
        "type": "Primary",
        "userInteractionRequired": false
      }
    ]
  },
  "published": "2013-04-25T23:55:01.410",
  "references": [
    {
      "source": "secalert@redhat.com",
      "url": "http://www.openwall.com/lists/oss-security/2013/01/11/9"
    },
    {
      "source": "secalert@redhat.com",
      "url": "https://gist.github.com/nate/d7f6d9f4925f413621aa"
    },
    {
      "source": "secalert@redhat.com",
      "url": "https://github.com/sferik/multi_xml/pull/34"
    },
    {
      "source": "secalert@redhat.com",
      "url": "https://groups.google.com/forum/?fromgroups=#%21topic/ruby-grape/fthDkMgIOa0"
    },
    {
      "source": "secalert@redhat.com",
      "url": "https://news.ycombinator.com/item?id=5040457"
    },
    {
      "source": "af854a3a-2127-422b-91ae-364da2661108",
      "url": "http://www.openwall.com/lists/oss-security/2013/01/11/9"
    },
    {
      "source": "af854a3a-2127-422b-91ae-364da2661108",
      "url": "https://gist.github.com/nate/d7f6d9f4925f413621aa"
    },
    {
      "source": "af854a3a-2127-422b-91ae-364da2661108",
      "url": "https://github.com/sferik/multi_xml/pull/34"
    },
    {
      "source": "af854a3a-2127-422b-91ae-364da2661108",
      "url": "https://groups.google.com/forum/?fromgroups=#%21topic/ruby-grape/fthDkMgIOa0"
    },
    {
      "source": "af854a3a-2127-422b-91ae-364da2661108",
      "url": "https://news.ycombinator.com/item?id=5040457"
    }
  ],
  "sourceIdentifier": "secalert@redhat.com",
  "vulnStatus": "Modified",
  "weaknesses": [
    {
      "description": [
        {
          "lang": "en",
          "value": "CWE-20"
        }
      ],
      "source": "nvd@nist.gov",
      "type": "Primary"
    }
  ]
}