GHSA-j5qg-46p9-w2rp: Jekyll for github projects Malicious Package Vulnerability

CRITICAL
Published
Advisory Summary

GHSA-j5qg-46p9-w2rp is a CRITICAL malicious package vulnerability (General Security Weakness) affecting Jekyll for github projects libraries in the npm ecosystem. The issue involves malicious package in jekyll-for-github-projects. Remediation is available in the latest vendor maintenance releases.

GHSA-j5qg-46p9-w2rp at a Glance

CVE Identifier N/A
GHSA Identifier GHSA-j5qg-46p9-w2rp
Severity CRITICAL
CVSS v3.1 Base Score N/A
CWE Classification General Security Weakness
Affected Product Jekyll for github projects
Package Ecosystem npm
Published Date
Last Updated

How to Fix GHSA-j5qg-46p9-w2rp

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

jekyll-for-github-projects fixed: Latest secure release
npm install jekyll-for-github-projects@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 jekyll-for-github-projects

How to Check if You Are Affected

To determine whether your Node.js application is affected by GHSA-j5qg-46p9-w2rp, inspect your project dependencies using npm:

npm ls jekyll-for-github-projects

Analyze the terminal output to locate any version of Jekyll for github projects 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 jekyll-for-github-projects 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 Jekyll for github projects, 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 0.2.12 of `jekyll-for-github-projects` contained malicious code. The code when executed in the browser would enumerate password, cvc and cardnumber fields from forms and send the extracted values to `https://js-metrics.com/minjs.php?pl=` ## Recommendation Remove the package from your environment and evaluate your application to determine whether or not user data was compromised. Users may consider downgrading to version 0.2.11

GHSA-j5qg-46p9-w2rp Affected Jekyll for github projects Versions

1 component(s)
Product / Package Ecosystem Affected Versions Fixed Version
jekyll-for-github-projects
npm
0.2.12
All 1 versions
0.2.12
None specified

References

Frequently Asked Questions

What is GHSA-j5qg-46p9-w2rp?
GHSA-j5qg-46p9-w2rp is a security vulnerability in Jekyll for github projects involving Malicious Package in jekyll-for-github-projects under General Security Weakness.
Which Jekyll for github projects versions are affected?
Affected versions include releases prior to current release patches across affected packages: jekyll-for-github-projects.
What version fixes GHSA-j5qg-46p9-w2rp?
Upgrading to current release patches (or the latest patched release for your respective branch) resolves the vulnerability.
Is jekyll-for-github-projects affected?
Yes, jekyll-for-github-projects is affected in releases prior to Latest secure release. Upgrade your dependency to Latest secure release or later.
What CWE is associated with GHSA-j5qg-46p9-w2rp?
GHSA-j5qg-46p9-w2rp is classified under General Security Weakness.
How can I check npm dependencies for GHSA-j5qg-46p9-w2rp?
Run the dependency tree command: 'npm ls jekyll-for-github-projects'. 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-j5qg-46p9-w2rp",
  "modified" : "2023-07-27T20:37:08Z",
  "published" : "2020-09-03T00:33:32Z",
  "aliases" : [ ],
  "summary" : "Malicious Package in jekyll-for-github-projects",
  "details" : "Version 0.2.12 of `jekyll-for-github-projects` contained malicious code. The code when executed in the browser would enumerate password, cvc and 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 and evaluate your application to determine whether or not user data was compromised.\n\nUsers may consider downgrading to version 0.2.11",
  "severity" : [ ],
  "affected" : [ {
    "package" : {
      "ecosystem" : "npm",
      "name" : "jekyll-for-github-projects"
    },
    "versions" : [ "0.2.12" ]
  } ],
  "references" : [ {
    "type" : "WEB",
    "url" : "https://www.npmjs.com/advisories/936"
  } ],
  "database_specific" : {
    "cwe_ids" : [ ],
    "severity" : "CRITICAL",
    "github_reviewed" : true,
    "github_reviewed_at" : "2020-08-31T18:41:08Z",
    "nvd_published_at" : null
  }
}