Remote command execution In pymongo
Description
pymongo: PYTHON-5994 Use exact match for file ID in GridFS delete methods
Impact
When reading/writing via an ID with the GridFS API, require an exact match on the given ID. Otherwise, if a Hash is given in place of the ID, it may be interpreted as criteria, overriding the ID match.
Patches
Patch available in pymongo >= 4.18.1
Workarounds
Ensure your existing workflow only supports exact matching on the GridFS API.
Mitigation
Update Impact
Minimal update. May introduce new vulnerabilities or breaking changes.
Ecosystem | Component | Affected version | Patched versions |
|---|---|---|---|
debian 12 | - | ||
debian 13 | - | ||
debian 14 | 4.18.1-1 | ||
pypi | 4.18.1 | ||
rpm rhel8 | 0:3.6.8-39.module+el8.10.0+20784+edafcd43 | ||
rpm rhel8.4 | 0:3.6.8-2.module+el8.4.0+15040+36b018e7.1 | ||
rpm rhel8.6 | 0:3.6.8-38.module+el8.5.0+12207+5c5719bc |
Aliases
1. 2. 3. 4. 5. 6. 7.
References
1. 2. 3. 4. 5. 6.