CVE-2024-47764
cookie accepts cookie name, path, and domain with out of bounds characters
Reported by github_m · Published October 4, 2024
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.
Risk scores
Affected products
| Vendor | Product | Versions |
|---|---|---|
| jshttp | cookie | < 0.7.0 |
| jshttp | cookie | 0 |
| chainguard | gitlab-rails-ce-fips-19.2 | 0 |
| chainguard | commercial-gitlab-rails-ee-fips-19.3 | 0 |
| wolfi | opensearch-dashboards-2 | 0 |
| chainguard | gitlab-rails-ce-19.1 | 0 |
| wolfi | thingsboard | 0 |
| chainguard | argo-workflows | 0 |
| chainguard | arangodb-3.11 | 0 |
| chainguard | gitlab-rails-ce-18.11 | 0 |
| wolfi | sqlpad | 0 |
| wolfi | vitess-20 | 0 |
| wolfi | kubeflow-katib | 0, 0 |
| chainguard | sqlpad | 0 |
| wolfi | jitsucom-jitsu | 0 |
| chainguard | vitess-19 | 0 |
| chainguard | commercial-gitlab-rails-ee-19.1 | 0 |
| chainguard | kibana-8 | 0 |
| chainguard | gitlab-rails-ce-fips-18.9 | 0 |
| chainguard | commercial-gitlab-rails-ee-fips-19.1 | 0 |
…and 29 more
Timeline
- Oct 1, 2024 Fix PR Merged
- Oct 4, 2024 CVE Published
- Oct 5, 2024 EPSS Score (30 in total, the first dated here)
- Oct 14, 2024 Coalition ESS Score (7 in total, the first dated here)
- Jan 3, 2026 Security Advisory (3 in total, the first dated here)
- Nov 22, 2026 Distribution Patch (2 in total, the first dated here)
Query this with the API
The same record, from the CLI:
vulnetix vdb vuln CVE-2024-47764
vulnetix vdb fixes CVE-2024-47764
Or with curl, using the org id and key from your account page:
curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
"https://api.vdb.vulnetix.com/v2/vuln/CVE-2024-47764/fixes/registry"
The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart
References
- https://github.com/jshttp/cookie/security/advisories/GHSA-pxg6-pf52-xh8x x_refsource_CONFIRM
- https://github.com/jshttp/cookie/pull/167 x_refsource_MISC
- https://github.com/jshttp/cookie/commit/e10042845354fea83bd8f34af72475eed1dadf5c x_refsource_MISC
- https://nvd.nist.gov/vuln/detail/CVE-2024-47764 advisory
- https://github.com/advisories/GHSA-pxg6-pf52-xh8x advisory
- https://github.com/jshttp/cookie url