GHSA-xgp2-cc4r-7vf6: Http live simulator Denial of Service Vulnerability
MODERATEGHSA-xgp2-cc4r-7vf6 is a MODERATE denial of service vulnerability (General Security Weakness) affecting Http live simulator libraries in the npm ecosystem. The issue involves denial of service in http-live-simulator. Remediation is available by upgrading affected packages to version 1.0.8.
GHSA-xgp2-cc4r-7vf6 at a Glance
How to Fix GHSA-xgp2-cc4r-7vf6
To remediate this vulnerability, upgrade all affected Http live simulator 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 http-live-simulator@1.0.8
Run the following command in your project directory to verify that all resolved dependencies use the patched release:
npm ls http-live-simulator
How to Check if You Are Affected
To determine whether your Node.js application is affected by GHSA-xgp2-cc4r-7vf6, inspect your project dependencies using npm:
npm ls http-live-simulator
Analyze the terminal output to locate any version of Http live simulator in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 1.0.8), your application is affected.
Note: The npm ls http-live-simulator 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 Http live simulator, 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-xgp2-cc4r-7vf6 Affected Http live simulator Versions
1 component(s)| Product / Package | Ecosystem | Affected Versions | Fixed Version |
|---|---|---|---|
|
http-live-simulator
|
npm |
< 1.0.8
|
1.0.8
|
References
Frequently Asked Questions
What is GHSA-xgp2-cc4r-7vf6?
Which Http live simulator versions are affected?
What version fixes GHSA-xgp2-cc4r-7vf6?
Is http-live-simulator affected?
What CWE is associated with GHSA-xgp2-cc4r-7vf6?
How can I check npm dependencies for GHSA-xgp2-cc4r-7vf6?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-xgp2-cc4r-7vf6",
"modified" : "2020-08-31T18:50:28Z",
"published" : "2020-09-03T20:44:21Z",
"aliases" : [ ],
"summary" : "Denial of Service in http-live-simulator",
"details" : "Versions of `http-live-simulator` prior to 1.0.8 are vulnerable to Denial of Service. The package fails to catch an exception that causes the Node process to crash, effectively shutting down the server. This allows an attacker to send an HTTP request that crashes the server.\n\n\n## Recommendation\n\nUpgrade to version 1.0.8 or later.",
"severity" : [ ],
"affected" : [ {
"package" : {
"ecosystem" : "npm",
"name" : "http-live-simulator"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "0"
}, {
"fixed" : "1.0.8"
} ]
} ]
} ],
"references" : [ {
"type" : "WEB",
"url" : "https://hackerone.com/reports/627376"
}, {
"type" : "WEB",
"url" : "https://www.npmjs.com/advisories/1189"
} ],
"database_specific" : {
"cwe_ids" : [ ],
"severity" : "MODERATE",
"github_reviewed" : true,
"github_reviewed_at" : "2020-08-31T18:50:28Z",
"nvd_published_at" : null
}
}