#VU89529 Out-of-bounds read in mongo-python-driver - CVE-2024-21506


Vulnerability identifier: #VU89529

Vulnerability risk: High

CVSSv4.0: 6.7 [CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:L/VI:N/VA:H/SC:N/SI:N/SA:N/E:U/U:Amber]

CVE-ID: CVE-2024-21506

CWE-ID: CWE-125

Exploitation vector: Network

Exploit availability: No

Vulnerable software:
mongo-python-driver
Other software / Other software solutions

Vendor: MongoDB, Inc.

Description

The vulnerability allows a remote attacker to gain access to potentially sensitive information.

The vulnerability exists due to out-of-bounds read in the bson module. A remote attacker can create a specially crafted file, trigger an out-of-bounds read error and read contents of memory on the system.

Mitigation
Install updates from vendor's website.

Vulnerable software versions

mongo-python-driver: before 4.6.3


External links
https://security.snyk.io/vuln/SNYK-PYTHON-PYMONGO-6370597
https://gist.github.com/keltecc/62a7c2bf74a997d0a7b48a0ff3853a03
https://github.com/mongodb/mongo-python-driver/commit/56b6b6dbc267d365d97c037082369dabf37405d2


Q & A

Can this vulnerability be exploited remotely?

Yes. This vulnerability can be exploited by a remote non-authenticated attacker via the Internet.

Is there known malware, which exploits this vulnerability?

No. We are not aware of malware exploiting this vulnerability.


Latest bulletins with this vulnerability