CVE-2017-18589
HIGH 7.5CVSS 3.0Improper Input Validation in cookie
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.
- Published
- 26 Aug 2019
- Last modified
- 17 Jun 2026
- Assigned by
- cve@mitre.org
- NVD status
- Modified
- Weakness
- CWE-20
- Also known as
- GHSA-vjrq-cg9x-rfjpRUSTSEC-2017-0005
- Sources
- NVDJSONOSV GHSA-vjrq-cg9x-rfjpJSONOSV RUSTSEC-2017-0005JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | nvd@nist.gov (Primary) | CVSS 3.0 | HIGH 7.5 | CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
| OSV | GitHub | CVSS 3.0 | HIGH 7.5 | CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
| OSV | RustSec | CVSS 3.0 | HIGH 7.5 | CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
| NVD | nvd@nist.gov (Primary) | CVSS 2.0 | MEDIUM 5.0 | AV:N/AC:L/Au:N/C:N/I:N/A:P |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | cookie_project | cookiecpe:2.3:a:cookie_project:cookie:*:*:*:*:*:*:*:* |
< 0.7.6 | 0.7.6 |
| OSV | crates.io | cookie | < 0.7.6 | 0.7.6 |
| OSV | crates.io | cookie | >= 0.6.0, < 0.6.2; >= 0.7.0-0, < 0.7.6 | 0.6.2, 0.7.6 |
References
- https://rustsec.org/advisories/RUSTSEC-2017-0005.html · Third Party Advisory, WEB, ADVISORY
- https://nvd.nist.gov/vuln/detail/CVE-2017-18589 · ADVISORY
- https://github.com/SergioBenitez/cookie-rs/pull/86 · WEB
- https://github.com/SergioBenitez/cookie-rs/commit/ee18b79fbf0903b73da525d302b09448009e0050 · WEB
- https://github.com/alexcrichton/cookie-rs · PACKAGE
- https://crates.io/crates/cookie · PACKAGE
- https://github.com/alexcrichton/cookie-rs/pull/86 · WEB
History
- 25 Nov 2026 20:30 UTC · NVD: first stored (published 26 Aug 2019)
- 25 Nov 2026 20:14 UTC · OSV: first stored (published 6 May 2017)
- 25 Nov 2026 20:14 UTC · OSV: first stored (published 25 Aug 2021)