Vulnerabilities in pkg:npm/@commercial/hapi
PACKAGEGHSA-66mv-xh68-h6v2 is a HIGH denial of service vulnerability (General Security Weakness) affecting @commercial/hapi libraries in the npm ecosystem. The issue involves denial of service in @commercial/hapi. Remediation is available by upgrading affected packages to version 16.8.2, 17.9.2, 18.4.1, 19.1.1.
pkg:npm/@commercial/hapi
Vulnerability advisories affecting package pkg:npm/@commercial/hapi. Select an advisory below to view technical details or fixes.
| Advisory ID | CVE / NVD | Severity | Summary |
|---|---|---|---|
| GHSA-66mv-xh68-h6v2 | - | HIGH | Denial of Service in @commercial/hapi |
GHSA-66mv-xh68-h6v2 at a Glance
How to Fix GHSA-66mv-xh68-h6v2
To remediate this vulnerability, upgrade all affected @commercial/hapi 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 @commercial/hapi@16.8.2
npm install @commercial/hapi@17.9.2
npm install @commercial/hapi@18.4.1
npm install @commercial/hapi@19.1.1
Run the following command in your project directory to verify that all resolved dependencies use the patched release:
npm ls @commercial/hapi
How to Check if You Are Affected
To determine whether your Node.js application is affected by GHSA-66mv-xh68-h6v2, inspect your project dependencies using npm:
npm ls @commercial/hapi
Analyze the terminal output to locate any version of @commercial/hapi in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 16.8.2), your application is affected.
Note: The npm ls @commercial/hapi 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 @commercial/hapi, 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-66mv-xh68-h6v2 Affected @commercial/hapi Versions
4 component(s)| Product / Package | Ecosystem | Affected Versions | Fixed Version |
|---|---|---|---|
|
@commercial/hapi
|
npm |
< 16.8.2
|
16.8.2
|
|
@commercial/hapi
|
npm |
≥ 17.0.0
< 17.9.2
|
17.9.2
|
|
@commercial/hapi
|
npm |
≥ 18.0.0
< 18.4.1
|
18.4.1
|
|
@commercial/hapi
|
npm |
≥ 19.0.0
< 19.1.1
|
19.1.1
|
References
Frequently Asked Questions
What is GHSA-66mv-xh68-h6v2?
Which @commercial/hapi versions are affected?
What version fixes GHSA-66mv-xh68-h6v2?
Is @commercial/hapi affected?
What CWE is associated with GHSA-66mv-xh68-h6v2?
How can I check npm dependencies for GHSA-66mv-xh68-h6v2?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-66mv-xh68-h6v2",
"modified" : "2020-08-31T19:00:58Z",
"published" : "2020-09-03T15:48:53Z",
"aliases" : [ ],
"summary" : "Denial of Service in @commercial/hapi",
"details" : "Affected versions of `@commercial/hapi` are vulnerable to Denial of Service. The CORS request handler has a vulnerability which will cause the function to throw a system error if the header contains some invalid values. If no unhandled exception handler is available, the application will exist, allowing an attacker to shut down services.\n\n\n## Recommendation\n\nUpgrade to versions 16.8.2, 17.9.2, 18.4.1, 19.1.1 or later.",
"severity" : [ ],
"affected" : [ {
"package" : {
"ecosystem" : "npm",
"name" : "@commercial/hapi"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "0"
}, {
"fixed" : "16.8.2"
} ]
} ]
}, {
"package" : {
"ecosystem" : "npm",
"name" : "@commercial/hapi"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "17.0.0"
}, {
"fixed" : "17.9.2"
} ]
} ]
}, {
"package" : {
"ecosystem" : "npm",
"name" : "@commercial/hapi"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "18.0.0"
}, {
"fixed" : "18.4.1"
} ]
} ]
}, {
"package" : {
"ecosystem" : "npm",
"name" : "@commercial/hapi"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "19.0.0"
}, {
"fixed" : "19.1.1"
} ]
} ]
} ],
"references" : [ {
"type" : "WEB",
"url" : "https://www.npmjs.com/advisories/1483"
} ],
"database_specific" : {
"cwe_ids" : [ ],
"severity" : "HIGH",
"github_reviewed" : true,
"github_reviewed_at" : "2020-08-31T19:00:58Z",
"nvd_published_at" : null
}
}