Read the docs
TI-2023-30771 Aliases GHSA-f9g6-fp84-fv92

impl `FromMdbValue` for bool is unsound

Priority LOW 38Published · Updated

Key facts

Attack vector
—
Privileges required
—
User interaction
—
Attack complexity
—
Impact type
—
Confidentiality · integrity · availability
—
Fix status
No fix listed

No CVSS vector from any source. Fix status from GitHub.

Summary

The implementation of `FromMdbValue` has several unsoundness issues. First of all, it allows to reinterpret arbitrary bytes as a bool and could make undefined behavior happen with safe function. Secondly, it allows transmuting pointer without taking memory layout into consideration. The details of reproducing the bug are available [here](https://github.com/vhbit/lmdb-rs/issues/67).

Why it matters now

Fix No fix listed No fixed version in the sources yet

SSVC decision points

Not available: CISA has not published SSVC decision points for this record.

Affected products

VendorProductAffected versionsFixed inStatusSource
—lmdb-rs (crates.io)up to 0.7.6—No fix listedGHSA-f9g6-fp84-fv92
  • lmdb-rs (crates.io) Vendor— Affected up to 0.7.6 Fixed in — No fix listed GHSA-f9g6-fp84-fv92

Remediation

No fixed version listed by the sources yet.

Timeline

  1. 2026-10-03 Threatist record created from GHSA-f9g6-fp84-fv92

References

Sources

This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences