nodejs-useragent: Regular expression Denial-of-Service via long UserAgent header
Published Jun 4, 2018
7.5
HIGHCVSS 3.0
EPSS 1.16%
Description
Useragent is used to parse useragent headers. It uses several regular expressions to accomplish this. An attacker could edit their own headers, creating an arbitrarily long useragent string, causing the event loop and server to block. This affects Useragent 2.1.12 and earlier.
Affected products
-
- Version <=2.1.12StatusaffectedConstraints-
- 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 | Useragent Node Module | n/a |
|
- ≤ 2.1.12
No data.
Red Hat Mobile Application Platform 4
fh-mbaas
Out of support scope
Red Hat Mobile Application Platform 4
fh-messaging
Out of support scope
Red Hat Mobile Application Platform 4
fh-metrics
Out of support scope
Red Hat Mobile Application Platform 4
fh-supercore
Out of support scope
| Product | Package | State | Advisory |
|---|---|---|---|
| Red Hat Mobile Application Platform 4 | fh-mbaas | Out of support scope | n/a |
| Red Hat Mobile Application Platform 4 | fh-messaging | Out of support scope | n/a |
| Red Hat Mobile Application Platform 4 | fh-metrics | Out of support scope | n/a |
| Red Hat Mobile Application Platform 4 | fh-supercore | Out of support scope | n/a |
useragent
npm
Introduced 0 Fixed 2.1.13
| Ecosystem | Package | Introduced | Fixed |
|---|---|---|---|
| npm | useragent | 0 | 2.1.13 |
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 2, 2026.
Score over time
2021–2026- EPSS v1
- EPSS v5
- EPSS v2
- EPSS v3
- EPSS v4
Percentile over time
- EPSS v1
- EPSS v5
- EPSS v2
- EPSS v3
- EPSS v4
Table of values (10 key points)
Flat stretches are collapsed; showing up to 120 newest points.
| Date | Score | Percentile | Model |
|---|---|---|---|
| Oct 2, 2026 | 1.16% (0.01162) | 66.06th | v5 (v2026.06.15) |
| Jun 15, 2026 | 1.16% (0.01162) | 62.96th | v5 (v2026.06.15) |
| Mar 17, 2025 | 0.36% (0.00362) | 56.13th | v4 (v2025.03.14) |
| Dec 12, 2024 | 0.12% (0.00124) | 48.53th | v3 (v2023.03.01) |
| Mar 5, 2024 | 0.12% (0.00124) | 45.90th | v3 (v2023.03.01) |
| Mar 7, 2023 | 0.11% (0.00115) | 43.46th | v3 (v2023.03.01) |
| Mar 6, 2023 | 4.50% (0.04499) | 88.81th | v2 (v2022.01.01) |
| Feb 4, 2022 | 4.50% (0.04499) | 74.08th | v2 (v2022.01.01) |
| Feb 3, 2022 | 1.84% (0.01840) | 47.83th | v5 (v2026.06.15) |
| Apr 14, 2021 | 1.84% (0.01840) | 0.00th | v1 |
References (7)
- https://access.redhat.com/security/cve/CVE-2017-16030 Vendor Advisory
- https://bugzilla.redhat.com/show_bug.cgi?id=1588890 Issue Tracking
- https://github.com/advisories/GHSA-pjmx-9xr3-82qr Advisory
- https://nodesecurity.io/advisories/312 x_refsource_MISCExploitThird Party Advisory
- https://nvd.nist.gov/vuln/detail/CVE-2017-16030
- https://www.cve.org/CVERecord?id=CVE-2017-16030
- https://www.npmjs.com/advisories/312
| Link | Providers | Tags |
|---|---|---|
| https://access.redhat.com/security/cve/CVE-2017-16030 | Vendor Advisory | |
| https://bugzilla.redhat.com/show_bug.cgi?id=1588890 | Issue Tracking | |
| https://github.com/advisories/GHSA-pjmx-9xr3-82qr | Advisory | |
| https://nodesecurity.io/advisories/312 | x_refsource_MISCExploitThird Party Advisory | |
| https://nvd.nist.gov/vuln/detail/CVE-2017-16030 | ||
| https://www.cve.org/CVERecord?id=CVE-2017-16030 | ||
| https://www.npmjs.com/advisories/312 |
Change history (0)
No recorded changes yet.