CVE-2021-45681 Out-of-bounds Write in derive-com-impl
HighCVSS 7.5
EPSS 1.1%
- Published
- Updated
- Exploit status
- No public exploit known
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.
Upgrade path
2 packages: 1 fixed, 1 partially fixed.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| crates.io derive-com-impl(crates.io) | < 0.1.2; >= 0.0.0-0, < 0.1.2; All versions | 0.1.2 | Partially fixed |
| derive-com-impl project derive-com-impl | < 0.1.2 | 0.1.2 | Fixed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| crates.io derive-com-impl(crates.io) | < 0.1.2 | 0.1.2 |
| crates.io derive-com-impl(crates.io) | All versions | No fix listed |
| crates.io derive-com-impl(crates.io) | >= 0.0.0-0, < 0.1.2 | 0.1.2 |
| derive-com-impl project derive-com-impl | < 0.1.2 | 0.1.2 |
References
- nvd.nist.gov third-party-advisory vendor-advisory
- raw.githubusercontent.com third-party-advisory
- rustsec.org third-party-advisory vendor-advisory
- github.com issue-tracking
- github.com
- github.com
- github.com product
- github.com product
- crates.io product