Gửi #574696: docarray 0.40.1 Improperly Controlled Modification of Object Prototype Attributethông tin

tiêu đềdocarray 0.40.1 Improperly Controlled Modification of Object Prototype Attribute
Mô tả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)
Nguồn⚠️ https://gist.github.com/superboy-zjc/56502343bcb12eb653081b426debf2c8
Người dùng
 Gavin Zhong (UID 84092)
Đệ trình09/05/2025 19:19 (cách đây 1 Năm)
Kiểm duyệt24/05/2025 19:36 (15 days later)
Trạng tháiđược chấp nhận
Mục VulDB310238 [docarray đến 0.40.1 Web API torch_dataset.py __getitem__ nâng cao đặc quyền]
điểm20

Want to stay up to date on a daily basis?

Enable the mail alert feature now!