Skip to content

Bump pydantic minimum version to 1.8.2 for CVE patch - #51

Merged
RoiGlinik merged 1 commit into
masterfrom
claude/cve-2021-29510-pydantic-fsso2p
Aug 30, 2026
Merged

Bump pydantic minimum version to 1.8.2 for CVE patch#51
RoiGlinik merged 1 commit into
masterfrom
claude/cve-2021-29510-pydantic-fsso2p

Conversation

@moshemorad

Copy link
Copy Markdown
Contributor

Summary

Updated the minimum required version of pydantic from 1.8.1 to 1.8.2 to address a known security vulnerability.

Changes

  • Bumped pydantic dependency constraint from >=1.8.1,<3 to >=1.8.2,<3
  • Added inline comment documenting the security rationale: pydantic 1.8.2 minimum is required to patch CVE-2021-29510

Details

This is a patch-level version bump that ensures all installations use a pydantic version with the CVE-2021-29510 vulnerability patched. The change maintains backward compatibility while improving security posture.

https://claude.ai/code/session_01NEnZuV4bRRKaHsHoWLzgTb

CVE-2021-29510 (HIGH, CVSS 7.5): pydantic 1.8.1 hangs with 100% CPU
when 'infinity', 'inf' or float('inf') (or their negatives) is passed
to a datetime or date field. Fixed in pydantic 1.8.2. The lockfile
already resolves to pydantic 2.13.4 (not vulnerable), but the published
constraint floor of >=1.8.1 allowed downstream consumers to install the
vulnerable version. Raise the floor to >=1.8.2 and refresh the lockfile
content-hash (resolution unchanged).

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01NEnZuV4bRRKaHsHoWLzgTb
@RoiGlinik
RoiGlinik merged commit 2070c55 into master Aug 30, 2026
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants