NetSight
medium5.1No CVE yet

GHSA-86gh-39m5-hhg6

Duplicate Advisory: PYTHON-6110 Out-of-bounds read in BSON decoding via a malformed Regex element

Impact

## Duplicate Advisory This advisory has been withdrawn because it is a duplicate of GHSA-98qm-wvgf-w4cf. This link is maintained to preserve external references. ## Original Description The MongoDB Python Driver's binary accelerator can read outside a buffer when an application decodes malformed BSON containing a truncated regular-expression element without a trailing NUL byte. An actor who can supply BSON to the documented decode or decode_all API can cause the application process to terminate when the C extension is loaded. The driver's normal database wire-protocol path does not reach this code.

An attacker can exploit this with local access to the system, without logging in, without any action by a user. Specific conditions have to be met, which makes an attack harder. If it succeeds: high risk of outages.

Affected packages

EcosystemPackageAffectedFixed in
pippymongo>= 3.9.0, <= 4.18.2none recorded

Weakness classification

References