原始 OSV JSON{
"id": "GHSA-w4cc-pc2h-whcj",
"aliases": [
"CVE-2021-45681"
],
"details": "An issue was discovered in the derive-com-impl crate before 0.1.2 for Rust. An invalid reference (and memory corruption) can occur because AddRef might not be called before returning a pointer.",
"summary": "Out-of-bounds Write in derive-com-impl",
"affected": [
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
}
]
}
],
"package": {
"name": "derive-com-impl",
"ecosystem": "crates.io"
},
"database_specific": {
"last_known_affected_version_range": "< 0.1.2"
}
}
],
"modified": "2022-01-07T16:17:28Z",
"severity": [
{
"type": "CVSS_V3",
"score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H"
}
],
"published": "2022-01-06T22:16:10Z",
"references": [
{
"url": "https://nvd.nist.gov/vuln/detail/CVE-2021-45681",
"type": "ADVISORY"
},
{
"url": "https://github.com/Connicpu/com-impl/issues/1",
"type": "WEB"
},
{
"url": "https://github.com/connicpu/com-impl",
"type": "PACKAGE"
},
{
"url": "https://raw.githubusercontent.com/rustsec/advisory-db/main/crates/derive-com-impl/RUSTSEC-2021-0083.md",
"type": "WEB"
},
{
"url": "https://rustsec.org/advisories/RUSTSEC-2021-0083.html",
"type": "WEB"
}
],
"schema_version": "1.4.0",
"database_specific": {
"cwe_ids": [
"CWE-787"
],
"severity": "HIGH",
"github_reviewed": true,
"nvd_published_at": "2021-12-27T00:15:00Z",
"github_reviewed_at": "2022-01-06T17:46:38Z"
}
}