Files
advisory-db/packages/blake2.json
T
2025-10-27 16:49:06 +00:00

75 lines
2.2 KiB
JSON

[
{
"id": "RUSTSEC-2019-0019",
"modified": "2023-06-13T13:10:24Z",
"published": "2019-08-25T12:00:00Z",
"aliases": [
"CVE-2019-16143",
"GHSA-4x25-pvhw-5224"
],
"related": [],
"summary": "HMAC-BLAKE2 algorithms compute incorrect results",
"details": "When used in conjunction with the Hash-based Message Authentication Code (HMAC),\nthe BLAKE2b and BLAKE2s implementations in `blake2` crate versions prior to\nv0.8.1 used an incorrect block size (32-bytes instead of 64-bytes for BLAKE2s,\nand 64-bytes instead of 128-bytes for BLAKE2b), causing them to miscompute the\n`MacResult`.\n\nThe v0.8.1 release of the `blake2` crate uses the correct block sizes.\n\nNote that this advisory only impacts usage of BLAKE2 with HMAC, and does not\nimpact `Digest` functionality.",
"severity": [
{
"type": "CVSS_V3",
"score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H"
}
],
"affected": [
{
"package": {
"ecosystem": "crates.io",
"name": "blake2",
"purl": "pkg:cargo/blake2"
},
"ecosystem_specific": {
"affects": {
"arch": [],
"os": [],
"functions": []
},
"affected_functions": null
},
"database_specific": {
"categories": [
"crypto-failure"
],
"cvss": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H",
"informational": null
},
"ranges": [
{
"type": "SEMVER",
"events": [
{
"introduced": "0.0.0-0"
},
{
"fixed": "0.8.1"
}
]
}
],
"versions": []
}
],
"references": [
{
"type": "PACKAGE",
"url": "https://crates.io/crates/blake2"
},
{
"type": "ADVISORY",
"url": "https://rustsec.org/advisories/RUSTSEC-2019-0019.html"
},
{
"type": "REPORT",
"url": "https://github.com/RustCrypto/MACs/issues/19"
}
],
"database_specific": {
"license": "CC0-1.0"
}
}
]