GitHub Advisoryadvisory · PyPI

GHSA-j9wp-865g-rf48 docarray prototype pollution

MEDIUM Published 2025-05-25 Modified 2025-06-04 Official page ↗
Aliases
CVE-2025-5150
Ecosystem
PyPI
Packages
docarray
Severity
Moderate
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L
Weaknesses
CWE-1321, CWE-94
Reviewed
2025-05-27

Affected packages

• PyPI docarray: <= 0.40.1 (no fix yet)

Description

A vulnerability was found in docarray up to 0.40.1. It has been rated as critical. Affected by this issue is the function __getitem__ of the file /docarray/data/torch_dataset.py of the component Web API. The manipulation leads to improperly controlled modification of object prototype attributes ('prototype pollution'). The attack may be launched remotely. The exploit has been disclosed to the public and may be used. The vendor was contacted early about this disclosure but did not respond in any way.

Related

Alias · CVE (1)

  • CVE-2025-5150 A vulnerability was found in docarray up to 0.40.1. vulnerability

Weakness · CWE (2)

  • CWE-1321 Improperly Controlled Modification of Object Prototype Attributes weakness
  • CWE-94 Improper Control of Generation of Code weakness

References