- Reported
-
- Issued
-
- Package
-
maxminddb
(crates.io)
- Type
-
Vulnerability
- Categories
-
- Keywords
-
#mmap
- References
-
- Patched
-
- Unaffected
-
- Affected Functions
- Version
maxminddb::Reader::open
-
maxminddb::Reader::open_mmap
-
Description
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.
Advisory available under CC0-1.0
license.