Skip to content
OpenAdvisories
Medium · 5.3 CVE-2016-1000232 EUVD-2018-0666GHSA-qhv9-728r-6jqg

ReDoS via long string of semicolons in tough-cookie

Published Sep 5, 2018 · Updated Aug 6, 2024 · Assigned by mitre

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.

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
RHEL 2 rh-nodejs4-nodejs-tough-cookie 2.3.3-2.el6 RHSA-2017:2912
Show 1 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
Red Hat OpenShift 3 nodejs +2 0.10.47-2.el7 RHSA-2016:2101
Red Hat OpenShift 3 nodejs-tough-cookie 2.3.1-1.el7 RHSA-2016:2101

Affected packages

EcosystemPackageAffectedFixedRecord
npm tough-cookie < 2.3.0 2.3.0 GHSA-qhv9-728r-6jqg

Advisories 3

References