Medium severity · published Oct 4, 2024
CVE-2024-47764
cookie accepts cookie name, path, and domain with out of bounds characters
6.9
CVSS
0.7%
EPSS
No
On KEV
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.
Exploitation
Is it being used?
Exploit prediction (EPSS)0.7% · higher than 55% of CVEs
Exploited in the wildNo evidence yet
CISA KEVNot listed
Ransomware campaign useNot known
Affected products
Which versions
CO
cookie · jshttp
< 0.7.0 · source: vendor
References
NVD
https://nvd.nist.gov/vuln/detail/CVE-2024-47764
CVE.org
https://www.cve.org/CVERecord?id=CVE-2024-47764
github.com
https://github.com/jshttp/cookie/commit/e10042845354fea83bd8f34af72475eed1dadf5c
github.com
https://github.com/jshttp/cookie/pull/167
github.com
https://github.com/jshttp/cookie/security/advisories/GHSA-pxg6-pf52-xh8x
