Amazon Linux Security Advisory
ALAS2023-2024-614
Amazon Linux 2023 - ALAS2023-2024-614: Medium priority package update for python-pymongo
Details
Package updates are available for Amazon Linux 2023 that fix the following vulnerabilities: CVE-2024-5629: 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-21506: 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.
Affected packages
| Ecosystem | Package | Affected versions |
|---|---|---|
| Amazon Linux:2023 | python-pymongo-debuginfo | All versions before 3.10.1-5.amzn2023.0.3 (fixed in 3.10.1-5.amzn2023.0.3) |
| Amazon Linux:2023 | python-pymongo-debugsource | All versions before 3.10.1-5.amzn2023.0.3 (fixed in 3.10.1-5.amzn2023.0.3) |
| Amazon Linux:2023 | python-pymongo-doc | All versions before 3.10.1-5.amzn2023.0.3 (fixed in 3.10.1-5.amzn2023.0.3) |
| Amazon Linux:2023 | python3-bson | All versions before 3.10.1-5.amzn2023.0.3 (fixed in 3.10.1-5.amzn2023.0.3) |
| Amazon Linux:2023 | python3-bson-debuginfo | All versions before 3.10.1-5.amzn2023.0.3 (fixed in 3.10.1-5.amzn2023.0.3) |
| Amazon Linux:2023 | python3-pymongo | All versions before 3.10.1-5.amzn2023.0.3 (fixed in 3.10.1-5.amzn2023.0.3) |
| Amazon Linux:2023 | python3-pymongo-debuginfo | All versions before 3.10.1-5.amzn2023.0.3 (fixed in 3.10.1-5.amzn2023.0.3) |
| Amazon Linux:2023 | python3-pymongo-gridfs | All versions before 3.10.1-5.amzn2023.0.3 (fixed in 3.10.1-5.amzn2023.0.3) |