crates.io/enum-map: high
enum_map macro can cause UB when `Enum` trait is incorrectly implemented
Action: Upgrade enum-map to 2.0.2 or later.
cargo update -p enum-map --precise 2.0.2Affected
| introduced | fixed | last affected |
|---|---|---|
| 2.0.0-2 | 2.0.2 | - |
Fixed versions
| 2.0.2 |
Sources
- osv: GHSA-rxhx-9fj6-6h2m
- https://github.com/xfix/enum-map/commit/b824e232f2fb47837740070096ac253df8e80dfc
- https://github.com/rustsec/advisory-db/blob/main/crates/enum-map/RUSTSEC-2022-0010.md
- https://github.com/xfix/enum-map
- https://github.com/xfix/enum-map/blob/master/CHANGELOG.md#version-202
- https://gitlab.com/KonradBorowski/enum-map/-/blob/master/CHANGELOG.md#version-202
- https://rustsec.org/advisories/RUSTSEC-2022-0010.html
published · modified · JSON