原始 OSV JSON{
"id": "GHSA-6p3c-v8vc-c244",
"aliases": [
"CVE-2021-45697"
],
"details": "Anyone who uses total_size(..) function to partial read the length of any FixVec will get an incorrect result, due to an incorrect implementation. This has been resolved in the 0.7.2 release.",
"summary": "The `total_size` function for partial read the length of any `FixVec` is incorrect in molecule.",
"affected": [
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
},
{
"fixed": "0.7.2"
}
]
}
],
"package": {
"name": "molecule",
"ecosystem": "crates.io"
}
}
],
"modified": "2023-06-13T18:33:17Z",
"severity": [
{
"type": "CVSS_V3",
"score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H"
}
],
"published": "2022-01-06T22:10:34Z",
"references": [
{
"url": "https://github.com/nervosnetwork/molecule/security/advisories/GHSA-82hm-vh7g-hrh9",
"type": "WEB"
},
{
"url": "https://nvd.nist.gov/vuln/detail/CVE-2021-45697",
"type": "ADVISORY"
},
{
"url": "https://github.com/nervosnetwork/molecule/pull/49",
"type": "WEB"
},
{
"url": "https://github.com/nervosnetwork/molecule",
"type": "PACKAGE"
},
{
"url": "https://raw.githubusercontent.com/rustsec/advisory-db/main/crates/molecule/RUSTSEC-2021-0103.md",
"type": "WEB"
},
{
"url": "https://rustsec.org/advisories/RUSTSEC-2021-0103.html",
"type": "WEB"
}
],
"schema_version": "1.4.0",
"database_specific": {
"cwe_ids": [],
"severity": "CRITICAL",
"github_reviewed": true,
"nvd_published_at": "2021-12-27T00:15:00Z",
"github_reviewed_at": "2022-01-06T14:29:54Z"
}
}