Amazon Linux 2023 Security Advisory: ALAS-2024-614
Advisory Release Date: 2024-05-09 17:16 Pacific
Advisory Updated Date: 2025-02-26 19:34 Pacific
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. (CVE-2024-21506)
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)
Affected Packages:
python-pymongo
Issue Correction:
Run dnf update python-pymongo --releasever 2023.4.20240513 to update your system.
aarch64:
python-pymongo-debugsource-3.10.1-5.amzn2023.0.3.aarch64
python3-pymongo-gridfs-3.10.1-5.amzn2023.0.3.aarch64
python3-bson-debuginfo-3.10.1-5.amzn2023.0.3.aarch64
python-pymongo-debuginfo-3.10.1-5.amzn2023.0.3.aarch64
python3-pymongo-debuginfo-3.10.1-5.amzn2023.0.3.aarch64
python3-pymongo-3.10.1-5.amzn2023.0.3.aarch64
python3-bson-3.10.1-5.amzn2023.0.3.aarch64
noarch:
python-pymongo-doc-3.10.1-5.amzn2023.0.3.noarch
src:
python-pymongo-3.10.1-5.amzn2023.0.3.src
x86_64:
python-pymongo-debuginfo-3.10.1-5.amzn2023.0.3.x86_64
python3-bson-debuginfo-3.10.1-5.amzn2023.0.3.x86_64
python-pymongo-debugsource-3.10.1-5.amzn2023.0.3.x86_64
python3-pymongo-debuginfo-3.10.1-5.amzn2023.0.3.x86_64
python3-pymongo-gridfs-3.10.1-5.amzn2023.0.3.x86_64
python3-bson-3.10.1-5.amzn2023.0.3.x86_64
python3-pymongo-3.10.1-5.amzn2023.0.3.x86_64