Incorrect Regular Expression in Tough-cookie - CVE-2017-15010
Published: February 5, 2025
Vulnerability details
The vulnerability allows a remote attacker to perform a denial of service (DoS) attack.
The vulnerability exists due to insufficient input validation when processing regular expressions. A remote 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 software
Fedora
rh-nodejs6-nodejs-tough-cookie (Red Hat package)
rh-nodejs4-nodejs-tough-cookie (Red Hat package)
nodejs-tough-cookie
IBM Cognos Analytics
How to mitigate CVE-2017-15010
rh-nodejs6-nodejs-tough-cookie (Red Hat package) - addressed in versions 2.3.3-1.el6, 2.3.3-1.el7
rh-nodejs4-nodejs-tough-cookie (Red Hat package) - addressed in versions 2.3.3-2.el6, 2.3.3-2.el7
nodejs-tough-cookie - update to 2.3.4-1.fc30
IBM Cognos Analytics - addressed in versions 11.2.4 IF5, 12.0.4 IF2
External References
- http://www.securityfocus.com/bid/101185
- https://access.redhat.com/errata/RHSA-2017:2912
- https://access.redhat.com/errata/RHSA-2017:2913
- https://access.redhat.com/errata/RHSA-2018:1263
- https://access.redhat.com/errata/RHSA-2018:1264
- https://github.com/salesforce/tough-cookie/issues/92
- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/6VEBDTGNHVM677SLZDEHMWOP3ISMZSFT/
- https://nodesecurity.io/advisories/525
- https://snyk.io/vuln/npm:tough-cookie:20170905