| Name | CVE-2019-16228 |
| Description | An issue was discovered in py-lmdb 0.97. There is a divide-by-zero error in the function mdb_env_open2 if mdb_env_read_header obtains a zero value for a certain size field. NOTE: this outcome occurs when accessing a data.mdb file supplied by an attacker. |
| Source | CVE (at NVD; CERT, ENISA, LWN, oss-sec, fulldisc, Debian ELTS, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more) |
| Debian Bugs | 1132719, 1141312 |
Vulnerable and fixed packages
The table below lists information on source packages.
| Source Package | Release | Version | Status |
|---|
| lmdb (PTS) | bookworm, bullseye | 0.9.24-1 | vulnerable |
| trixie | 0.9.31-1 | vulnerable |
| forky, sid | 0.9.35-1 | vulnerable |
| py-lmdb (PTS) | bullseye | 1.0.0-1 | vulnerable |
| bookworm | 1.4.0-1 | vulnerable |
| forky, sid, trixie | 1.4.1-3 | vulnerable |
The information below is based on the following data on fixed versions.
| Package | Type | Release | Fixed Version | Urgency | Origin | Debian Bugs |
|---|
| lmdb | source | (unstable) | (unfixed) | | | 1141312 |
| py-lmdb | source | (unstable) | (unfixed) | unimportant | | 1132719 |
Notes
[trixie] - lmdb <no-dsa> (Minor issue)
[bookworm] - lmdb <postponed> (Minor issue; only reachable via attacker-supplied/corrupted LMDB database file; unfixed upstream)
[bullseye] - lmdb <postponed> (Minor issue; only reachable via attacker-supplied/corrupted LMDB database file; unfixed upstream)
src:py-lmdb uses system version of liblmdb
https://github.com/jnwatson/py-lmdb/issues/210
https://github.com/jnwatson/py-lmdb/pull/429