GHSA-73qr-pfmq-6rp8: Coa Embedded Malware Vulnerability
CRITICALGHSA-73qr-pfmq-6rp8 is a CRITICAL embedded malware vulnerability (CWE-506: Embedded Malicious Code) affecting Coa libraries in the npm ecosystem. The issue involves embedded malware in coa. Remediation is available in the latest vendor maintenance releases.
GHSA-73qr-pfmq-6rp8 at a Glance
How to Fix GHSA-73qr-pfmq-6rp8
To remediate this vulnerability, upgrade all affected Coa 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 coa@Latest secure release
npm install coa@Latest secure release
npm install coa@Latest secure release
npm install coa@Latest secure release
npm install coa@Latest secure release
npm install coa@Latest secure release
Run the following command in your project directory to verify that all resolved dependencies use the patched release:
npm ls coa
How to Check if You Are Affected
To determine whether your Node.js application is affected by GHSA-73qr-pfmq-6rp8, inspect your project dependencies using npm:
npm ls coa
Analyze the terminal output to locate any version of Coa 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 coa 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-506: Embedded Malicious Code, where the product contains code that appears to be malicious in nature. In Coa, 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-73qr-pfmq-6rp8 Affected Coa Versions
6 component(s)| Product / Package | Ecosystem | Affected Versions | Fixed Version |
|---|---|---|---|
|
coa
|
npm |
2.0.3
All 1 versions
2.0.3
|
None specified
|
|
coa
|
npm |
2.0.4
All 1 versions
2.0.4
|
None specified
|
|
coa
|
npm |
2.1.1
All 1 versions
2.1.1
|
None specified
|
|
coa
|
npm |
2.1.3
All 1 versions
2.1.3
|
None specified
|
|
coa
|
npm |
3.0.1
All 1 versions
3.0.1
|
None specified
|
|
coa
|
npm |
3.1.3
All 1 versions
3.1.3
|
None specified
|
References
Frequently Asked Questions
What is GHSA-73qr-pfmq-6rp8?
Which Coa versions are affected?
What version fixes GHSA-73qr-pfmq-6rp8?
Is coa affected?
What CWE is associated with GHSA-73qr-pfmq-6rp8?
How can I check npm dependencies for GHSA-73qr-pfmq-6rp8?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-73qr-pfmq-6rp8",
"modified" : "2022-09-07T22:16:29Z",
"published" : "2021-11-04T16:22:28Z",
"aliases" : [ ],
"summary" : "Embedded malware in coa",
"details" : "The npm package `coa` had versions published with malicious code. Users of affected versions (2.0.3 and above) should downgrade to 2.0.2 as soon as possible and check their systems for suspicious activity. See [this issue](https://github.com/veged/coa/issues/99) for details as they unfold.\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. The 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" : "coa"
},
"versions" : [ "2.0.3" ]
}, {
"package" : {
"ecosystem" : "npm",
"name" : "coa"
},
"versions" : [ "2.0.4" ]
}, {
"package" : {
"ecosystem" : "npm",
"name" : "coa"
},
"versions" : [ "2.1.1" ]
}, {
"package" : {
"ecosystem" : "npm",
"name" : "coa"
},
"versions" : [ "2.1.3" ]
}, {
"package" : {
"ecosystem" : "npm",
"name" : "coa"
},
"versions" : [ "3.0.1" ]
}, {
"package" : {
"ecosystem" : "npm",
"name" : "coa"
},
"versions" : [ "3.1.3" ]
} ],
"references" : [ {
"type" : "WEB",
"url" : "https://github.com/veged/coa/issues/99"
}, {
"type" : "PACKAGE",
"url" : "https://github.com/veged/coa"
}, {
"type" : "WEB",
"url" : "https://therecord.media/malware-found-in-coa-and-rc-two-npm-packages-with-23m-weekly-downloads"
}, {
"type" : "WEB",
"url" : "https://www.virustotal.com/gui/file/26451f7f6fe297adf6738295b1dcc70f7678434ef21d8b6aad5ec00beb8a72cf?nocache=1"
} ],
"database_specific" : {
"cwe_ids" : [ "CWE-506" ],
"severity" : "CRITICAL",
"github_reviewed" : true,
"github_reviewed_at" : "2021-11-04T16:19:49Z",
"nvd_published_at" : null
}
}