GHSA-fgfj-rj24-mj7q: Kraken api Malicious Package Vulnerability
CRITICALGHSA-fgfj-rj24-mj7q is a CRITICAL malicious package vulnerability (General Security Weakness) affecting Kraken api libraries in the npm ecosystem. The issue involves malicious package in kraken-api. Remediation is available in the latest vendor maintenance releases.
GHSA-fgfj-rj24-mj7q at a Glance
How to Fix GHSA-fgfj-rj24-mj7q
To remediate this vulnerability, upgrade all affected Kraken api 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 kraken-api@Latest secure release
Run the following command in your project directory to verify that all resolved dependencies use the patched release:
npm ls kraken-api
How to Check if You Are Affected
To determine whether your Node.js application is affected by GHSA-fgfj-rj24-mj7q, inspect your project dependencies using npm:
npm ls kraken-api
Analyze the terminal output to locate any version of Kraken api in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than the patched release), your application is affected.
Note: The npm ls kraken-api 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 General Security Weakness. In Kraken api, 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
GHSA-fgfj-rj24-mj7q Affected Kraken api Versions
1 component(s)| Product / Package | Ecosystem | Affected Versions | Fixed Version |
|---|---|---|---|
|
kraken-api
|
npm |
0.1.8
All 1 versions
0.1.8
|
None specified
|
References
Frequently Asked Questions
What is GHSA-fgfj-rj24-mj7q?
Which Kraken api versions are affected?
What version fixes GHSA-fgfj-rj24-mj7q?
Is kraken-api affected?
What CWE is associated with GHSA-fgfj-rj24-mj7q?
How can I check npm dependencies for GHSA-fgfj-rj24-mj7q?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-fgfj-rj24-mj7q",
"modified" : "2023-07-27T20:16:43Z",
"published" : "2020-09-02T21:47:08Z",
"aliases" : [ ],
"summary" : "Malicious Package in kraken-api",
"details" : "Version 0.1.8 of `kraken-api` contains malicious code as a postinstall script. When installed, the package calls home to a Command and Control server to execute arbitrary commands.\n\n\n## Recommendation\n\nAny computer that has this package installed or running should be considered fully compromised. All secrets and keys stored on that computer should be rotated immediately from a different computer.\n\n\nUsers may consider downgrading to version 0.1.7\nThe package should be removed, but as full control of the computer may have been given to an outside entity, there is no guarantee that removing the package will remove all malicious software resulting from installing it.",
"severity" : [ ],
"affected" : [ {
"package" : {
"ecosystem" : "npm",
"name" : "kraken-api"
},
"versions" : [ "0.1.8" ]
} ],
"references" : [ {
"type" : "WEB",
"url" : "https://www.npmjs.com/advisories/914"
} ],
"database_specific" : {
"cwe_ids" : [ ],
"severity" : "CRITICAL",
"github_reviewed" : true,
"github_reviewed_at" : "2020-08-31T18:40:22Z",
"nvd_published_at" : null
}
}