{"id":"CVE-2024-47764","published":"2024-10-04T19:09:46Z","modified":"2024-10-04T20:14:56Z","title":"cookie accepts cookie name, path, and domain with out of bounds characters","vendor":"jshttp","product":"cookie","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":6.9,"severity":"MEDIUM","version":"4.0","vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:L/VA:N/SC:N/SI:N/SA:N","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00744,"percentile":0.55673,"provenance":"source"},"cwes":[{"id":"CWE-74","name":"Improper Neutralization of Special Elements in Output Used by a Downstream Component"}],"references":[{"url":"https://github.com/jshttp/cookie/security/advisories/GHSA-pxg6-pf52-xh8x","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/jshttp/cookie/pull/167","tags":["x_refsource_MISC"]},{"url":"https://github.com/jshttp/cookie/commit/e10042845354fea83bd8f34af72475eed1dadf5c","tags":["x_refsource_MISC"]}],"priority":{"score":16.0,"factors":[{"name":"EPSS percentile","points":11.13},{"name":"CVSS severity","points":4.83}]},"vendorSlug":"jshttp","affectedVersions":[{"vendor":"jshttp","product":"cookie","versions":["< 0.7.0"]}],"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial","timestamp":"2024-10-04T20:14:41.037183Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"npm","package":"cookie","vulnerableRanges":["<0.7.0"],"patched":["0.7.0"],"from":["GHSA-pxg6-pf52-xh8x"],"provenance":"source"}],"summary":{"text":"The cookie package from jshttp, a basic HTTP cookie parser and serializer used by HTTP servers, fails to validate the cookie name, path, and domain values, so characters outside the allowed range are accepted. An attacker who can get a crafted name, path, or domain into a cookie the library serializes can use the unescaped characters to alter other fields of the resulting cookie, changing its value; this requires no privileges or user interaction and only network access to the affected application.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T21:27:07Z"},"euvd":{"id":"EUVD-2024-3106","exploited":false,"provenance":"source"}}