CVE-2024-47764

Source
https://nvd.nist.gov/vuln/detail/CVE-2024-47764
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2024-47764.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2024-47764
Aliases
Downstream
Related
Published
2024-10-04T19:09:46Z
Modified
2025-10-22T18:43:46.958900Z
Severity
  • 6.9 (Medium) CVSS_V4 - 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 CVSS Calculator
Summary
cookie accepts cookie name, path, and domain with out of bounds characters
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.

Database specific
{
    "cwe_ids": [
        "CWE-74"
    ]
}
References

Affected packages

Git / github.com/jshttp/cookie

Affected ranges

Type
GIT
Repo
https://github.com/jshttp/cookie
Events
Introduced
0 Unknown introduced commit / All previous commits are affected
Fixed

Affected versions

v0.*

v0.0.1
v0.0.2
v0.0.3
v0.0.4
v0.0.5
v0.0.6
v0.1.0
v0.1.1
v0.1.2
v0.1.3
v0.1.4
v0.1.5
v0.2.0
v0.2.1
v0.2.2
v0.2.3
v0.2.4
v0.3.0
v0.3.1
v0.4.0
v0.4.1
v0.4.2
v0.5.0
v0.6.0