CVE-2024-5629

NameCVE-2024-5629
DescriptionAn 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.
SourceCVE (at NVD; CERT, LWN, oss-sec, fulldisc, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more)
ReferencesDLA-3832-1, DLA-3889-1

Vulnerable and fixed packages

The table below lists information on source packages.

Source PackageReleaseVersionStatus
pymongo (PTS)bullseye3.11.0-1vulnerable
bullseye (security)3.11.0-1+deb11u1fixed
bookworm3.11.0-1+deb12u1fixed
sid, trixie4.10.1-2fixed

The information below is based on the following data on fixed versions.

PackageTypeReleaseFixed VersionUrgencyOriginDebian Bugs
pymongosourcebuster3.7.1-1.1+deb10u1DLA-3832-1
pymongosourcebullseye3.11.0-1+deb11u1DLA-3889-1
pymongosourcebookworm3.11.0-1+deb12u1
pymongosource(unstable)4.7.3-1

Notes

https://jira.mongodb.org/browse/PYTHON-4305
https://github.com/mongodb/mongo-python-driver/pull/1564

Search for package or bug name: Reporting problems