Lucene search

K
osvGoogleOSV:PSF-2019-14
HistoryNov 14, 2019 - 12:00 a.m.

Regular Expression Denial of Service in http.cookiejar

2019-11-1400:00:00
Google
osv.dev
14

AI Score

6.9

Confidence

High

EPSS

0.002

Percentile

59.2%

The regex http.cookiejar.LOOSE_HTTP_DATE_RE is vulnerable to regular
expression denial of service (“REDoS”). LOOSE_HTTP_DATE_RE.match() is
called when using http.cookiejar.CookieJar to parse Set-Cookie
headers returned by a HTTP server. Processing a response from a malicious
HTTP server can lead to extreme CPU usage and execution will be blocked
for a long time.