原始 OSV JSON{
"id": "GHSA-x4qm-mcjq-v2gf",
"aliases": [
"CVE-2021-38192"
],
"details": "Affected versions of this crate contained a bug in which untrusted input could cause an overflow and panic when converting a Timestamp to SystemTime. It is recommended to upgrade to prost-types v0.8 and switch the usage of From<Timestamp> for SystemTime to TryFrom<Timestamp> for SystemTime.",
"summary": "Overflow in prost-types",
"affected": [
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
},
{
"fixed": "0.8.0"
}
]
}
],
"package": {
"name": "prost-types",
"ecosystem": "crates.io"
}
}
],
"modified": "2023-06-13T20:26:47Z",
"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": "2021-08-25T20:55:53Z",
"references": [
{
"url": "https://nvd.nist.gov/vuln/detail/CVE-2021-38192",
"type": "ADVISORY"
},
{
"url": "https://github.com/tokio-rs/prost/issues/438",
"type": "WEB"
},
{
"url": "https://github.com/tokio-rs/prost/pull/439",
"type": "WEB"
},
{
"url": "https://github.com/tokio-rs/prost/commit/59f2a7311dd6540696bfd0145f5281ce495f4385",
"type": "WEB"
},
{
"url": "https://github.com/tokio-rs/prost/tree/master/prost-types",
"type": "PACKAGE"
},
{
"url": "https://rustsec.org/advisories/RUSTSEC-2021-0073.html",
"type": "WEB"
}
],
"schema_version": "1.4.0",
"database_specific": {
"cwe_ids": [
"CWE-120",
"CWE-190"
],
"severity": "HIGH",
"github_reviewed": true,
"nvd_published_at": "2021-08-08T06:15:00Z",
"github_reviewed_at": "2021-08-18T21:29:54Z"
}
}