GitHub Advisoryadvisory · RubyGems
GHSA-mgx3-27hr-mfgp HTTParty does not restrict casts of string values
HIGH
Official page ↗
- Aliases
- CVE-2013-1801
- Ecosystem
- RubyGems
- Packages
- httparty
- Severity
- High
- Weaknesses
- CWE-74
- Reviewed
- 2020-06-16
Affected packages
• RubyGems httparty: < 0.10.0 → fixed in 0.10.0
Description
The httparty gem 0.9.0 and earlier for Ruby does not properly restrict casts of string values, which might allow remote attackers to conduct object-injection attacks and execute arbitrary code, or cause a denial of service (memory and CPU consumption) by leveraging Action Pack support for YAML type conversion, a similar vulnerability to CVE-2013-0156.
Related
Alias · CVE (1)
- CVE-2013-1801 The httparty gem 0.9.0 and earlier for Ruby does not properly restrict casts of string values, which might allow remote attackers to… vulnerability
Weakness · CWE (1)
- CWE-74 Improper Neutralization of Special Elements in Output Used by a Downstream Component weakness
References
- https://nvd.nist.gov/vuln/detail/CVE-2013-1801 advisory
- https://github.com/jnunemaker/httparty/commit/53a812426dd32108d6cba4272b493aa03bc8c031 web
- https://bugzilla.redhat.com/show_bug.cgi?id=917229 web
- https://github.com/jnunemaker/httparty package
- https://github.com/rubysec/ruby-advisory-db/blob/master/gems/httparty/CVE-2013-1801.yml web
- https://support.cloud.engineyard.com/entries/22915701-january-14-2013-security-vulnerabilities-httparty-extlib-crack-nori-update-these-gems-immediately web
- https://web.archive.org/web/20200229101716/http://www.securityfocus.com/bid/58260 web