—
RUSTSEC-2025-0132
`Reader::open_mmap` unsoundly marks unsafe memmap operation as safe
Details
maxminddb prior to version 0.27 declared `Reader::open_mmap` as safe despite wrapping an inherently unsafe memmap2 operation with no extra step done to guarantee safety. This could have led to undefined behaviour if the file were to be modified on disk while the memory map was still active.
Are you affected?
Enter the version of the package you're using.
Affected packages
crates.io/maxminddb
Introduced in:
0.11.0Fixed in: 0.27.0Upgrade maxminddb to 0.27.0 or newer (ecosystem crates.io).