| Name | CVE-2018-16790 |
| Description | _bson_iter_next_internal in bson-iter.c in libbson 1.12.0, as used in MongoDB mongo-c-driver and other products, has a heap-based buffer over-read via a crafted bson buffer. |
| 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) |
| References | DLA-4160-1 |
| Debian Bugs | 913896, 913963 |
The table below lists information on source packages.
| Source Package | Release | Version | Status |
|---|---|---|---|
| libbson-xs-perl (PTS) | bullseye | 0.8.4-1 | vulnerable |
| bullseye (security) | 0.8.4-1+deb11u1 | fixed | |
| bookworm | 0.8.4-2+deb12u1 | fixed | |
| mongo-c-driver (PTS) | bullseye | 1.17.6-1 | fixed |
| bullseye (security) | 1.17.6-1+deb11u1 | fixed | |
| bookworm | 1.23.1-1+deb12u1 | fixed | |
| trixie | 1.30.4-1 | fixed | |
| forky, sid | 2.1.2-1 | fixed |
The information below is based on the following data on fixed versions.
| Package | Type | Release | Fixed Version | Urgency | Origin | Debian Bugs |
|---|---|---|---|---|---|---|
| libbson | source | (unstable) | (unfixed) | 913896 | ||
| libbson-xs-perl | source | bullseye | 0.8.4-1+deb11u1 | DLA-4160-1 | ||
| libbson-xs-perl | source | bookworm | 0.8.4-2+deb12u1 | |||
| libbson-xs-perl | source | (unstable) | (unfixed) | |||
| mongo-c-driver | source | (unstable) | 1.13.0-1 | 913963 |
[stretch] - libbson <no-dsa> (Minor issue)
https://jira.mongodb.org/browse/CDRIVER-2819
https://github.com/mongodb/mongo-c-driver/commit/0d9a4d98bfdf4acd2c0138d4aaeb4e2e0934bd84