nodejs-tough-cookie: regular expression DoS via Cookie header with many semicolons
Published Sep 5, 2018
5.3
MEDIUMCVSS 3.0
EPSS 2.36%
Description
NodeJS Tough-Cookie version 2.2.2 contains a Regular Expression Parsing vulnerability in HTTP request Cookie Header parsing that can result in Denial of Service. This attack appear to be exploitable via Custom HTTP header passed by client. This vulnerability appears to have been fixed in 2.3.0.
Affected products
No data.
Configuration 1
- ≥ 0.9.7 · ≤ 2.2.2
Configuration 2
- ≥ 5.0.6.0 · ≤ 5.0.6.5
- ≥ 5.0.7.0 · ≤ 5.0.7.2
- 5.0.8.0
- 3.1
- 3.2
- 3.3
No data.
Red Hat OpenShift Container Platform 3.2
nodejs-0:0.10.47-2.el7
Fixed · RHSA-2016:2101
Red Hat OpenShift Container Platform 3.2
nodejs-tough-cookie-0:2.3.1-1.el7
Fixed · RHSA-2016:2101
Red Hat OpenShift Container Platform 3.3
nodejs-0:0.10.47-2.el7
Fixed · RHSA-2016:2101
Red Hat OpenShift Container Platform 3.3
nodejs-tough-cookie-0:2.3.1-1.el7
Fixed · RHSA-2016:2101
Red Hat OpenShift Enterprise 3.1
nodejs-0:0.10.47-2.el7
Fixed · RHSA-2016:2101
Red Hat OpenShift Enterprise 3.1
nodejs-tough-cookie-0:2.3.1-1.el7
Fixed · RHSA-2016:2101
Red Hat Software Collections for Red Hat Enterprise Linux 6
rh-nodejs4-nodejs-tough-cookie-0:2.3.3-2.el6
Fixed · RHSA-2017:2912
Red Hat Software Collections for Red Hat Enterprise Linux 6.7 EUS
rh-nodejs4-nodejs-tough-cookie-0:2.3.3-2.el6
Fixed · RHSA-2017:2912
Red Hat Software Collections for Red Hat Enterprise Linux 7
rh-nodejs4-nodejs-tough-cookie-0:2.3.3-2.el7
Fixed · RHSA-2017:2912
Red Hat Software Collections for Red Hat Enterprise Linux 7.3 EUS
rh-nodejs4-nodejs-tough-cookie-0:2.3.3-2.el7
Fixed · RHSA-2017:2912
Red Hat Software Collections
nodejs010-nodejs-tough-cookie
Will not fix
Red Hat Software Collections
rh-nodejs6-nodejs-tough-cookie
Not affected
| Product | Package | State | Advisory |
|---|---|---|---|
| Red Hat OpenShift Container Platform 3.2 | nodejs-0:0.10.47-2.el7 | Fixed | RHSA-2016:2101 |
| Red Hat OpenShift Container Platform 3.2 | nodejs-tough-cookie-0:2.3.1-1.el7 | Fixed | RHSA-2016:2101 |
| Red Hat OpenShift Container Platform 3.3 | nodejs-0:0.10.47-2.el7 | Fixed | RHSA-2016:2101 |
| Red Hat OpenShift Container Platform 3.3 | nodejs-tough-cookie-0:2.3.1-1.el7 | Fixed | RHSA-2016:2101 |
| Red Hat OpenShift Enterprise 3.1 | nodejs-0:0.10.47-2.el7 | Fixed | RHSA-2016:2101 |
| Red Hat OpenShift Enterprise 3.1 | nodejs-tough-cookie-0:2.3.1-1.el7 | Fixed | RHSA-2016:2101 |
| Red Hat Software Collections for Red Hat Enterprise Linux 6 | rh-nodejs4-nodejs-tough-cookie-0:2.3.3-2.el6 | Fixed | RHSA-2017:2912 |
| Red Hat Software Collections for Red Hat Enterprise Linux 6.7 EUS | rh-nodejs4-nodejs-tough-cookie-0:2.3.3-2.el6 | Fixed | RHSA-2017:2912 |
| Red Hat Software Collections for Red Hat Enterprise Linux 7 | rh-nodejs4-nodejs-tough-cookie-0:2.3.3-2.el7 | Fixed | RHSA-2017:2912 |
| Red Hat Software Collections for Red Hat Enterprise Linux 7.3 EUS | rh-nodejs4-nodejs-tough-cookie-0:2.3.3-2.el7 | Fixed | RHSA-2017:2912 |
| Red Hat Software Collections | nodejs010-nodejs-tough-cookie | Will not fix | n/a |
| Red Hat Software Collections | rh-nodejs6-nodejs-tough-cookie | Not affected | n/a |
tough-cookie
npm
Introduced 0 Fixed 2.3.0
| Ecosystem | Package | Introduced | Fixed |
|---|---|---|---|
| npm | tough-cookie | 0 | 2.3.0 |
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:L
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 3, 2026.
Score over time
2022–2026- EPSS v2
- EPSS v3
- EPSS v4
- EPSS v5
Percentile over time
- EPSS v2
- EPSS v3
- EPSS v4
- EPSS v5
Table of values (13 key points)
Flat stretches are collapsed; showing up to 120 newest points.
| Date | Score | Percentile | Model |
|---|---|---|---|
| Oct 3, 2026 | 2.36% (0.02356) | 83.15th | v5 (v2026.06.15) |
| Jun 15, 2026 | 2.36% (0.02356) | 81.47th | v5 (v2026.06.15) |
| Mar 17, 2025 | 1.08% (0.01085) | 76.34th | v4 (v2025.03.14) |
| Dec 12, 2024 | 0.71% (0.00714) | 81.16th | v3 (v2023.03.01) |
| Apr 24, 2024 | 0.64% (0.00635) | 78.88th | v3 (v2023.03.01) |
| Feb 8, 2024 | 0.53% (0.00532) | 76.41th | v3 (v2023.03.01) |
| Aug 30, 2023 | 0.53% (0.00528) | 74.06th | v3 (v2023.03.01) |
| May 8, 2023 | 0.46% (0.00462) | 71.67th | v3 (v2023.03.01) |
| Mar 7, 2023 | 0.66% (0.00658) | 76.34th | v3 (v2023.03.01) |
| Mar 6, 2023 | 1.11% (0.01108) | 55.18th | v2 (v2022.01.01) |
| Sep 17, 2022 | 1.11% (0.01108) | 53.57th | v2 (v2022.01.01) |
| Apr 1, 2022 | 1.11% (0.01108) | 51.54th | v2 (v2022.01.01) |
| Feb 4, 2022 | 1.11% (0.01108) | 29.61th | v2 (v2022.01.01) |
References (13)
- https://access.redhat.com/errata/RHSA-2016:2101 vendor-advisoryx_refsource_REDHATThird Party Advisory
- https://access.redhat.com/errata/RHSA-2017:2912 vendor-advisoryx_refsource_REDHATThird Party Advisory
- https://access.redhat.com/security/cve/CVE-2016-1000232 Vendor Advisory
- https://access.redhat.com/security/cve/cve-2016-1000232 x_refsource_CONFIRMThird Party Advisory
- https://bugzilla.redhat.com/show_bug.cgi?id=1359818 Issue Tracking
- https://github.com/advisories/GHSA-qhv9-728r-6jqg Advisory
- https://github.com/salesforce/tough-cookie/commit/615627206357d997d5e6ff9da158997de05235ae x_refsource_CONFIRMPatchThird Party Advisory
- https://github.com/salesforce/tough-cookie/commit/e4fc2e0f9ee1b7a818d68f0ac7ea696f377b1534 x_refsource_CONFIRMPatchThird Party Advisory
- https://nodesecurity.io/advisories/130
- https://nvd.nist.gov/vuln/detail/CVE-2016-1000232
- https://www.cve.org/CVERecord?id=CVE-2016-1000232
- https://www.ibm.com/blogs/psirt/ibm-security-bulletin-ibm-api-connect-is-affected-by-node-js-tough-cookie-module-vulnerability-to-a-denial-of-service-cve-2016-1000232/ x_refsource_CONFIRMThird Party Advisory
- https://www.npmjs.com/advisories/130 x_refsource_MISCThird Party Advisory
Change history (0)
No recorded changes yet.