---
title: "CVE-2024-5629"
canonical_url: "https://pkgseek.com/security/CVE-2024-5629"
locale: "en"
source: "pkgseek"
entity_type: "cve"
severity: "high"
---

# CVE-2024-5629

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.

CVE-2024-5629 is rated HIGH (8.1), with 40 indexed affected package builds across 2 distributions.

- **Severity / Score**: HIGH (8.1)
- **Affected builds**: 40
- **Affected distros**: 2
- **Distros with fixed_in**: Oracle Linux, Ubuntu

## Affected Packages

| Distribution | Release | Package | Version | Fixed In |
| --- | --- | --- | --- | --- |
| Oracle Linux | 8 | python36 | 3.6.8-39.module+el8.10.0+90274+07ba55de | 3.6.8-39.module+el8.10.0+90473+c30184f9 |
| Oracle Linux | 8 | python36-debug | 3.6.8-39.module+el8.10.0+90274+07ba55de | 3.6.8-39.module+el8.10.0+90473+c30184f9 |
| Oracle Linux | 8 | python36-devel | 3.6.8-39.module+el8.10.0+90274+07ba55de | 3.6.8-39.module+el8.10.0+90473+c30184f9 |
| Oracle Linux | 8 | python36-rpm-macros | 3.6.8-39.module+el8.10.0+90274+07ba55de | 3.6.8-39.module+el8.10.0+90473+c30184f9 |
| Oracle Linux | 8 | python3-bson | 3.7.0-1.module+el8.10.0+90473+c30184f9 | 3.7.0-2.module+el8.10.0+90599+fd4ba14b |
| Oracle Linux | 8 | python3-distro | 1.4.0-2.module+el8.10.0+90274+07ba55de | 1.4.0-2.module+el8.10.0+90473+c30184f9 |
| Oracle Linux | 8 | python3-docs | 3.6.7-2.module+el8.10.0+90274+07ba55de | 3.6.7-2.module+el8.10.0+90473+c30184f9 |
| Oracle Linux | 8 | python3-docutils | 0.14-12.module+el8.10.0+90274+07ba55de | 0.14-12.module+el8.10.0+90473+c30184f9 |
| Oracle Linux | 8 | python3-nose | 1.3.7-31.module+el8.10.0+90274+07ba55de | 1.3.7-31.module+el8.10.0+90473+c30184f9 |
| Oracle Linux | 8 | python3-pygments | 2.2.0-22.module+el8.10.0+90274+07ba55de | 2.2.0-22.module+el8.10.0+90473+c30184f9 |
| Oracle Linux | 8 | python3-pymongo | 3.7.0-1.module+el8.10.0+90473+c30184f9 | 3.7.0-2.module+el8.10.0+90599+fd4ba14b |
| Oracle Linux | 8 | python3-pymongo-gridfs | 3.7.0-1.module+el8.10.0+90473+c30184f9 | 3.7.0-2.module+el8.10.0+90599+fd4ba14b |
| Oracle Linux | 8 | python3-PyMySQL | 0.10.1-2.module+el8.10.0+90274+07ba55de | 0.10.1-2.module+el8.10.0+90473+c30184f9 |
| Oracle Linux | 8 | python3-scipy | 1.0.0-21.module+el8.10.0+90274+07ba55de | 1.0.0-21.module+el8.10.0+90473+c30184f9 |
| Oracle Linux | 8 | python3-sqlalchemy | 1.3.2-3.module+el8.10.0+90274+07ba55de | 1.3.2-3.module+el8.10.0+90473+c30184f9 |
| Oracle Linux | 8 | python3-virtualenv | 15.1.0-22.module+el8.10.0+90274+07ba55de | 15.1.0-23.module+el8.10.0+90473+c30184f9 |
| Oracle Linux | 8 | python3-wheel | 1:0.31.1-3.module+el8.10.0+90274+07ba55de | 1:0.31.1-3.module+el8.10.0+90473+c30184f9 |
| Oracle Linux | 8 | python3-wheel-wheel | 1:0.31.1-3.module+el8.10.0+90274+07ba55de | 1:0.31.1-3.module+el8.10.0+90473+c30184f9 |
| Oracle Linux | 8 | python-nose-docs | 1.3.7-31.module+el8.10.0+90274+07ba55de | 1.3.7-31.module+el8.10.0+90473+c30184f9 |
| Oracle Linux | 8 | python-pymongo-doc | 3.7.0-1.module+el8.10.0+90473+c30184f9 | 3.7.0-2.module+el8.10.0+90599+fd4ba14b |
| Oracle Linux | 8 | python-sqlalchemy-doc | 1.3.2-3.module+el8.10.0+90274+07ba55de | 1.3.2-3.module+el8.10.0+90473+c30184f9 |
| Oracle Linux | 8 | python-virtualenv-doc | 15.1.0-22.module+el8.10.0+90274+07ba55de | 15.1.0-23.module+el8.10.0+90473+c30184f9 |
| Ubuntu | focal | python3-bson | 3.10.1-0ubuntu2 | 3.10.1-0ubuntu2.1 |
| Ubuntu | focal | python3-bson-ext | 3.10.1-0ubuntu2 | 3.10.1-0ubuntu2.1 |
| Ubuntu | focal | python3-gridfs | 3.10.1-0ubuntu2 | 3.10.1-0ubuntu2.1 |
| Ubuntu | focal | python3-pymongo | 3.10.1-0ubuntu2 | 3.10.1-0ubuntu2.1 |
| Ubuntu | focal | python3-pymongo-ext | 3.10.1-0ubuntu2 | 3.10.1-0ubuntu2.1 |
| Ubuntu | focal | python-pymongo-doc | 3.10.1-0ubuntu2 | 3.10.1-0ubuntu2.1 |
| Ubuntu | jammy | python3-bson | 3.11.0-1build4 | 3.11.0-1ubuntu0.22.04.1 |
| Ubuntu | jammy | python3-bson-ext | 3.11.0-1build4 | 3.11.0-1ubuntu0.22.04.1 |
| Ubuntu | jammy | python3-gridfs | 3.11.0-1build4 | 3.11.0-1ubuntu0.22.04.1 |
| Ubuntu | jammy | python3-pymongo | 3.11.0-1build4 | 3.11.0-1ubuntu0.22.04.1 |
| Ubuntu | jammy | python3-pymongo-ext | 3.11.0-1build4 | 3.11.0-1ubuntu0.22.04.1 |
| Ubuntu | jammy | python-pymongo-doc | 3.11.0-1build4 | 3.11.0-1ubuntu0.22.04.1 |
| Ubuntu | noble | python3-bson | 3.11.0-1build8 | 3.11.0-1ubuntu0.24.04.1 |
| Ubuntu | noble | python3-bson-ext | 3.11.0-1build8 | 3.11.0-1ubuntu0.24.04.1 |
| Ubuntu | noble | python3-gridfs | 3.11.0-1build8 | 3.11.0-1ubuntu0.24.04.1 |
| Ubuntu | noble | python3-pymongo | 3.11.0-1build8 | 3.11.0-1ubuntu0.24.04.1 |
| Ubuntu | noble | python3-pymongo-ext | 3.11.0-1build8 | 3.11.0-1ubuntu0.24.04.1 |
| Ubuntu | noble | python-pymongo-doc | 3.11.0-1build8 | 3.11.0-1ubuntu0.24.04.1 |
