logo

CVE-2021-38192 prost-types

Package

Manager: cargo
Name: prost-types
Vulnerable Version: >=0 <0.8.0

Severity

Level: High

CVSS v3.1: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

CVSS v4.0: CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N

EPSS: 0.0028 pctl0.51006

Details

Overflow in prost-types 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.

Metadata

Created: 2021-08-25T20:55:53Z
Modified: 2023-06-13T20:26:47Z
Source: https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2021/08/GHSA-x4qm-mcjq-v2gf/GHSA-x4qm-mcjq-v2gf.json
CWE IDs: ["CWE-120", "CWE-190"]
Alternative ID: GHSA-x4qm-mcjq-v2gf
Finding: F111
Auto approve: 1