PYSEC-2026-1826
PyMongo Out-of-bounds Read in the bson module
En bref
- Publiée
- Mise à jour
- CVE
- CVE-2024-5629
- Alias
- GHSA-m87m-mmvp-v9qm
- CVSS_V3
- CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:C/C:L/I:N/A:L
Description
Versions of the package pymongo before 4.6.3 are vulnerable to Out-of-bounds Read in the bson module. Using the crafted payload the attacker could force the parser to deserialize unmanaged memory. The parser tries to interpret bytes next to buffer and throws an exception with string. If the following bytes are not printable UTF-8 the parser throws an exception with a single byte.
Paquets affectés
| Paquet | Versions |
|---|---|
| PyPI · pymongo | introduced 0, fixed 4.6.3 |
Références
- https://nvd.nist.gov/vuln/detail/CVE-2024-5629 ADVISORY
- https://github.com/mongodb/mongo-python-driver/commit/56b6b6dbc267d365d97c037082369dabf37405d2 WEB
- https://gist.github.com/keltecc/62a7c2bf74a997d0a7b48a0ff3853a03 WEB
- https://github.com/mongodb/mongo-python-driver PACKAGE
- https://jira.mongodb.org/browse/PYTHON-4305 WEB
- https://lists.debian.org/debian-lts-announce/2024/06/msg00007.html WEB
- https://security.snyk.io/vuln/SNYK-PYTHON-PYMONGO-6370597 WEB
- https://pypi.org/project/pymongo PACKAGE
- https://github.com/advisories/GHSA-m87m-mmvp-v9qm ADVISORY
Sources
| Source | Licence |
|---|---|
| OSV.dev | CC-BY 4.0 — PyPA Advisory Database |