{"id":"GHSA-g7q5-pjjr-gqvp","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.","aliases":["CVE-2017-15010"],"modified":"2023-11-01T04:47:41.318733Z","published":"2018-07-24T20:14:39Z","database_specific":{"cwe_ids":["CWE-400"],"severity":"HIGH","github_reviewed":true,"github_reviewed_at":"2020-06-16T21:36:20Z","nvd_published_at":null},"references":[{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2017-15010"},{"type":"WEB","url":"https://github.com/salesforce/tough-cookie/issues/92"},{"type":"WEB","url":"https://github.com/salesforce/tough-cookie/commit/f1ed420a6a92ea7a5418df6e39e676556bc0c71d"},{"type":"WEB","url":"https://access.redhat.com/errata/RHSA-2017:2912"},{"type":"WEB","url":"https://access.redhat.com/errata/RHSA-2017:2913"},{"type":"WEB","url":"https://access.redhat.com/errata/RHSA-2018:1263"},{"type":"WEB","url":"https://access.redhat.com/errata/RHSA-2018:1264"},{"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://snyk.io/vuln/npm:tough-cookie:20170905"},{"type":"WEB","url":"https://www.npmjs.com/advisories/525"},{"type":"WEB","url":"http://www.securityfocus.com/bid/101185"}],"affected":[{"package":{"name":"tough-cookie","ecosystem":"npm","purl":"pkg:npm/tough-cookie"},"ranges":[{"type":"SEMVER","events":[{"introduced":"0"},{"fixed":"2.3.3"}]}],"database_specific":{"source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2018/07/GHSA-g7q5-pjjr-gqvp/GHSA-g7q5-pjjr-gqvp.json"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V3","score":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H"}]}