CVE-2017-18589 – cookie
Package
Manager: cargo
Name: cookie
Vulnerable Version: >=0 <0.7.6
Severity
Level: High
CVSS v3.1: CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
CVSS v4.0: CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N
EPSS: 0.00334 pctl0.55653
Details
Improper Input Validation in cookie 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.
Metadata
Created: 2021-08-25T20:43:02Z
Modified: 2023-06-13T17:03:43Z
Source: https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2021/08/GHSA-vjrq-cg9x-rfjp/GHSA-vjrq-cg9x-rfjp.json
CWE IDs: ["CWE-20"]
Alternative ID: GHSA-vjrq-cg9x-rfjp
Finding: F184
Auto approve: 1