نسخههای متأثر
بازهها نیاز به بررسی دارند.
PyPImarshmallow
- نسخههای متأثر
- >= 3.0.0rc1, < 3.26.2
- نسخهٔ اصلاحشده
- 3.26.2
PyPImarshmallow
- نسخههای متأثر
- >= 4.0.0, < 4.1.2
- نسخهٔ اصلاحشده
- 4.1.2
PyPImarshmallow
- نسخههای متأثر
- >=3.0.0rc1 <3.26.2 || >=4.0.0 <4.1.2
- نسخهٔ اصلاحشده
- 3.26.2 · 4.1.2
- نسخههای متأثر
- نامشخص
- نسخهٔ اصلاحشده
- اعلام نشده
- نسخههای متأثر
- نامشخص
- نسخهٔ اصلاحشده
- اعلام نشده
بهرهبرداری
شرح آسیبپذیری
Impact
Schema.load(data, many=True) is vulnerable to denial of service attacks. A moderately sized request can consume a disproportionate amount of CPU time.
Patches
4.1.2, 3.26.2
Workarounds
# Fail fast
def load_many(schema, data, **kwargs):
if not isinstance(data, list):
raise ValidationError(['Invalid input type.'])
return [schema.load(item, **kwargs) for item in data]
پیوندها
- https://github.com/advisories/GHSA-428g-f7cq-pgp5
- https://github.com/marshmallow-code/marshmallow
- https://github.com/marshmallow-code/marshmallow/commit/d24a0c9df061c4daa92f71cf85aca25b83eee508
- https://github.com/marshmallow-code/marshmallow/security/advisories/GHSA-428g-f7cq-pgp5
- https://nvd.nist.gov/vuln/detail/CVE-2025-68480
- https://pypi.org/project/marshmallow

