Bugzilla will be upgraded to version 5.0. The upgrade date is tentatively scheduled for 2 December 2018, pending final testing and feedback.
Bug 1359818 - (CVE-2016-1000232) CVE-2016-1000232 nodejs-tough-cookie: regular expression DoS via Cookie header with many semicolons
CVE-2016-1000232 nodejs-tough-cookie: regular expression DoS via Cookie heade...
Status: NEW
Product: Security Response
Classification: Other
Component: vulnerability (Show other bugs)
unspecified
All Linux
medium Severity medium
: ---
: ---
Assigned To: Red Hat Product Security
impact=moderate,public=20160722,repor...
: Reopened, Security
Depends On: 1359819 1377456 1377457 1497695 1497696
Blocks: 1359821
  Show dependency treegraph
 
Reported: 2016-07-25 09:48 EDT by Andrej Nemec
Modified: 2018-06-29 18:13 EDT (History)
16 users (show)

See Also:
Fixed In Version: nodejs-tough-cookie 2.3.0
Doc Type: If docs needed, set a value
Doc Text:
A regular expression denial of service flaw was found in Tough-Cookie. An attacker able to make an application using Touch-Cookie to parse an HTTP header with many semicolons could cause the application to consume an excessive amount of CPU.
Story Points: ---
Clone Of:
Environment:
Last Closed: 2016-10-26 12:10:05 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)


External Trackers
Tracker ID Priority Status Summary Last Updated
Red Hat Product Errata RHSA-2016:2101 normal SHIPPED_LIVE Moderate: nodejs and nodejs-tough-cookie security, bug fix, and enhancement update 2016-10-27 16:41:39 EDT
Red Hat Product Errata RHSA-2017:2912 normal SHIPPED_LIVE Moderate: rh-nodejs4-nodejs-tough-cookie security update 2017-10-18 16:46:42 EDT

  None (edit)
Description Andrej Nemec 2016-07-25 09:48:20 EDT
Tough-cookie is a cookie parsing and management library.

Versions 0.9.7 through 2.2.2 contain a vulnerable regular expression that, under certain conditions involving long strings of semicolons in the "Cookie" header, causes the event loop to block for excessive amounts of time.

External References:

https://nodesecurity.io/advisories/130

Upstream fixes:

https://github.com/SalesforceEng/tough-cookie/commit/e4fc2e0f9ee1b7a818d68f0ac7ea696f377b1534
https://github.com/SalesforceEng/tough-cookie/commit/615627206357d997d5e6ff9da158997de05235ae
Comment 1 Andrej Nemec 2016-07-25 09:48:50 EDT
Created nodejs-tough-cookie tracking bugs for this issue:

Affects: fedora-all [bug 1359819]
Comment 2 Fedora Update System 2016-08-09 00:50:46 EDT
nodejs-tough-cookie-2.3.1-1.fc24 has been pushed to the Fedora 24 stable repository. If problems still persist, please make note of it in this bug report.
Comment 4 Tomas Hoger 2016-08-25 05:56:30 EDT
If tough-cookie module is used to parse Cookie header value, this flaw could cause it to use excessive amount of CPU time (cookie header takes long to parse).  The actual impact depends on the maximum value length that can be received by the application.  If node.js is deployed behind a web server such as Apache httpd or nginx, default header size limits of those servers (4-8K):

http://stackoverflow.com/questions/686217/maximum-on-http-header-values#8623061

greatly mitigate impact of this issue.  node.js directly expose to the internet can process larger headers, and hence possible impact is higher.
Comment 7 errata-xmlrpc 2016-10-27 12:42:30 EDT
This issue has been addressed in the following products:

  Red Hat OpenShift Container Platform 3.3
  Red Hat OpenShift Enterprise 3.2
  Red Hat OpenShift Enterprise 3.1

Via RHSA-2016:2101 https://access.redhat.com/errata/RHSA-2016:2101
Comment 10 errata-xmlrpc 2017-10-18 12:47:27 EDT
This issue has been addressed in the following products:

  Red Hat Software Collections for Red Hat Enterprise Linux 6
  Red Hat Software Collections for Red Hat Enterprise Linux 6.7 EUS
  Red Hat Software Collections for Red Hat Enterprise Linux 7
  Red Hat Software Collections for Red Hat Enterprise Linux 7.3 EUS

Via RHSA-2017:2912 https://access.redhat.com/errata/RHSA-2017:2912

Note You need to log in before you can comment on or make changes to this bug.