Vulnerabilities in pkg:npm/restify-paginate
PACKAGECVE-2020-27543 is a HIGH (CVSS 7.5) denial of service vulnerability (CWE-755: Improper Handling of Exceptional Conditions) affecting Restify paginate libraries in the npm ecosystem. The issue involves denial of service (dos) in restify-paginate. Remediation is available in the latest vendor maintenance releases.
pkg:npm/restify-paginate
Vulnerability advisories affecting package pkg:npm/restify-paginate. Select an advisory below to view technical details or fixes.
| Advisory ID | CVE / NVD | Severity | Summary |
|---|---|---|---|
| GHSA-qr9h-vr5p-pwwx | CVE-2020-27543 | HIGH | Denial of Service (DoS) in restify-paginate |
CVE-2020-27543 at a Glance
Security Impact
CVSS: 7.5
The security impact metrics below are parsed directly from the CVSS v3.1 vector string (CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H).
How to Fix CVE-2020-27543
To remediate this vulnerability, upgrade all affected Restify paginate 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 restify-paginate@Latest secure release
Run the following command in your project directory to verify that all resolved dependencies use the patched release:
npm ls restify-paginate
How to Check if You Are Affected
To determine whether your Node.js application is affected by CVE-2020-27543, inspect your project dependencies using npm:
npm ls restify-paginate
Analyze the terminal output to locate any version of Restify paginate in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than the patched release), your application is affected.
Note: The npm ls restify-paginate 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-755: Improper Handling of Exceptional Conditions, where the product does not handle or incorrectly handles an exceptional condition. In Restify paginate, 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
CVE-2020-27543 Affected Restify paginate Versions
1 component(s)| Product / Package | Ecosystem | Affected Versions | Fixed Version |
|---|---|---|---|
|
restify-paginate
|
npm |
≤ 0.0.5
|
|
References
Frequently Asked Questions
What is CVE-2020-27543?
Which Restify paginate versions are affected?
What version fixes CVE-2020-27543?
Is restify-paginate affected?
What is the CVSS score of CVE-2020-27543?
What CWE is associated with CVE-2020-27543?
How can I check npm dependencies for CVE-2020-27543?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-qr9h-vr5p-pwwx",
"modified" : "2022-04-18T21:56:34Z",
"published" : "2021-04-12T18:59:11Z",
"aliases" : [ "CVE-2020-27543" ],
"summary" : "Denial of Service (DoS) in restify-paginate",
"details" : "The restify-paginate package 0.0.5 for Node.js allows remote attackers to cause a Denial-of-Service by omitting the HTTP Host header. A Restify-based web service would crash with an uncaught exception.",
"severity" : [ {
"type" : "CVSS_V3",
"score" : "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H"
} ],
"affected" : [ {
"package" : {
"ecosystem" : "npm",
"name" : "restify-paginate"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "0"
}, {
"last_affected" : "0.0.5"
} ]
} ]
} ],
"references" : [ {
"type" : "ADVISORY",
"url" : "https://nvd.nist.gov/vuln/detail/CVE-2020-27543"
}, {
"type" : "WEB",
"url" : "https://github.com/paulvarache/restify-paginate"
}, {
"type" : "WEB",
"url" : "https://github.com/secoats/cve/tree/master/CVE-2020-27543_dos_restify-paginate"
}, {
"type" : "WEB",
"url" : "https://security.netapp.com/advisory/ntap-20210401-0002"
}, {
"type" : "WEB",
"url" : "https://www.npmjs.com/package/restify-paginate"
} ],
"database_specific" : {
"cwe_ids" : [ "CWE-755" ],
"severity" : "HIGH",
"github_reviewed" : true,
"github_reviewed_at" : "2021-03-16T00:43:59Z",
"nvd_published_at" : "2021-02-25T17:15:00Z"
}
}