CVE-2019-9115: Irisnet crypto Remote Code Execution Vulnerability
CRITICALCVE-2019-9115 is a CRITICAL (CVSS 9.8) remote code execution vulnerability (CWE-94: Improper Control of Generation of Code ('Code Injection')) affecting Irisnet crypto libraries in the npm ecosystem. The issue involves irisnet-crypto rce vulnerability. Remediation is available by upgrading affected packages to version 1.1.7.
CVE-2019-9115 at a Glance
Security Impact
CVSS: 9.8
The security impact metrics below are parsed directly from the CVSS v3.1 vector string (CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H).
How to Fix CVE-2019-9115
To remediate this vulnerability, upgrade all affected Irisnet crypto dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.
npm install irisnet-crypto@1.1.7
Run the following command in your project directory to verify that all resolved dependencies use the patched release:
npm ls irisnet-crypto
How to Check if You Are Affected
To determine whether your Node.js application is affected by CVE-2019-9115, inspect your project dependencies using npm:
npm ls irisnet-crypto
Analyze the terminal output to locate any version of Irisnet crypto in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 1.1.7), your application is affected.
Note: The npm ls irisnet-crypto command inspects dependencies declared in your package.json and lockfile; it does not perform automated runtime dynamic scanning.
Technical Details
Vulnerability Mechanism & Technical Analysis
This vulnerability is classified under CWE-94: Improper Control of Generation of Code ('Code Injection'), where the product constructs all or part of a code segment using externally-influenced input from an upstream component, but it does not neutralize or incorrectly neutralizes special elements that could modify the syntax or behavior of the intended code segment. In Irisnet crypto, 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-2019-9115 Affected Irisnet crypto Versions
1 component(s)| Product / Package | Ecosystem | Affected Versions | Fixed Version |
|---|---|---|---|
|
irisnet-crypto
|
npm |
< 1.1.7
|
1.1.7
|
References
Frequently Asked Questions
What is CVE-2019-9115?
Which Irisnet crypto versions are affected?
What version fixes CVE-2019-9115?
Is irisnet-crypto affected?
What is the CVSS score of CVE-2019-9115?
What CWE is associated with CVE-2019-9115?
How can I check npm dependencies for CVE-2019-9115?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-5fh8-x9xc-hxmc",
"modified" : "2023-09-28T19:59:10Z",
"published" : "2022-05-13T01:08:18Z",
"aliases" : [ "CVE-2019-9115" ],
"summary" : "irisnet-crypto RCE Vulnerability",
"details" : "In irisnet-crypto before 1.1.7 for IRISnet, the util/utils.js file allows code execution because of unsafe eval usage.",
"severity" : [ {
"type" : "CVSS_V3",
"score" : "CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H"
} ],
"affected" : [ {
"package" : {
"ecosystem" : "npm",
"name" : "irisnet-crypto"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "0"
}, {
"fixed" : "1.1.7"
} ]
} ]
} ],
"references" : [ {
"type" : "ADVISORY",
"url" : "https://nvd.nist.gov/vuln/detail/CVE-2019-9115"
}, {
"type" : "WEB",
"url" : "https://github.com/irisnet/irisnet-crypto/issues/60"
}, {
"type" : "WEB",
"url" : "https://github.com/dreamer-zq/irisnet-crypto/commit/7ea0e65ece9c059ad8cb1ccec8e4c849af58c48d"
}, {
"type" : "PACKAGE",
"url" : "https://github.com/dreamer-zq/irisnet-crypto"
} ],
"database_specific" : {
"cwe_ids" : [ "CWE-94" ],
"severity" : "CRITICAL",
"github_reviewed" : true,
"github_reviewed_at" : "2023-07-19T20:05:42Z",
"nvd_published_at" : "2019-02-25T04:29:00Z"
}
}