GHSA-pv6r-vchh-cxg9: Apostrophe Denial of Service Vulnerability

LOW
CWE-400
Published
Advisory Summary

GHSA-pv6r-vchh-cxg9 is a LOW denial of service vulnerability (CWE-400: Uncontrolled Resource Consumption) affecting Apostrophe libraries in the npm ecosystem. The issue involves denial of service in apostrophe. Remediation is available by upgrading affected packages to version 2.97.1.

GHSA-pv6r-vchh-cxg9 at a Glance

CVE Identifier N/A
GHSA Identifier GHSA-pv6r-vchh-cxg9
Severity LOW
CVSS v3.1 Base Score N/A
CWE Classification CWE-400: Uncontrolled Resource Consumption
Affected Product Apostrophe
Package Ecosystem npm
Published Date
Last Updated

How to Fix GHSA-pv6r-vchh-cxg9

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

apostrophe fixed: 2.97.1
npm install apostrophe@2.97.1
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 apostrophe

How to Check if You Are Affected

To determine whether your Node.js application is affected by GHSA-pv6r-vchh-cxg9, inspect your project dependencies using npm:

npm ls apostrophe

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

Note: The npm ls apostrophe 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-400: Uncontrolled Resource Consumption, where the product does not properly control the allocation and maintenance of a limited resource. In Apostrophe, 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

Versions of `apostrophe` prior to 2.97.1 are vulnerable to Denial of Service. The `apostrophe-jobs` module sets a callback for incoming jobs and doesn't clear it regardless of its status. This causes the server to accumulate callbacks, allowing an attacker to start a large number of jobs and exhaust system memory. ## Recommendation Upgrade to version 2.97.1 or later.

GHSA-pv6r-vchh-cxg9 Affected Apostrophe Versions

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

References

Frequently Asked Questions

What is GHSA-pv6r-vchh-cxg9?
GHSA-pv6r-vchh-cxg9 is a security vulnerability in Apostrophe involving Denial of Service in apostrophe under CWE-400: Uncontrolled Resource Consumption.
Which Apostrophe versions are affected?
Affected versions include releases prior to 2.97.1 across affected packages: apostrophe.
What version fixes GHSA-pv6r-vchh-cxg9?
Upgrading to 2.97.1 (or the latest patched release for your respective branch) resolves the vulnerability.
Is apostrophe affected?
Yes, apostrophe is affected in releases prior to 2.97.1. Upgrade your dependency to 2.97.1 or later.
What CWE is associated with GHSA-pv6r-vchh-cxg9?
GHSA-pv6r-vchh-cxg9 is classified under CWE-400: Uncontrolled Resource Consumption (The product does not properly control the allocation and maintenance of a limited resource.).
How can I check npm dependencies for GHSA-pv6r-vchh-cxg9?
Run the dependency tree command: 'npm ls apostrophe'. 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-pv6r-vchh-cxg9",
  "modified" : "2020-08-31T18:50:15Z",
  "published" : "2020-09-03T20:42:09Z",
  "aliases" : [ ],
  "summary" : "Denial of Service in apostrophe",
  "details" : "Versions of `apostrophe` prior to 2.97.1 are vulnerable to Denial of Service. The `apostrophe-jobs` module sets a callback for incoming jobs and doesn't clear it regardless of its status. This causes the server to accumulate callbacks, allowing an attacker to start a large number of jobs and exhaust system memory.\n\n\n## Recommendation\n\nUpgrade to version 2.97.1 or later.",
  "severity" : [ ],
  "affected" : [ {
    "package" : {
      "ecosystem" : "npm",
      "name" : "apostrophe"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "0"
      }, {
        "fixed" : "2.97.1"
      } ]
    } ]
  } ],
  "references" : [ {
    "type" : "WEB",
    "url" : "https://www.npmjs.com/advisories/1183"
  } ],
  "database_specific" : {
    "cwe_ids" : [ "CWE-400" ],
    "severity" : "LOW",
    "github_reviewed" : true,
    "github_reviewed_at" : "2020-08-31T18:50:15Z",
    "nvd_published_at" : null
  }
}