CVE-2024-47764 cookie accepts cookie name, path, and domain with out of bounds characters
MediumCVSS 6.9
EPSS 0.74%
- Published
- Updated
- Exploit status
- No public exploit known
- CISA SSVC
- No known exploitation · automatable: no · technical impact: partial
- Technology
- UbuntuDebian
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.
Upgrade path
8 packages: 4 fixed, 3 with no fix yet.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| debian/node-cookie(Debian 12) | = 0.5.0-2; = 0.6.0+~0.6.0-1; = 0.6.0-1; = 0.7.1+~0.6.0-1 +2 more | No fix listed | No fix yet |
| ubuntu/node-cookie(Ubuntu 22.04) | All versions | No fix listed | No fix yet |
| ubuntu/node-cookie(Ubuntu 24.04) | All versions | No fix listed | No fix yet |
| debian/node-cookie(Debian 13) | < 0.7.1+~0.6.0-1 | 0.7.1+~0.6.0-1 | Fixed |
| debian/node-cookie(Debian 14) | < 0.7.1+~0.6.0-1 | 0.7.1+~0.6.0-1 | Fixed |
| Microsoft cbl mariner | < 3.1.1-13 | 3.1.1-13 | Fixed |
| npm cookie(npm) | < 0.7.0 | 0.7.0 | Fixed |
| jshttp cookie | = < 0.7.0 | No fix listed | Versions listed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| Microsoft cbl mariner | < 3.1.1-13 | 3.1.1-13 |
| debian/node-cookie(Debian:12) | All versions | No fix listed |
| debian/node-cookie(Debian:12) | = 0.5.0-2 | No fix listed |
| debian/node-cookie(Debian:12) | = 0.6.0+~0.6.0-1 | No fix listed |
| debian/node-cookie(Debian:12) | = 0.6.0-1 | No fix listed |
| debian/node-cookie(Debian:12) | = 0.7.1+~0.6.0-1 | No fix listed |
| debian/node-cookie(Debian:12) | = 0.7.2+~0.6.0-1 | No fix listed |
| debian/node-cookie(Debian:13) | < 0.7.1+~0.6.0-1 | 0.7.1+~0.6.0-1 |
| debian/node-cookie(Debian:14) | < 0.7.1+~0.6.0-1 | 0.7.1+~0.6.0-1 |
| npm cookie(npm) | < 0.7.0 | 0.7.0 |
| ubuntu/node-cookie(Ubuntu:22.04) | All versions | No fix listed |
| jshttp cookie | = < 0.7.0 | No fix listed |
| ubuntu/node-cookie(Ubuntu:24.04) | All versions | No fix listed |
References
- MSRC Security Update Guide vendor-advisory
- reaper vendor-advisory
- Debian Security Tracker CVE-2024-47764 vendor-advisory
- https://github.com/jshttp/cookie/security/advisories/GHSA-pxg6-pf52-xh8x vendor-advisory
- https://github.com/jshttp/cookie/pull/167 patch
- https://github.com/jshttp/cookie/commit/e10042845354fea83bd8f34af72475eed1dadf5c patch
- github.com
- Ubuntu CVE tracker vendor-advisory
- www.cve.org
- github.com product