| Name | CVE-2024-5629 |
| Description | An out-of-bounds read in the 'bson' module of PyMongo 4.6.2 or earlier allows deserialization of malformed BSON provided by a Server to raise an exception which may contain arbitrary application memory. |
| 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-3832-1, DLA-3889-1 |
The table below lists information on source packages.
| Source Package | Release | Version | Status |
|---|---|---|---|
| pymongo (PTS) | bullseye | 3.11.0-1 | vulnerable |
| bullseye (security) | 3.11.0-1+deb11u1 | fixed | |
| bookworm | 3.11.0-1+deb12u1 | fixed | |
| trixie | 4.10.1-6 | fixed | |
| forky, sid | 4.15.3-2 | fixed |
The information below is based on the following data on fixed versions.
| Package | Type | Release | Fixed Version | Urgency | Origin | Debian Bugs |
|---|---|---|---|---|---|---|
| pymongo | source | buster | 3.7.1-1.1+deb10u1 | DLA-3832-1 | ||
| pymongo | source | bullseye | 3.11.0-1+deb11u1 | DLA-3889-1 | ||
| pymongo | source | bookworm | 3.11.0-1+deb12u1 | |||
| pymongo | source | (unstable) | 4.7.3-1 |
https://jira.mongodb.org/browse/PYTHON-4305
https://github.com/mongodb/mongo-python-driver/pull/1564