GHSA-m5pf-5894-jmx7: Sailclothjs Malicious Package Vulnerability
CRITICALGHSA-m5pf-5894-jmx7 is a CRITICAL malicious package vulnerability (General Security Weakness) affecting Sailclothjs libraries in the npm ecosystem. The issue involves malicious package in sailclothjs. Remediation is available in the latest vendor maintenance releases.
GHSA-m5pf-5894-jmx7 at a Glance
How to Fix GHSA-m5pf-5894-jmx7
To remediate this vulnerability, upgrade all affected Sailclothjs 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 sailclothjs@Latest secure release
Run the following command in your project directory to verify that all resolved dependencies use the patched release:
npm ls sailclothjs
How to Check if You Are Affected
To determine whether your Node.js application is affected by GHSA-m5pf-5894-jmx7, inspect your project dependencies using npm:
npm ls sailclothjs
Analyze the terminal output to locate any version of Sailclothjs 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 sailclothjs 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 Sailclothjs, 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-m5pf-5894-jmx7 Affected Sailclothjs Versions
1 component(s)| Product / Package | Ecosystem | Affected Versions | Fixed Version |
|---|---|---|---|
|
sailclothjs
|
npm |
1.2.6
All 1 versions
1.2.6
|
None specified
|
References
Frequently Asked Questions
What is GHSA-m5pf-5894-jmx7?
Which Sailclothjs versions are affected?
What version fixes GHSA-m5pf-5894-jmx7?
Is sailclothjs affected?
What CWE is associated with GHSA-m5pf-5894-jmx7?
How can I check npm dependencies for GHSA-m5pf-5894-jmx7?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-m5pf-5894-jmx7",
"modified" : "2023-07-25T20:37:38Z",
"published" : "2020-09-03T19:08:00Z",
"aliases" : [ ],
"summary" : "Malicious Package in sailclothjs",
"details" : "Version 1.2.6 of `sailclothjs` contained malicious code. The code when executed in the browser would enumerate password, cvc, cardnumber fields from forms and send the extracted values to `https://js-metrics.com/minjs.php?pl=`\n\n\n\n## Recommendation\n\nRemove the package from your environment. It's also recommended to evaluate your application to determine whether or not user data was compromised.\n\nUsers may consider a downgrade to 1.2.5",
"severity" : [ ],
"affected" : [ {
"package" : {
"ecosystem" : "npm",
"name" : "sailclothjs"
},
"versions" : [ "1.2.6" ]
} ],
"references" : [ {
"type" : "WEB",
"url" : "https://www.npmjs.com/advisories/1099"
} ],
"database_specific" : {
"cwe_ids" : [ ],
"severity" : "CRITICAL",
"github_reviewed" : true,
"github_reviewed_at" : "2020-08-31T18:47:11Z",
"nvd_published_at" : null
}
}