CVE-2021-45681

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.
Configurations

Configuration 1 (hide)

cpe:2.3:a:derive-com-impl_project:derive-com-impl:*:*:*:*:*:rust:*:*

History

21 Nov 2024, 06:32

Type Values Removed Values Added
References () https://raw.githubusercontent.com/rustsec/advisory-db/main/crates/derive-com-impl/RUSTSEC-2021-0083.md - Third Party Advisory () https://raw.githubusercontent.com/rustsec/advisory-db/main/crates/derive-com-impl/RUSTSEC-2021-0083.md - Third Party Advisory
References () https://rustsec.org/advisories/RUSTSEC-2021-0083.html - Third Party Advisory () https://rustsec.org/advisories/RUSTSEC-2021-0083.html - Third Party Advisory

06 Jan 2022, 16:05

Type Values Removed Values Added
CPE cpe:2.3:a:derive-com-impl_project:derive-com-impl:*:*:*:*:*:rust:*:*
CWE CWE-787
References (MISC) https://raw.githubusercontent.com/rustsec/advisory-db/main/crates/derive-com-impl/RUSTSEC-2021-0083.md - (MISC) https://raw.githubusercontent.com/rustsec/advisory-db/main/crates/derive-com-impl/RUSTSEC-2021-0083.md - Third Party Advisory
References (MISC) https://rustsec.org/advisories/RUSTSEC-2021-0083.html - (MISC) https://rustsec.org/advisories/RUSTSEC-2021-0083.html - Third Party Advisory
CVSS v2 : unknown
v3 : unknown
v2 : 5.0
v3 : 7.5

27 Dec 2021, 00:15

Type Values Removed Values Added
New CVE

Information

Published : 2021-12-27 00:15

Updated : 2024-11-21 06:32


NVD link : CVE-2021-45681

Mitre link : CVE-2021-45681

CVE.ORG link : CVE-2021-45681


JSON object : View

Products Affected

derive-com-impl_project

  • derive-com-impl
CWE
CWE-787

Out-of-bounds Write