Логотип exploitDog
Консоль
Логотип exploitDog

exploitDog

github логотип

GHSA-8fvv-fgr5-f8ch

Опубликовано: 05 окт. 2026
Источник: github
Github: Прошло ревью
CVSS4: 6.1

Описание

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.

Пакеты

Наименование

pymongo

pip
Затронутые версииВерсия исправления

<= 4.18.0

4.18.1

EPSS

Процентиль: 19%
0.00265
Низкий

6.1 Medium

CVSS4

Дефекты

CWE-943

Связанные уязвимости

CVSS3: 8.3
ubuntu
2 месяца назад

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.

CVSS3: 8.3
redhat
2 месяца назад

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.

CVSS3: 8.3
nvd
2 месяца назад

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.

CVSS3: 8.3
debian
2 месяца назад

Improper neutralization of special elements in data query logic in the ...

rocky
около 1 месяца назад

Important: python36:3.6 security update

EPSS

Процентиль: 19%
0.00265
Низкий

6.1 Medium

CVSS4

Дефекты

CWE-943