Vulnerabilities/

cookiejar Regular Expression Denial of Service via Cookie.parse function

Severity:
Medium

Description

Versions of the package cookiejar before 2.1.4 are vulnerable to Regular Expression Denial of Service (ReDoS) via the Cookie.parse function and other aspects of the API, which use an insecure regular expression for parsing cookie values.

Recommendation

Update the cookiejar package to the latest compatible version. Followings are version details:

References

Related Issues

Tags:
npm
cookiejar
Anything's wrong? Let us know Last updated on February 13, 2025