GHSA-3wjm-33mw-h388: S3asy Malicious Package Vulnerability
CRITICALGHSA-3wjm-33mw-h388 is a CRITICAL malicious package vulnerability (General Security Weakness) affecting S3asy libraries in the npm ecosystem. The issue involves malicious package in s3asy. Remediation is available in the latest vendor maintenance releases.
GHSA-3wjm-33mw-h388 at a Glance
How to Fix GHSA-3wjm-33mw-h388
To remediate this vulnerability, upgrade all affected S3asy 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 s3asy@Latest secure release
Run the following command in your project directory to verify that all resolved dependencies use the patched release:
npm ls s3asy
How to Check if You Are Affected
To determine whether your Node.js application is affected by GHSA-3wjm-33mw-h388, inspect your project dependencies using npm:
npm ls s3asy
Analyze the terminal output to locate any version of S3asy 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 s3asy 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 S3asy, 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-3wjm-33mw-h388 Affected S3asy Versions
1 component(s)| Product / Package | Ecosystem | Affected Versions | Fixed Version |
|---|---|---|---|
|
s3asy
|
npm |
0.4.8
All 1 versions
0.4.8
|
None specified
|
References
Frequently Asked Questions
What is GHSA-3wjm-33mw-h388?
Which S3asy versions are affected?
What version fixes GHSA-3wjm-33mw-h388?
Is s3asy affected?
What CWE is associated with GHSA-3wjm-33mw-h388?
How can I check npm dependencies for GHSA-3wjm-33mw-h388?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-3wjm-33mw-h388",
"modified" : "2023-07-27T20:10:51Z",
"published" : "2020-09-01T20:34:14Z",
"aliases" : [ ],
"summary" : "Malicious Package in s3asy",
"details" : "Version 0.4.8 of `s3asy` 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\nIf version 0.4.8 of this module is found installed you will want to replace it with a version before or after 0.4.8. In addition to replacing the installed module, you will also want to evaluate your application to determine whether or not user data was compromised.\n\nUsers may consider downgrading to version 0.4.7",
"severity" : [ ],
"affected" : [ {
"package" : {
"ecosystem" : "npm",
"name" : "s3asy"
},
"versions" : [ "0.4.8" ]
} ],
"references" : [ {
"type" : "WEB",
"url" : "https://www.npmjs.com/advisories/636"
} ],
"database_specific" : {
"cwe_ids" : [ ],
"severity" : "CRITICAL",
"github_reviewed" : true,
"github_reviewed_at" : "2020-08-31T18:30:46Z",
"nvd_published_at" : null
}
}