Vulnerabilities in pkg:gem/nori
PACKAGECVE-2013-0285 is a HIGH nori contains improper input validation vulnerability (CWE-20: Improper Input Validation) affecting Nori libraries in the RubyGems ecosystem. The issue involves nori contains improper input validation. Remediation is available by upgrading affected packages to version 2.0.2, 1.1.4, 1.0.3.
pkg:gem/nori
Vulnerability advisories affecting package pkg:gem/nori. Select an advisory below to view technical details or fixes.
| Advisory ID | CVE / NVD | Severity | Summary |
|---|---|---|---|
| GHSA-4936-rj25-6wm6 | CVE-2013-0285 | HIGH | nori contains Improper Input Validation |
CVE-2013-0285 at a Glance
How to Fix CVE-2013-0285
To remediate this vulnerability, upgrade all affected Nori dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.
Upgrade nori to 2.0.2
Upgrade nori to 1.1.4
Upgrade nori to 1.0.3
Run the following command in your project directory to verify that all resolved dependencies use the patched release:
inspect dependencies for nori
How to Check if You Are Affected
To determine whether your application is affected by CVE-2013-0285, inspect your project dependencies for Nori:
inspect dependencies for nori
Analyze the terminal output to locate any version of Nori in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 2.0.2), your application is affected.
Note: Verify declared build manifests and deployed runtime container environments.
Technical Details
Vulnerability Mechanism & Technical Analysis
This vulnerability is classified under CWE-20: Improper Input Validation, where the product receives input or data, but it does not validate or incorrectly validates that the input has the properties that are required to process the data safely and correctly. In Nori, software state validation or input boundaries are circumvented during processing. Review the official source advisory statement below for specific affected components, classes, and reproduction details.
Source Advisory Statement
CVE-2013-0285 Affected Nori Versions
3 component(s)References
Frequently Asked Questions
What is CVE-2013-0285?
Which Nori versions are affected?
What version fixes CVE-2013-0285?
Is nori affected?
What CWE is associated with CVE-2013-0285?
How can I check RubyGems dependencies for CVE-2013-0285?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-4936-rj25-6wm6",
"modified" : "2023-01-20T22:08:42Z",
"published" : "2017-10-24T18:33:37Z",
"aliases" : [ "CVE-2013-0285" ],
"summary" : "nori contains Improper Input Validation",
"details" : "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.",
"severity" : [ ],
"affected" : [ {
"package" : {
"ecosystem" : "RubyGems",
"name" : "nori"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "2.0.0"
}, {
"fixed" : "2.0.2"
} ]
} ]
}, {
"package" : {
"ecosystem" : "RubyGems",
"name" : "nori"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "1.1.0"
}, {
"fixed" : "1.1.4"
} ]
} ]
}, {
"package" : {
"ecosystem" : "RubyGems",
"name" : "nori"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "1.0.0"
}, {
"fixed" : "1.0.3"
} ]
} ]
} ],
"references" : [ {
"type" : "ADVISORY",
"url" : "https://nvd.nist.gov/vuln/detail/CVE-2013-0285"
}, {
"type" : "WEB",
"url" : "https://github.com/savonrb/nori/commit/2ca6f8603e406f884a8fcea6bc26f8f6bf168f40"
}, {
"type" : "WEB",
"url" : "https://github.com/savonrb/nori/commit/4bcf59abdcec6bcd1153241b122eda61a494e4fb"
}, {
"type" : "WEB",
"url" : "https://github.com/savonrb/nori/commit/818f5263b1d597b603d46cbe1702cd2717259e32"
}, {
"type" : "WEB",
"url" : "https://github.com/savonrb/nori/commit/c3fdce7a2d2670b44f1cda35da0ae73cc1372084"
}, {
"type" : "WEB",
"url" : "https://github.com/savonrb/nori/commit/c5e07f5c32e615f0a4a7ee2782d37f7a33261be4"
}, {
"type" : "WEB",
"url" : "https://github.com/savonrb/nori/commit/d9b68667249b98776fb23ba9e9c548dc4b524709"
}, {
"type" : "ADVISORY",
"url" : "https://github.com/advisories/GHSA-4936-rj25-6wm6"
}, {
"type" : "WEB",
"url" : "https://github.com/rubysec/ruby-advisory-db/blob/master/gems/nori/CVE-2013-0285.yml"
}, {
"type" : "PACKAGE",
"url" : "https://github.com/savonrb/nori"
}, {
"type" : "WEB",
"url" : "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"
}, {
"type" : "WEB",
"url" : "http://seclists.org/oss-sec/2013/q1/304"
} ],
"database_specific" : {
"cwe_ids" : [ "CWE-20" ],
"severity" : "HIGH",
"github_reviewed" : true,
"github_reviewed_at" : "2020-06-16T20:57:55Z",
"nvd_published_at" : null
}
}