maxminddb
Affected
- introduced
0.11.0, fixed0.27.0(semver)
Fixed versions
0.27.0
Fix
- Fixed version
0.27.0cargo update -p maxminddb --precise 0.27.0
Advisory
Also known as: RUSTSEC-2025-0132
maxminddb's Reader::open_mmap unsoundly marks unsafe memmap operation as safe
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.
Low Basis: The source's own band: LOW
0.11.0, fixed 0.27.0 (semver)0.27.0
0.27.0cargo update -p maxminddb --precise 0.27.0Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.
Check your own computer: guard packages check
Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0