CVE-2024-47764Published Oct 4, 2024 · Oct 4Updated Oct 28
cookie accepts cookie name, path, and domain with out of bounds characters
jshttp cookie
Medium6.9Fix available
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| cookie npm |
|
|
Original description
cookie is a basic HTTP cookie parser and serializer for HTTP servers. The cookie name could be used to set other fields of the cookie, resulting in an unexpected cookie value. A similar escape can be used for path and domain, which could be abused to alter other fields of the cookie. Upgrade to 0.7.0, which updates the validation for name, path, and domain.
From the CVE record · GitHub_M