CVE-2017-15010
published 2017-10-04CVE-2017-15010: A ReDoS (regular expression denial of service) flaw was found in the tough-cookie module before 2.3.3 for Node.js. An attacker that is able to make an HTTP…
PriorityP338high7.5CVSS 3.0
AVNACLPRNUINSUCNINAH
EPSS
3.28%
87.2th percentile
A ReDoS (regular expression denial of service) flaw was found in the tough-cookie module before 2.3.3 for Node.js. An attacker that is able to make an HTTP request using a specially crafted cookie may cause the application to consume an excessive amount of CPU.
Affected
3 ranges
| Vendor | Product | Version range | Fixed in |
|---|---|---|---|
| debian | node-tough-cookie | < node-tough-cookie 2.3.4+dfsg-1 (bookworm) | node-tough-cookie 2.3.4+dfsg-1 (bookworm) |
| salesforce | tough-cookie | <= 2.3.2 | — |
| salesforce | tough-cookie | >= 0 < 2.3.3 | 2.3.3 |
CVSS provenance
nvdv3.07.5HIGHCVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
nvdv2.05.0MEDIUMAV:N/AC:L/Au:N/C:N/I:N/A:P
osv7.5HIGH
vendor_debian7.5HIGH
vendor_redhat7.5HIGH
Stop checking back — get the weekly exploitation signal.
Every Monday: what got weaponized or added to CISA KEV in the last seven days — each CVE cross-linked to its PoC, Nuclei template, and detection rule. Free, one email a week, unsubscribe in one click.
OSV
Regular Expression Denial of Service in tough-cookie
osv·2018-07-24
CVE-2017-15010 [HIGH] Regular Expression Denial of Service in tough-cookie
Regular Expression Denial of Service in tough-cookie
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.
GHSA
Regular Expression Denial of Service in tough-cookie
ghsa·2018-07-24
CVE-2017-15010 [HIGH] CWE-400 Regular Expression Denial of Service in tough-cookie
Regular Expression Denial of Service in tough-cookie
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.
OSV
CVE-2017-15010: A ReDoS (regular expression denial of service) flaw was found in the tough-cookie module before 2
osv·2017-10-04·CVSS 7.5
CVE-2017-15010 [HIGH] CVE-2017-15010: A ReDoS (regular expression denial of service) flaw was found in the tough-cookie module before 2
A ReDoS (regular expression denial of service) flaw was found in the tough-cookie module before 2.3.3 for Node.js. An attacker that is able to make an HTTP request using a specially crafted cookie may cause the application to consume an excessive amount of CPU.
Red Hat
nodejs-tough-cookie: Regular expression denial of service
vendor_redhat·2017-09-05·CVSS 7.5
CVE-2017-15010 [HIGH] CWE-400 nodejs-tough-cookie: Regular expression denial of service
nodejs-tough-cookie: Regular expression denial of service
A ReDoS (regular expression denial of service) flaw was found in the tough-cookie module before 2.3.3 for Node.js. An attacker that is able to make an HTTP request using a specially crafted cookie may cause the application to consume an excessive amount of CPU.
A regular expression denial of service flaw was found in Tough-Cookie. An attacker able to make an application using Touch-Cookie to parse a sufficiently large HTTP request Cookie header could cause the application to consume an excessive amount of CPU.
Statement: Red Hat Quay include nodejs-tough-cookie as a build time dependency of protractor. It's no included in the runtime code, and is therefore not affected by this vulnerability.
Package: nodejs-tough-cookie (Red Hat
Debian
CVE-2017-15010: node-tough-cookie - A ReDoS (regular expression denial of service) flaw was found in the tough-cooki...
vendor_debian·2017·CVSS 7.5
CVE-2017-15010 [HIGH] CVE-2017-15010: node-tough-cookie - A ReDoS (regular expression denial of service) flaw was found in the tough-cooki...
A ReDoS (regular expression denial of service) flaw was found in the tough-cookie module before 2.3.3 for Node.js. An attacker that is able to make an HTTP request using a specially crafted cookie may cause the application to consume an excessive amount of CPU.
Scope: local
bookworm: resolved (fixed in 2.3.4+dfsg-1)
bullseye: resolved (fixed in 2.3.4+dfsg-1)
forky: resolved (fixed in 2.3.4+dfsg-1)
sid: resolved (fixed in 2.3.4+dfsg-1)
trixie: resolved (fixed in 2.3.4+dfsg-1)
No detection rules found.
No public exploits indexed.
Bugzilla
CVE-2017-15010 nodejs-tough-cookie: Regular expression denial of service
bugzilla·2017-09-21·CVSS 7.5
CVE-2017-15010 [HIGH] CVE-2017-15010 nodejs-tough-cookie: Regular expression denial of service
CVE-2017-15010 nodejs-tough-cookie: Regular expression denial of service
It was found that the tough-cookie module is vulnerable to regular expression denial of service. Input of around 50k characters is required for a slow down of around 2 seconds.
Unless node was compiled using the -DHTTP_MAX_HEADER_SIZE= option the default header max length is 80kb so the impact of the ReDoS is limited to around 7.3 seconds of blocking.
Upstream issue:
https://github.com/salesforce/tough-cookie/issues/92
Upstream patch:
https://github.com/salesforce/tough-cookie/commit/98e0916d7b017669c93855d831c6e0b19c14141e
Discussion:
Created nodejs-tough-cookie tracking bugs for this issue:
Affects: fedora-all [bug 1493991]
---
Created attachment 1333247
patch
---
External References:
https://nodesecuri
Bugzilla
CVE-2017-15010 nodejs-tough-cookie: Regular expression denial of service [fedora-all]
bugzilla·2017-09-21·CVSS 7.5
CVE-2017-15010 [HIGH] CVE-2017-15010 nodejs-tough-cookie: Regular expression denial of service [fedora-all]
CVE-2017-15010 nodejs-tough-cookie: Regular expression denial of service [fedora-all]
This is an automatically created tracking bug! It was created to ensure
that one or more security vulnerabilities are fixed in affected versions
of fedora-all.
For comments that are specific to the vulnerability please use bugs filed
against the "Security Response" product referenced in the "Blocks" field.
For more information see:
http://fedoraproject.org/wiki/Security/TrackingBugs
When submitting as an update, use the fedpkg template provided in the next
comment(s). This will include the bug IDs of this tracking bug as well as
the relevant top-level CVE bugs.
Please also mention the CVE IDs being fixed in the RPM changelog and the
fedpkg commit message.
NOTE: this issue affects multiple supported
http://www.securityfocus.com/bid/101185https://access.redhat.com/errata/RHSA-2017:2912https://access.redhat.com/errata/RHSA-2017:2913https://access.redhat.com/errata/RHSA-2018:1263https://access.redhat.com/errata/RHSA-2018:1264https://github.com/salesforce/tough-cookie/issues/92https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/6VEBDTGNHVM677SLZDEHMWOP3ISMZSFT/https://nodesecurity.io/advisories/525https://snyk.io/vuln/npm:tough-cookie:20170905http://www.securityfocus.com/bid/101185https://access.redhat.com/errata/RHSA-2017:2912https://access.redhat.com/errata/RHSA-2017:2913https://access.redhat.com/errata/RHSA-2018:1263https://access.redhat.com/errata/RHSA-2018:1264https://github.com/salesforce/tough-cookie/issues/92https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/6VEBDTGNHVM677SLZDEHMWOP3ISMZSFT/https://nodesecurity.io/advisories/525https://snyk.io/vuln/npm:tough-cookie:20170905
2017-10-04
Published