{"id":"CVE-2017-15010","aliases":["GHSA-g7q5-pjjr-gqvp"],"url":"https://o3.security/vulnerability/CVE-2017-15010","summary":"Regular Expression Denial of Service in tough-cookie","details":"Affected versions of `tough-cookie` are susceptible to a regular expression denial of service.\n\nThe 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.\n\nIf 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.\n\n\n## Recommendation\n\nUpdate to version 2.3.3 or later.","published":"2017-10-04T01:29:03.403Z","modified":"2026-10-20T10:48:13.224284211Z","cvss":{"score":7.5,"severity":"HIGH","vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H"},"epss":null,"cisaKev":null,"exploitsKnown":null,"affectedPackages":[{"ecosystem":"npm","name":"tough-cookie","fixedVersion":"2.3.3"}],"fix":{"url":"https://github.com/salesforce/tough-cookie/commit/f1ed420a6a92ea7a5418df6e39e676556bc0c71d","label":"salesforce/tough-cookie@f1ed420"},"references":[{"type":"WEB","url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/6VEBDTGNHVM677SLZDEHMWOP3ISMZSFT/"},{"type":"ADVISORY","url":"http://www.securityfocus.com/bid/101185"},{"type":"ADVISORY","url":"https://access.redhat.com/errata/RHSA-2017:2912"},{"type":"ADVISORY","url":"https://access.redhat.com/errata/RHSA-2017:2913"},{"type":"ADVISORY","url":"https://access.redhat.com/errata/RHSA-2018:1263"},{"type":"ADVISORY","url":"https://access.redhat.com/errata/RHSA-2018:1264"},{"type":"ADVISORY","url":"https://nodesecurity.io/advisories/525"},{"type":"REPORT","url":"https://github.com/salesforce/tough-cookie/issues/92"},{"type":"FIX","url":"https://snyk.io/vuln/npm:tough-cookie:20170905"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2017-15010"},{"type":"WEB","url":"https://github.com/salesforce/tough-cookie/commit/f1ed420a6a92ea7a5418df6e39e676556bc0c71d"},{"type":"ADVISORY","url":"https://github.com/advisories/GHSA-g7q5-pjjr-gqvp"},{"type":"PACKAGE","url":"https://github.com/salesforce/tough-cookie"},{"type":"WEB","url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/6VEBDTGNHVM677SLZDEHMWOP3ISMZSFT"},{"type":"WEB","url":"https://www.npmjs.com/advisories/525"}],"provenance":{"sources":["OSV.dev","FIRST.org (EPSS)"],"lastVerified":"2026-10-20T10:48:13.224284211Z"}}