NetSight
medium8.3No CVE yet

GHSA-8h2c-ghff-mpg9

Duplicate Advisory: pymongo: PYTHON-5994 Use exact match for file ID in GridFS delete methods

Impact

## Duplicate Advisory This advisory has been withdrawn because it is a duplicate of GHSA-8fvv-fgr5-f8ch. This link is maintained to preserve external references. ## Original Description Improper neutralization of special elements in data query logic in the GridFS component of the MongoDB Python Driver can cause a caller-supplied structured file identifier to be interpreted as a query condition rather than as a literal identifier. An authenticated user who can influence the identifier passed by an affected application may obtain stored file content beyond the intended target or cause all GridFS file chunks in the affected bucket to be removed, rendering stored file content unreadable. The affected rename operation may also rename a stored file other than the intended target.

An attacker can exploit this over the network, with a regular user account, without any action by a user. If it succeeds: low risk of data being read, high risk of data or systems being changed, high risk of outages.

Affected packages

EcosystemPackageAffectedFixed in
pippymongo<= 4.18.0none recorded

Weakness classification

References