Bump marshmallow from 3.26.2 to 4.0.1 - #508
Conversation
There was a problem hiding this comment.
Claude Code Review
This repository is configured for manual code reviews. Comment @claude review for a one-time review, or @claude review always to subscribe this PR to a review on every future push.
Tip: disable this comment in your organization's Code Review settings.
| [[package]] | ||
| name = "marshmallow" | ||
| version = "3.26.2" | ||
| version = "4.0.1" |
There was a problem hiding this comment.
❗Cycode: Security vulnerability found in newly introduced dependency.
| Risk Score | 30 (MEDIUM) |
| Severity | Medium |
| Issue | Marshmallow has DoS in Schema.load(many): CVE-2025-68480 |
| Ecosystem | PyPI |
| Dependency | marshmallow |
| Dependency Paths | marshmallow 4.0.1 |
| Direct Dependency | Yes |
| Development Dependency | No |
| Upgrade | 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]Description
Detects when new vulnerabilities affect your dependencies.
Tell us how you wish to proceed using one of the following commands:
| Tag | Short Description |
|---|---|
| #cycode_ignore_package_everywhere <reason> | Applies to this manifest for this package for all requests in your repository |
| #cycode_ignore_package_here <reason> | Applies to this manifest for this package in this request only |
| #cycode_ignore_manifest_here <reason> | Applies to this manifest in this request only |
| #cycode_vulnerable_package_fix_this_violation | Fix this violation via a commit to this branch |
Bumps [marshmallow](https://github.com/marshmallow-code/marshmallow) from 3.26.2 to 4.0.1. - [Changelog](https://github.com/marshmallow-code/marshmallow/blob/dev/CHANGELOG.rst) - [Commits](marshmallow-code/marshmallow@3.26.2...4.0.1) --- updated-dependencies: - dependency-name: marshmallow dependency-version: 4.0.1 dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] <support@github.com>
ea829ae to
71a7949
Compare
|
@dependabot recreate |
|
Looks like marshmallow is no longer updatable, so this is no longer needed. |
Bumps marshmallow from 3.26.2 to 4.0.1.
Changelog
Sourced from marshmallow's changelog.
... (truncated)
Commits
757714bBump version and update changelog407c2c5Remove incorrect documentaion of field_name param (#2846)8c83dd6Bump sphinxext-opengraph from 0.11.0 to 0.12.0 (#2844)24225a3Bump sphinxext-opengraph from 0.10.0 to 0.11.0 (#2843)172f40f[pre-commit.ci] pre-commit autoupdateb84d50bAdd edit button to docs (#2841)7008262Bump furo from 2024.8.6 to 2025.7.19 (#2837)2feeda7docs: fix tuple spelling mistake (#2838)0c1dd99Update pre-commit deps (#2840)7266de0[pre-commit.ci] pre-commit autoupdate