Skip to content

Commit 1b9c1e4

Browse files
1 parent 7df9047 commit 1b9c1e4

File tree

1 file changed

+80
-0
lines changed

1 file changed

+80
-0
lines changed
Lines changed: 80 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,80 @@
1+
{
2+
"schema_version": "1.4.0",
3+
"id": "GHSA-428g-f7cq-pgp5",
4+
"modified": "2025-12-22T20:20:07Z",
5+
"published": "2025-12-22T20:20:07Z",
6+
"aliases": [
7+
"CVE-2025-68480"
8+
],
9+
"summary": "Marshmallow has DoS in Schema.load(many)",
10+
"details": "### Impact\n\n`Schema.load(data, many=True)` is vulnerable to denial of service attacks. A moderately sized request can consume a disproportionate amount of CPU time.\n\n### Patches\n\n4.1.2, 3.26.2\n\n### Workarounds\n\n```py\n# Fail fast\ndef load_many(schema, data, **kwargs):\n if not isinstance(data, list):\n raise ValidationError(['Invalid input type.'])\n return [schema.load(item, **kwargs) for item in data]\n```",
11+
"severity": [
12+
{
13+
"type": "CVSS_V3",
14+
"score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L"
15+
}
16+
],
17+
"affected": [
18+
{
19+
"package": {
20+
"ecosystem": "PyPI",
21+
"name": "marshmallow"
22+
},
23+
"ranges": [
24+
{
25+
"type": "ECOSYSTEM",
26+
"events": [
27+
{
28+
"introduced": "3.0.0rc1"
29+
},
30+
{
31+
"fixed": "3.26.2"
32+
}
33+
]
34+
}
35+
]
36+
},
37+
{
38+
"package": {
39+
"ecosystem": "PyPI",
40+
"name": "marshmallow"
41+
},
42+
"ranges": [
43+
{
44+
"type": "ECOSYSTEM",
45+
"events": [
46+
{
47+
"introduced": "4.0.0"
48+
},
49+
{
50+
"fixed": "4.1.2"
51+
}
52+
]
53+
}
54+
]
55+
}
56+
],
57+
"references": [
58+
{
59+
"type": "WEB",
60+
"url": "https://github.com/marshmallow-code/marshmallow/security/advisories/GHSA-428g-f7cq-pgp5"
61+
},
62+
{
63+
"type": "WEB",
64+
"url": "https://github.com/marshmallow-code/marshmallow/commit/d24a0c9df061c4daa92f71cf85aca25b83eee508"
65+
},
66+
{
67+
"type": "PACKAGE",
68+
"url": "https://github.com/marshmallow-code/marshmallow"
69+
}
70+
],
71+
"database_specific": {
72+
"cwe_ids": [
73+
"CWE-405"
74+
],
75+
"severity": "MODERATE",
76+
"github_reviewed": true,
77+
"github_reviewed_at": "2025-12-22T20:20:07Z",
78+
"nvd_published_at": null
79+
}
80+
}

0 commit comments

Comments
 (0)