GHSA-pv6r-vchh-cxg9: Apostrophe Denial of Service Vulnerability
LOWGHSA-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
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.
npm install apostrophe@2.97.1
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
GHSA-pv6r-vchh-cxg9 Affected Apostrophe Versions
1 component(s)| 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?
Which Apostrophe versions are affected?
What version fixes GHSA-pv6r-vchh-cxg9?
Is apostrophe affected?
What CWE is associated with GHSA-pv6r-vchh-cxg9?
How can I check npm dependencies for GHSA-pv6r-vchh-cxg9?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"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
}
}