CVE-2017-18589 json
Improper Input Validation in cookie
published 2017-05-06 9 y ago modified 2026-06-17 4 mo ago also GHSA-vjrq-cg9x-rfjp , RUSTSEC-2017-0005 , EUVD-2021-1897
- cvss
- 7.5
- version 3.0, NVD
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 1.5%
- EPSS 1.5% chance of exploitation in 30 days, percentile 74%
- public exploits
- 0
- none known
Summary
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.
Patch / fix
- crates.io cookie 0.6.2, 0.7.6
- cookie_project cookie 0.7.6
- github.com/SergioBenitez/cookie-rs@ee18b79 commit
- github.com/SergioBenitez/cookie-rs#86 pull request
- github.com/alexcrichton/cookie-rs#86 pull request
Exploit prediction
1.51% chance of exploitation in the next 30 days, higher than 74% of all scored CVEs (FIRST EPSS, 2026-11-08).
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| NVD | 3.0 | 7.5 | CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
| NVD | 2.0 | 5.0 | AV:N/AC:L/Au:N/C:N/I:N/A:P |
| GitHub | 3.0 | 7.5 | CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
| OSV | 3.0 | 7.5 | CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| crates.io | cookie | <0.7.6 >=0.6.0, <0.6.2 >=0.7.0-0, <0.7.6 |
0.7.6 0.6.2 |
Classification
- Weakness
-
- CWE-20 Improper Input Validation
References
-
github.com
/SergioBenitez/cookie-rs/pull/86
web
-
github.com
/SergioBenitez/cookie-rs/commit/ee18b79fbf0903b73da525d302b09448009e0050
web
-
github.com
/alexcrichton/cookie-rs/pull/86
web
-
rustsec.org
/advisories/RUSTSEC-2017-0005.html
web, third-party-advisory, advisory
-
nvd.nist.gov
/vuln/detail/CVE-2017-18589
advisory
-
github.com
/alexcrichton/cookie-rs
package
-
crates.io
/crates/cookie
package
Sources
- CVE List CVE-2017-18589
- GitHub Advisory GHSA-vjrq-cg9x-rfjp
- NVD CVE-2017-18589
- OSV RUSTSEC-2017-0005
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.