Skip to main content
← All vulnerabilities
CVE-2024-47764GHSA-PXG6-PF52-XH8X

cookie accepts cookie name, path, and domain with out of bounds characters

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 0.7.0
None on Exploit-DB, Metasploit or GitHub
  • Exploitation: none
  • Automatable: no
  • Technical impact: partial

Summary

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.

Timeline

  1. CVE published
  2. CISA SSVC assessment

    Exploitation: none · Automatable: no · Technical impact: partial

  3. Record last updated

Affected versions

  • jshttp cookie

    fixed in 0.7.0

  • cookienpm

    fixed in 0.7.0

References 3

GitHub · jshttp/cookie