{"id":"UBUNTU-CVE-2024-47764","details":"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.","modified":"2025-10-24T05:13:13Z","published":"2024-10-04T20:15:00Z","upstream":["CVE-2024-47764"],"references":[{"type":"REPORT","url":"https://ubuntu.com/security/CVE-2024-47764"},{"type":"REPORT","url":"https://www.cve.org/CVERecord?id=CVE-2024-47764"},{"type":"REPORT","url":"https://github.com/jshttp/cookie/security/advisories/GHSA-pxg6-pf52-xh8x"},{"type":"REPORT","url":"https://github.com/jshttp/cookie/pull/167"},{"type":"REPORT","url":"https://github.com/jshttp/cookie/commit/e10042845354fea83bd8f34af72475eed1dadf5c"}],"affected":[{"package":{"name":"node-cookie","ecosystem":"Ubuntu:16.04:LTS","purl":"pkg:deb/ubuntu/node-cookie@0.1.2-2?arch=source&distro=xenial"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["0.1.2-2"],"ecosystem_specific":{"binaries":[{"binary_version":"0.1.2-2","binary_name":"node-cookie"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2024/UBUNTU-CVE-2024-47764.json"}},{"package":{"name":"node-cookie","ecosystem":"Ubuntu:18.04:LTS","purl":"pkg:deb/ubuntu/node-cookie@0.1.2-2ubuntu1?arch=source&distro=bionic"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["0.1.2-2","0.1.2-2ubuntu1"],"ecosystem_specific":{"binaries":[{"binary_version":"0.1.2-2ubuntu1","binary_name":"node-cookie"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2024/UBUNTU-CVE-2024-47764.json"}},{"package":{"name":"node-cookie","ecosystem":"Ubuntu:20.04:LTS","purl":"pkg:deb/ubuntu/node-cookie@0.4.0-1?arch=source&distro=focal"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["0.3.1+20180326git4e2b255de6b85c3ec-1","0.4.0-1"],"ecosystem_specific":{"binaries":[{"binary_version":"0.4.0-1","binary_name":"node-cookie"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2024/UBUNTU-CVE-2024-47764.json"}},{"package":{"name":"node-cookie","ecosystem":"Ubuntu:22.04:LTS","purl":"pkg:deb/ubuntu/node-cookie@0.4.1-2?arch=source&distro=jammy"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["0.4.1-1","0.4.1-2"],"ecosystem_specific":{"binaries":[{"binary_version":"0.4.1-2","binary_name":"node-cookie"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2024/UBUNTU-CVE-2024-47764.json"}},{"package":{"name":"node-cookie","ecosystem":"Ubuntu:24.04:LTS","purl":"pkg:deb/ubuntu/node-cookie@0.5.0-2?arch=source&distro=noble"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["0.5.0-2"],"ecosystem_specific":{"binaries":[{"binary_version":"0.5.0-2","binary_name":"node-cookie"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2024/UBUNTU-CVE-2024-47764.json"}}],"schema_version":"1.7.3","severity":[{"type":"CVSS_V4","score":"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"},{"type":"Ubuntu","score":"medium"}]}