mirror of
https://github.com/rustsec/advisory-db.git
synced 2026-11-30 10:54:32 -06:00
79 lines
2.2 KiB
JSON
79 lines
2.2 KiB
JSON
[
|
|
{
|
|
"id": "RUSTSEC-2017-0005",
|
|
"modified": "2023-06-13T13:10:24Z",
|
|
"published": "2017-05-06T12:00:00Z",
|
|
"aliases": [
|
|
"CVE-2017-18589",
|
|
"GHSA-vjrq-cg9x-rfjp"
|
|
],
|
|
"related": [],
|
|
"summary": "Large cookie Max-Age values can cause a denial of service",
|
|
"details": "Affected versions of this crate use the `time` crate and the method\n`Duration::seconds` to parse the `Max-Age` duration cookie setting. This method\nwill panic if the value is greater than 2^64/1000 and less than or equal to\n2^64, which can result in denial of service for a client or server.\n\nThis flaw was corrected by explicitly checking for the `Max-Age` being in this\ninteger range and clamping the value to the maximum duration value.",
|
|
"severity": [
|
|
{
|
|
"type": "CVSS_V3",
|
|
"score": "CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H"
|
|
}
|
|
],
|
|
"affected": [
|
|
{
|
|
"package": {
|
|
"ecosystem": "crates.io",
|
|
"name": "cookie",
|
|
"purl": "pkg:cargo/cookie"
|
|
},
|
|
"ecosystem_specific": {
|
|
"affects": {
|
|
"arch": [],
|
|
"os": [],
|
|
"functions": []
|
|
},
|
|
"affected_functions": null
|
|
},
|
|
"database_specific": {
|
|
"categories": [],
|
|
"cvss": "CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H",
|
|
"informational": null
|
|
},
|
|
"ranges": [
|
|
{
|
|
"type": "SEMVER",
|
|
"events": [
|
|
{
|
|
"introduced": "0.6.0"
|
|
},
|
|
{
|
|
"fixed": "0.6.2"
|
|
},
|
|
{
|
|
"introduced": "0.7.0-0"
|
|
},
|
|
{
|
|
"fixed": "0.7.6"
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"versions": []
|
|
}
|
|
],
|
|
"references": [
|
|
{
|
|
"type": "PACKAGE",
|
|
"url": "https://crates.io/crates/cookie"
|
|
},
|
|
{
|
|
"type": "ADVISORY",
|
|
"url": "https://rustsec.org/advisories/RUSTSEC-2017-0005.html"
|
|
},
|
|
{
|
|
"type": "WEB",
|
|
"url": "https://github.com/alexcrichton/cookie-rs/pull/86"
|
|
}
|
|
],
|
|
"database_specific": {
|
|
"license": "CC0-1.0"
|
|
}
|
|
}
|
|
] |