GHSA-3fv6-q5xv-fhpw: Coffee project Malicious Package Vulnerability

CRITICAL
Published
Advisory Summary

GHSA-3fv6-q5xv-fhpw is a CRITICAL malicious package vulnerability (General Security Weakness) affecting Coffee project libraries in the npm ecosystem. The issue involves malicious package in coffee-project. Remediation is available in the latest vendor maintenance releases.

GHSA-3fv6-q5xv-fhpw at a Glance

CVE Identifier N/A
GHSA Identifier GHSA-3fv6-q5xv-fhpw
Severity CRITICAL
CVSS v3.1 Base Score N/A
CWE Classification General Security Weakness
Affected Product Coffee project
Package Ecosystem npm
Published Date
Last Updated

How to Fix GHSA-3fv6-q5xv-fhpw

To remediate this vulnerability, upgrade all affected Coffee project dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.

coffee-project fixed: Latest secure release
npm install coffee-project@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 coffee-project

How to Check if You Are Affected

To determine whether your Node.js application is affected by GHSA-3fv6-q5xv-fhpw, inspect your project dependencies using npm:

npm ls coffee-project

Analyze the terminal output to locate any version of Coffee project 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 coffee-project 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 Coffee project, 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

Version 1.7.5 of `coffee-project` 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=` ## Recommendation If version 1.7.5 of this module is found installed you will want to replace it with a version before or after 1.7.5. In addition to replacing the installed module, you will also want to evaluate your application to determine whether or not user data was compromised. Users may consider downgrading to version 1.7.4

GHSA-3fv6-q5xv-fhpw Affected Coffee project Versions

1 component(s)
Product / Package Ecosystem Affected Versions Fixed Version
coffee-project
npm
1.7.5
All 1 versions
1.7.5
None specified

References

Frequently Asked Questions

What is GHSA-3fv6-q5xv-fhpw?
GHSA-3fv6-q5xv-fhpw is a security vulnerability in Coffee project involving Malicious Package in coffee-project under General Security Weakness.
Which Coffee project versions are affected?
Affected versions include releases prior to current release patches across affected packages: coffee-project.
What version fixes GHSA-3fv6-q5xv-fhpw?
Upgrading to current release patches (or the latest patched release for your respective branch) resolves the vulnerability.
Is coffee-project affected?
Yes, coffee-project is affected in releases prior to Latest secure release. Upgrade your dependency to Latest secure release or later.
What CWE is associated with GHSA-3fv6-q5xv-fhpw?
GHSA-3fv6-q5xv-fhpw is classified under General Security Weakness.
How can I check npm dependencies for GHSA-3fv6-q5xv-fhpw?
Run the dependency tree command: 'npm ls coffee-project'. 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-3fv6-q5xv-fhpw",
  "modified" : "2023-07-27T00:01:55Z",
  "published" : "2020-09-01T19:50:23Z",
  "aliases" : [ ],
  "summary" : "Malicious Package in coffee-project",
  "details" : "Version 1.7.5 of `coffee-project` 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 1.7.5 of this module is found installed you will want to replace it with a version before or after 1.7.5. 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 1.7.4",
  "severity" : [ ],
  "affected" : [ {
    "package" : {
      "ecosystem" : "npm",
      "name" : "coffee-project"
    },
    "versions" : [ "1.7.5" ]
  } ],
  "references" : [ {
    "type" : "WEB",
    "url" : "https://www.npmjs.com/advisories/621"
  } ],
  "database_specific" : {
    "cwe_ids" : [ ],
    "severity" : "CRITICAL",
    "github_reviewed" : true,
    "github_reviewed_at" : "2020-08-31T18:30:12Z",
    "nvd_published_at" : null
  }
}