Vulnerabilities in pkg:npm/http-live-simulator

PACKAGE
Advisory Summary

GHSA-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.

3 Known Advisory Record(s)
Package Vulnerability Intelligence

pkg:npm/http-live-simulator

3 Known Advisory Record(s)

Vulnerability advisories affecting package pkg:npm/http-live-simulator. Select an advisory below to view technical details or fixes.

Advisory ID CVE / NVD Severity Summary
GHSA-xgp2-cc4r-7vf6 - MODERATE Denial of Service in http-live-simulator
GHSA-2hhw-p8mg-jrm6 CVE-2019-5423 HIGH Path Traversal in http-live-simulator
GHSA-7c9w-qmrq-ff8r CVE-2018-16479 HIGH Path Traversal in http-live-simulator

GHSA-xgp2-cc4r-7vf6 at a Glance

CVE Identifier N/A
GHSA Identifier GHSA-xgp2-cc4r-7vf6
Severity MODERATE
CVSS v3.1 Base Score N/A
CWE Classification General Security Weakness
Affected Product Http live simulator
Package Ecosystem npm
Published Date
Last Updated

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.

http-live-simulator fixed: 1.0.8
npm install http-live-simulator@1.0.8
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 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

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. ## Recommendation Upgrade to version 1.0.8 or later.

GHSA-xgp2-cc4r-7vf6 Affected Http live simulator Versions

1 component(s)
Fixed Versions:
1.0.8
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?
GHSA-xgp2-cc4r-7vf6 is a security vulnerability in Http live simulator involving Denial of Service in http-live-simulator under General Security Weakness.
Which Http live simulator versions are affected?
Affected versions include releases prior to 1.0.8 across affected packages: http-live-simulator.
What version fixes GHSA-xgp2-cc4r-7vf6?
Upgrading to 1.0.8 (or the latest patched release for your respective branch) resolves the vulnerability.
Is http-live-simulator affected?
Yes, http-live-simulator is affected in releases prior to 1.0.8. Upgrade your dependency to 1.0.8 or later.
What CWE is associated with GHSA-xgp2-cc4r-7vf6?
GHSA-xgp2-cc4r-7vf6 is classified under General Security Weakness.
How can I check npm dependencies for GHSA-xgp2-cc4r-7vf6?
Run the dependency tree command: 'npm ls http-live-simulator'. 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-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
  }
}