CVE-2017-15010
HIGH7.5EPSS 3.9%Regular Expression Denial of Service in tough-cookie
Published: 7/24/2018Modified: 11/8/2023
Description
Affected versions of `tough-cookie` are susceptible to a regular expression denial of service. The amplification on this vulnerability is relatively low - it takes around 2 seconds for the engine to execute on a malicious input which is 50,000 characters in length. If node was compiled using the `-DHTTP_MAX_HEADER_SIZE` however, the impact of the vulnerability can be significant, as the primary limitation for the vulnerability is the default max HTTP header length in node. ## Recommendation Update to version 2.3.3 or later.
Affected packages (2)
- Debian/node-tough-cookiefrom 0, < 2.3.4+dfsg-1
- npm/tough-cookiefrom 0, < 2.3.3
CVSS scores
| Source | Version | Severity | Vector |
|---|---|---|---|
| osv | CVSS 3.1 | HIGH7.5 | CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
References (14)
- ADVISORYhttps://github.com/advisories/GHSA-g7q5-pjjr-gqvp
- ADVISORYhttps://nvd.nist.gov/vuln/detail/CVE-2017-15010
- ADVISORYhttps://security-tracker.debian.org/tracker/CVE-2017-15010
- PATCHhttps://github.com/salesforce/tough-cookie
- WEBhttps://access.redhat.com/errata/RHSA-2017:2912
- WEBhttps://access.redhat.com/errata/RHSA-2017:2913
- WEBhttps://access.redhat.com/errata/RHSA-2018:1263
- WEBhttps://access.redhat.com/errata/RHSA-2018:1264
- WEBhttps://github.com/salesforce/tough-cookie/commit/f1ed420a6a92ea7a5418df6e39e676556bc0c71d
- WEBhttps://github.com/salesforce/tough-cookie/issues/92
- WEBhttps://lists.fedoraproject.org/archives/list/[email protected]/message/6VEBDTGNHVM677SLZDEHMWOP3ISMZSFT
- WEBhttps://snyk.io/vuln/npm:tough-cookie:20170905
- WEBhttps://www.npmjs.com/advisories/525
- WEBhttp://www.securityfocus.com/bid/101185