Ecosyste.ms: Advisories

An open API service providing security vulnerability metadata for many open source software ecosystems.

Security Advisories: GSA_kwCzR0hTQS1tODdtLW1tdnAtdjlxbc4AA8uI

PyMongo Out-of-bounds Read in the bson module

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.

Permalink: https://github.com/advisories/GHSA-m87m-mmvp-v9qm
JSON: https://advisories.ecosyste.ms/api/v1/advisories/GSA_kwCzR0hTQS1tODdtLW1tdnAtdjlxbc4AA8uI
Source: GitHub Advisory Database
Origin: Unspecified
Severity: Moderate
Classification: General
Published: 5 months ago
Updated: 5 months ago


CVSS Score: 4.7
CVSS vector: CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:C/C:L/I:N/A:L

Identifiers: GHSA-m87m-mmvp-v9qm, CVE-2024-5629
References: Repository: https://github.com/mongodb/mongo-python-driver
Blast Radius: 22.7

Affected Packages

pypi:pymongo
Dependent packages: 1,347
Dependent repositories: 66,984
Downloads: 33,932,029 last month
Affected Version Ranges: < 4.6.3
Fixed in: 4.6.3
All affected versions: 0.7.1, 0.7.2, 0.8.1, 0.9.1, 0.9.2, 0.9.3, 0.9.4, 0.9.5, 0.9.6, 0.9.7, 0.10.1, 0.10.2, 0.10.3, 0.11.1, 0.11.2, 0.11.3, 0.14.1, 0.14.2, 0.15.1, 0.15.2, 1.1.1, 1.1.2, 1.2.1, 1.5.1, 1.5.2, 1.8.1, 1.10.1, 2.0.1, 2.1.1, 2.2.1, 2.4.1, 2.4.2, 2.5.1, 2.5.2, 2.6.1, 2.6.2, 2.6.3, 2.7.1, 2.7.2, 2.8.1, 2.9.1, 2.9.2, 2.9.3, 2.9.4, 2.9.5, 3.0.1, 3.0.2, 3.0.3, 3.1.1, 3.2.1, 3.2.2, 3.3.0, 3.3.1, 3.4.0, 3.5.0, 3.5.1, 3.6.0, 3.6.1, 3.7.0, 3.7.1, 3.7.2, 3.8.0, 3.9.0, 3.10.0, 3.10.1, 3.11.0, 3.11.1, 3.11.2, 3.11.3, 3.11.4, 3.12.0, 3.12.1, 3.12.2, 3.12.3, 3.13.0, 4.0.1, 4.0.2, 4.1.0, 4.1.1, 4.2.0, 4.3.2, 4.3.3, 4.4.0, 4.4.1, 4.5.0, 4.6.0, 4.6.1, 4.6.2
All unaffected versions: 4.6.3, 4.7.0, 4.7.1, 4.7.2, 4.7.3, 4.8.0, 4.9.1, 4.9.2, 4.10.0, 4.10.1