nodejs-forwarded: regular expression denial of service when parsing crafted user input
Published Jun 7, 2018
7.5
HIGHCVSS 3.0
EPSS 1.92%
Description
The forwarded module is used by the Express.js framework to handle the X-Forwarded-For header. It is vulnerable to a regular expression denial of service when it's passed specially crafted input to parse. This causes the event loop to be blocked causing a denial of service condition.
Affected products
-
- Version < 0.1.2StatusaffectedConstraints-
- Version
Default status is the baseline for the product, each version can override it (e.g. patched versions marked unaffected).
| Vendor | Product | Default status | Versions | ||||||
|---|---|---|---|---|---|---|---|---|---|
| HackerOne | Forwarded Node Module | n/a |
|
- < 0.1.2
No data.
Red Hat Mobile Application Platform 4
nodjs-forwarded
Not affected
Red Hat OpenShift Enterprise 3
nodejs-forwarded
Not affected
| Product | Package | State | Advisory |
|---|---|---|---|
| Red Hat Mobile Application Platform 4 | nodjs-forwarded | Not affected | n/a |
| Red Hat OpenShift Enterprise 3 | nodejs-forwarded | Not affected | n/a |
forwarded
npm
Introduced 0 Fixed 0.1.2
| Ecosystem | Package | Introduced | Fixed |
|---|---|---|---|
| npm | forwarded | 0 | 0.1.2 |
Remediation
No remediation recorded yet.
Metrics
No CVSS v4.0 score for this CVE.
No CVSS v3.1 score for this CVE.
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
AV:N/AC:L/Au:N/C:N/I:N/A:P
This CVE is not in the KEV list.
No CISA SSVC assessment for this CVE yet.
Estimated probability of exploitation in the wild in the next 30 days (FIRST EPSS). As of Oct 1, 2026.
Score over time
2021–2026- EPSS v1
- EPSS v2
- EPSS v3
- EPSS v4
- EPSS v5
Percentile over time
- EPSS v1
- EPSS v2
- EPSS v3
- EPSS v4
- EPSS v5
Table of values (15 key points)
Flat stretches are collapsed; showing up to 120 newest points.
| Date | Score | Percentile | Model |
|---|---|---|---|
| Oct 1, 2026 | 1.92% (0.01922) | 79.18th | v5 (v2026.06.15) |
| Jun 15, 2026 | 1.95% (0.01947) | 77.49th | v5 (v2026.06.15) |
| Mar 17, 2025 | 0.47% (0.00473) | 62.66th | v4 (v2025.03.14) |
| Dec 12, 2024 | 0.10% (0.00095) | 41.77th | v3 (v2023.03.01) |
| Mar 5, 2024 | 0.10% (0.00095) | 38.76th | v3 (v2023.03.01) |
| Oct 28, 2023 | 0.09% (0.00088) | 37.10th | v3 (v2023.03.01) |
| Apr 12, 2023 | 0.11% (0.00114) | 43.57th | v3 (v2023.03.01) |
| Mar 7, 2023 | 0.12% (0.00121) | 44.66th | v3 (v2023.03.01) |
| Mar 6, 2023 | 4.50% (0.04499) | 88.81th | v2 (v2022.01.01) |
| Apr 1, 2022 | 4.50% (0.04499) | 87.70th | v2 (v2022.01.01) |
| Feb 4, 2022 | 4.50% (0.04499) | 74.08th | v2 (v2022.01.01) |
| Feb 3, 2022 | 3.40% (0.03396) | 67.40th | v1 |
| Jan 6, 2022 | 3.40% (0.03396) | 67.08th | v1 |
| Sep 1, 2021 | 3.40% (0.03396) | 81.71th | v1 |
| Apr 14, 2021 | 3.40% (0.03396) | 0.00th | v1 |
References (8)
- http://www.securityfocus.com/bid/104427 vdb-entryx_refsource_BIDThird Party AdvisoryVDB Entry
- https://access.redhat.com/security/cve/CVE-2017-16118 Vendor Advisory
- https://bugzilla.redhat.com/show_bug.cgi?id=1588785 Issue Tracking
- https://github.com/advisories/GHSA-mpcf-4gmh-23w8 Advisory
- https://nodesecurity.io/advisories/527 x_refsource_MISCThird Party Advisory
- https://nvd.nist.gov/vuln/detail/CVE-2017-16118
- https://www.cve.org/CVERecord?id=CVE-2017-16118
- https://www.npmjs.com/advisories/527
| Link | Providers | Tags |
|---|---|---|
| http://www.securityfocus.com/bid/104427 | vdb-entryx_refsource_BIDThird Party AdvisoryVDB Entry | |
| https://access.redhat.com/security/cve/CVE-2017-16118 | Vendor Advisory | |
| https://bugzilla.redhat.com/show_bug.cgi?id=1588785 | Issue Tracking | |
| https://github.com/advisories/GHSA-mpcf-4gmh-23w8 | Advisory | |
| https://nodesecurity.io/advisories/527 | x_refsource_MISCThird Party Advisory | |
| https://nvd.nist.gov/vuln/detail/CVE-2017-16118 | ||
| https://www.cve.org/CVERecord?id=CVE-2017-16118 | ||
| https://www.npmjs.com/advisories/527 |
Change history (0)
No recorded changes yet.