Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

RUSTSEC-2017-0005: Large cookie Max-Age values can cause a denial of service #74

Open
github-actions bot opened this issue Nov 5, 2020 · 0 comments

Comments

@github-actions
Copy link

github-actions bot commented Nov 5, 2020

Large cookie Max-Age values can cause a denial of service

Details
Package cookie
Version 0.15.0-dev
URL rwf2/cookie-rs#86
Date 2017-05-06
Patched versions <0.6.0,>=0.6.2, <0.7.0,>=0.7.6

Affected versions of this crate use the time crate and the method
Duration::seconds to parse the Max-Age duration cookie setting. This method
will panic if the value is greater than 2^64/1000 and less than or equal to
2^64, which can result in denial of service for a client or server.

This flaw was corrected by explicitly checking for the Max-Age being in this
integer range and clamping the value to the maximum duration value.

See advisory page for additional details.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

0 participants