| 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, 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 |
Vulnerable and fixed packages
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-1 | fixed |
The information below is based on the following data on fixed versions.
Notes
https://jira.mongodb.org/browse/PYTHON-4305
https://github.com/mongodb/mongo-python-driver/pull/1564