GitHub Advisoryadvisory · RubyGems
GHSA-4936-rj25-6wm6 nori contains Improper Input Validation
HIGH
Official page ↗
- Aliases
- CVE-2013-0285
- Ecosystem
- RubyGems
- Packages
- nori
- Severity
- High
- Weaknesses
- CWE-20
- Reviewed
- 2020-06-16
Affected packages
• RubyGems nori: >= 2.0.0, < 2.0.2 → fixed in 2.0.2
• RubyGems nori: >= 1.1.0, < 1.1.4 → fixed in 1.1.4
• RubyGems nori: >= 1.0.0, < 1.0.3 → fixed in 1.0.3
Description
The nori gem 2.0.x before 2.0.2, 1.1.x before 1.1.4, and 1.0.x before 1.0.3 for Ruby 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 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-0285 The nori gem 2.0.x before 2.0.2, 1.1.x before 1.1.4, and 1.0.x before 1.0.3 for Ruby does not properly restrict casts of string values,… vulnerability
Weakness · CWE (1)
- CWE-20 Improper Input Validation weakness
References
- https://nvd.nist.gov/vuln/detail/CVE-2013-0285 advisory
- https://github.com/savonrb/nori/commit/2ca6f8603e406f884a8fcea6bc26f8f6bf168f40 web
- https://github.com/savonrb/nori/commit/4bcf59abdcec6bcd1153241b122eda61a494e4fb web
- https://github.com/savonrb/nori/commit/818f5263b1d597b603d46cbe1702cd2717259e32 web
- https://github.com/savonrb/nori/commit/c3fdce7a2d2670b44f1cda35da0ae73cc1372084 web
- https://github.com/savonrb/nori/commit/c5e07f5c32e615f0a4a7ee2782d37f7a33261be4 web
- https://github.com/savonrb/nori/commit/d9b68667249b98776fb23ba9e9c548dc4b524709 web
- https://github.com/advisories/GHSA-4936-rj25-6wm6 advisory
- https://github.com/rubysec/ruby-advisory-db/blob/master/gems/nori/CVE-2013-0285.yml web
- https://github.com/savonrb/nori package
- 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://seclists.org/oss-sec/2013/q1/304 web