Bug 2290585 (CVE-2024-5629) - CVE-2024-5629 python-pymongo: Out-of-bounds read in bson module
Summary: CVE-2024-5629 python-pymongo: Out-of-bounds read in bson module
Keywords:
Status: NEW
Alias: CVE-2024-5629
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
low
low
Target Milestone: ---
Assignee: Product Security
QA Contact:
URL:
Whiteboard:
Depends On: 2290587 2290588 2290597 2290589 2290595 2290596
Blocks: 2290586
TreeView+ depends on / blocked
 
Reported: 2024-06-05 17:25 UTC by Marco Benatto
Modified: 2024-06-17 15:32 UTC (History)
22 users (show)

Fixed In Version: pymongo 4.6.3
Doc Type: If docs needed, set a value
Doc Text:
A flaw was found in the bson module contained in the python-pymongo package. A malformed BSON file may trigger an exception, leading to a denial of service and eventually sensitive memory data exposure.
Clone Of:
Environment:
Last Closed:
Embargoed:


Attachments (Terms of Use)

Description Marco Benatto 2024-06-05 17:25:38 UTC
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.

https://jira.mongodb.org/browse/PYTHON-4305

Comment 1 Marco Benatto 2024-06-05 17:50:02 UTC
Created python-pdfminer tracking bugs for this issue:

Affects: fedora-all [bug 2290589]


Created python-pymongo tracking bugs for this issue:

Affects: epel-7 [bug 2290588]
Affects: fedora-all [bug 2290587]

Comment 4 Marco Benatto 2024-06-05 19:20:57 UTC
Upstream commit for this issue:
https://github.com/mongodb/mongo-python-driver/commit/56b6b6dbc267d365d97c037082369dabf37405d2


Note You need to log in before you can comment on or make changes to this bug.