Lucene search

K
veracodeVeracode Vulnerability DatabaseVERACODE:5018
HistorySep 06, 2017 - 6:29 a.m.

Regular Expression Denial Of Service (ReDoS) Via Parsing Cookies

2017-09-0606:29:35
Veracode Vulnerability Database
sca.analysiscenter.veracode.com
11

0.011 Low

EPSS

Percentile

84.8%

tough-cookie is vulnerable to regular expression denial of service (ReDoS) attack. The vulnerability exists because the COOKIE_PAIR regular expression used to parse the cookies causes unlimited repetitions when matching input characters. By using a large cookie string, attackers can make the process hang and cause a denial of service condition.