NewApp Monitoring is liveSign up free
AgentbeamBeta
Open-source package vulnerability · PyPI

GHSA-cr6f-gf5w-vhrc: PyMongo Out-of-bounds Read in the bson module

mediumCVSS 3.1 5.2

This advisory was withdrawn on Jun 5, 2024. The publisher no longer considers it a valid vulnerability.

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.

Published Apr 6, 2024 · Updated Jun 5, 2024

Affected packages

pymongo

Ecosystem
PyPI
Affected
< 4.6.3
Fixed in
4.6.3
Check
pip show pymongo

Advisory details

From the GitHub Advisory Database (CC BY 4.0).

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.

This advisory was initially published as CVE-2024-21506, which has since been rejected as a duplicate of CVE-2024-5629.

References

How this page is made: the data panel comes from the GitHub Advisory Database, CISA’s KEV catalog, the NVD and FIRST EPSS, and updates twice a day. No analysis has been written for this entry yet. Methodology

More PyPI vulnerabilities

All PyPI entries