GHSA-fmr4-7g9q-7hc7: Handlebars Moderate Severity Vulnerability That Affects Vulnerability

MODERATE
Published
Advisory Summary

GHSA-fmr4-7g9q-7hc7 is a MODERATE moderate severity vulnerability that affects vulnerability (General Security Weakness) affecting Handlebars libraries in the npm ecosystem. The issue involves moderate severity vulnerability that affects handlebars. Remediation is available by upgrading affected packages to version 4.0.0.

GHSA-fmr4-7g9q-7hc7 at a Glance

CVE Identifier N/A
GHSA Identifier GHSA-fmr4-7g9q-7hc7
Severity MODERATE
CVSS v3.1 Base Score N/A
CWE Classification General Security Weakness
Affected Product Handlebars
Package Ecosystem npm
Published Date
Last Updated

How to Fix GHSA-fmr4-7g9q-7hc7

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

handlebars fixed: 4.0.0
npm install handlebars@4.0.0
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 handlebars

How to Check if You Are Affected

To determine whether your Node.js application is affected by GHSA-fmr4-7g9q-7hc7, inspect your project dependencies using npm:

npm ls handlebars

Analyze the terminal output to locate any version of Handlebars in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 4.0.0), your application is affected.

Note: The npm ls handlebars 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 Handlebars, 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

**Withdrawn:** Duplicate of GHSA-9prh-257w-9277

GHSA-fmr4-7g9q-7hc7 Affected Handlebars Versions

1 component(s)
Fixed Versions:
4.0.0
Product / Package Ecosystem Affected Versions Fixed Version
handlebars
npm
< 4.0.0
4.0.0

References

Frequently Asked Questions

What is GHSA-fmr4-7g9q-7hc7?
GHSA-fmr4-7g9q-7hc7 is a security vulnerability in Handlebars involving Moderate severity vulnerability that affects handlebars under General Security Weakness.
Which Handlebars versions are affected?
Affected versions include releases prior to 4.0.0 across affected packages: handlebars.
What version fixes GHSA-fmr4-7g9q-7hc7?
Upgrading to 4.0.0 (or the latest patched release for your respective branch) resolves the vulnerability.
Is handlebars affected?
Yes, handlebars is affected in releases prior to 4.0.0. Upgrade your dependency to 4.0.0 or later.
What CWE is associated with GHSA-fmr4-7g9q-7hc7?
GHSA-fmr4-7g9q-7hc7 is classified under General Security Weakness.
How can I check npm dependencies for GHSA-fmr4-7g9q-7hc7?
Run the dependency tree command: 'npm ls handlebars'. 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-fmr4-7g9q-7hc7",
  "modified" : "2020-06-17T16:30:43Z",
  "published" : "2017-10-24T18:33:36Z",
  "withdrawn" : "2020-06-17T16:30:43Z",
  "aliases" : [ ],
  "summary" : "Moderate severity vulnerability that affects handlebars",
  "details" : "**Withdrawn:** Duplicate of GHSA-9prh-257w-9277",
  "severity" : [ ],
  "affected" : [ {
    "package" : {
      "ecosystem" : "npm",
      "name" : "handlebars"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "0"
      }, {
        "fixed" : "4.0.0"
      } ]
    } ]
  } ],
  "references" : [ {
    "type" : "ADVISORY",
    "url" : "https://nvd.nist.gov/vuln/detail/CVE-2015-8861"
  }, {
    "type" : "ADVISORY",
    "url" : "https://github.com/advisories/GHSA-fmr4-7g9q-7hc7"
  } ],
  "database_specific" : {
    "cwe_ids" : [ ],
    "severity" : "MODERATE",
    "github_reviewed" : true,
    "github_reviewed_at" : "2020-06-17T16:30:43Z",
    "nvd_published_at" : null
  }
}