GitHub Advisoryadvisory · crates.io

GHSA-w4cc-pc2h-whcj Out-of-bounds Write in derive-com-impl

HIGH Published 2022-01-06 Modified 2022-01-07 Official page ↗
Aliases
CVE-2021-45681
Ecosystem
crates.io
Packages
derive-com-impl
Severity
High
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Weaknesses
CWE-787
Reviewed
2022-01-06

Affected packages

• crates.io derive-com-impl: < 0.1.2 (no fix yet)

Description

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.

Related

Alias · CVE (1)

  • CVE-2021-45681 An issue was discovered in the derive-com-impl crate before 0.1.2 for Rust. vulnerability

Weakness · CWE (1)

  • CWE-787 Out-of-bounds Write weakness

References