jshttp/cookie

jshttp/cookie

Releases34
Frequency5 months 3 days
Last Release
Stars1.52K
HTTP server cookie parsing and serialization

CVE History

CVEAffectedPublishedCVSS v3CVSS v2

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.

< 0.7.65 MEDIUM

An issue was discovered in the cookie crate before 0.7.6 for Rust. Large integers in the Max-Age of a cookie cause a panic.