提交 #574696: docarray 0.40.1 Improperly Controlled Modification of Object Prototype Attribute信息

标题docarray 0.40.1 Improperly Controlled Modification of Object Prototype Attribute
描述Docarray MultiModalDataset insecurely implemented the component on preprocessing functions. In its __getitem__ method, the dotted object path passed in is not performed any sanitization to prevent against internal class object access and operation. When multimodal dataset operation is deployed through web API, such as offcially recommended FastAPI, bad actors are able to access, e.g. via double under attributes .__class__.__base__... and overwrite the internal python runtime class objects, which at least leads to DoS attack. However, when combined with other backend code enriching the python runtime states, other attacks such as RCE and XSS are still promising as our previous finding proves. (see related materials)
来源⚠️ https://gist.github.com/superboy-zjc/56502343bcb12eb653081b426debf2c8
用户
 Gavin Zhong (UID 84092)
提交2025-05-09 19時19分 (1 年前)
管理2025-05-24 19時36分 (15 days later)
状态已接受
VulDB条目310238 [docarray 直到 0.40.1 Web API torch_dataset.py __getitem__ 权限提升]
积分20

Do you want to use VulDB in your project?

Use the official API to access entries easily!