CVE-2013-0175

critical

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.

References

https://news.ycombinator.com/item?id=5040457

https://groups.google.com/forum/?fromgroups=#%21topic/ruby-grape/fthDkMgIOa0

https://github.com/sferik/multi_xml/pull/34

https://gist.github.com/nate/d7f6d9f4925f413621aa

http://www.openwall.com/lists/oss-security/2013/01/11/9

Details

Source: Mitre, NVD

Published: 2013-04-25

Updated: 2023-02-13

Risk Information

CVSS v2

Base Score: 7.5

Vector: CVSS2#AV:N/AC:L/Au:N/C:P/I:P/A:P

Severity: High

CVSS v3

Base Score: 9.8

Vector: CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Severity: Critical