Summary
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.
Fixed packages 8
| Release | Package | Fixed in |
|---|---|---|
| Amazon Linux · 2023 | python-pymongo-debuginfo | 0:3.10.1-5.amzn2023.0.3 |
| Amazon Linux · 2023 | python-pymongo-debugsource | 0:3.10.1-5.amzn2023.0.3 |
| Amazon Linux · 2023 | python-pymongo-doc | 0:3.10.1-5.amzn2023.0.3 |
| Amazon Linux · 2023 | python3-bson | 0:3.10.1-5.amzn2023.0.3 |
| Amazon Linux · 2023 | python3-bson-debuginfo | 0:3.10.1-5.amzn2023.0.3 |
| Amazon Linux · 2023 | python3-pymongo | 0:3.10.1-5.amzn2023.0.3 |
| Amazon Linux · 2023 | python3-pymongo-debuginfo | 0:3.10.1-5.amzn2023.0.3 |
| Amazon Linux · 2023 | python3-pymongo-gridfs | 0:3.10.1-5.amzn2023.0.3 |
Vulnerabilities 2
-
Medium 4.7
Out-of-bounds read in bson module of PyMongo
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.
-
Unscored —CVE-2024-21506 Rejected
Duplicate of CVE-2024-5629.