GitHub Advisoryadvisory · RubyGems
GHSA-9h36-4jf2-hx53 extlib does not properly restrict casts of string values
HIGH
Official page ↗
- Aliases
- CVE-2013-1802
- Ecosystem
- RubyGems
- Packages
- extlib
- Severity
- High
- Weaknesses
- CWE-704
- Reviewed
- 2020-06-16
Affected packages
• RubyGems extlib: < 0.9.16 → fixed in 0.9.16
Description
The extlib gem 0.9.15 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 (1) YAML type conversion or (2) Symbol type conversion, a similar vulnerability to CVE-2013-0156.
Related
Alias · CVE (1)
- CVE-2013-1802 The extlib gem 0.9.15 and earlier for Ruby does not properly restrict casts of string values, which might allow remote attackers to conduct… vulnerability
Weakness · CWE (1)
- CWE-704 Incorrect Type Conversion or Cast weakness
References
- https://nvd.nist.gov/vuln/detail/CVE-2013-1802 advisory
- https://bugzilla.redhat.com/show_bug.cgi?id=917233 web
- https://github.com/datamapper/extlib package
- https://github.com/datamapper/extlib/compare/b4f98174ec35ac96f76a08d5624fad05d22879b5...4540e7102b803624cc2eade4bb8aaaa934fc31c5 web
- https://github.com/rubysec/ruby-advisory-db/blob/master/gems/extlib/CVE-2013-1802.yml web
- https://web.archive.org/web/20130203232028/https://support.cloud.engineyard.com/entries/22915701-january-14-2013-security-vulnerabilities-httparty-extlib-crack-nori-update-these-gems-immediately web
- http://lists.opensuse.org/opensuse-security-announce/2013-04/msg00002.html web