Vulnerabilities in pkg:npm/coa

PACKAGE
Advisory Summary

GHSA-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.

1 Known Advisory Record(s)
Package Vulnerability Intelligence

pkg:npm/coa

1 Known Advisory Record(s)

Vulnerability advisories affecting package pkg:npm/coa. Select an advisory below to view technical details or fixes.

Advisory ID CVE / NVD Severity Summary
GHSA-73qr-pfmq-6rp8 - CRITICAL Embedded malware in coa

GHSA-73qr-pfmq-6rp8 at a Glance

CVE Identifier N/A
GHSA Identifier GHSA-73qr-pfmq-6rp8
Severity CRITICAL
CVSS v3.1 Base Score N/A
CWE Classification CWE-506: Embedded Malicious Code
Affected Product Coa
Package Ecosystem npm
Published Date
Last Updated

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.

coa fixed: Latest secure release
npm install coa@Latest secure release
coa fixed: Latest secure release
npm install coa@Latest secure release
coa fixed: Latest secure release
npm install coa@Latest secure release
coa fixed: Latest secure release
npm install coa@Latest secure release
coa fixed: Latest secure release
npm install coa@Latest secure release
coa fixed: Latest secure release
npm install coa@Latest secure release
Verify Direct and Transitive Dependencies

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

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. Any 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.

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?
GHSA-73qr-pfmq-6rp8 is a security vulnerability in Coa involving Embedded malware in coa under CWE-506: Embedded Malicious Code.
Which Coa versions are affected?
Affected versions include releases prior to current release patches across affected packages: coa.
What version fixes GHSA-73qr-pfmq-6rp8?
Upgrading to current release patches (or the latest patched release for your respective branch) resolves the vulnerability.
Is coa affected?
Yes, coa is affected in releases prior to Latest secure release. Upgrade your dependency to Latest secure release or later.
What CWE is associated with GHSA-73qr-pfmq-6rp8?
GHSA-73qr-pfmq-6rp8 is classified under CWE-506: Embedded Malicious Code (The product contains code that appears to be malicious in nature.).
How can I check npm dependencies for GHSA-73qr-pfmq-6rp8?
Run the dependency tree command: 'npm ls coa'. This command lists direct and transitive dependencies in your build configuration so you can verify if a vulnerable version is resolved.
Machine-readable OSV JSON OSV v1.5 Schema
Normalized schema output
{
  "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
  }
}