Skip to content

chore: bump aiohttp and fonttools to resolve CVE findings - #269

Open
juanCm1ra wants to merge 1 commit into
mainfrom
chore/security-bump-aiohttp-fonttools
Open

chore: bump aiohttp and fonttools to resolve CVE findings#269
juanCm1ra wants to merge 1 commit into
mainfrom
chore/security-bump-aiohttp-fonttools

Conversation

@juanCm1ra

@juanCm1ra juanCm1ra commented Jul 28, 2026

Copy link
Copy Markdown

Summary

  • fonttools 4.53.0 -> 4.60.2 (transitive, via matplotlib) — resolves CVE-2025-66034.
  • aiohttp 3.9.5 -> 3.13.5 — resolves CVE-2025-62718. Could not reach the fixed_version from the scan (3.14.1): aiohttp>=3.14 requires Python>=3.10, and this SDK's pyproject.toml supports python>=3.9,<4.0. 3.13.5 is the highest version in the 3.9-compatible line.
  • Only poetry.lock changed — the existing pyproject.toml range (aiohttp>=3.7.3,<4.0.0) already allowed this resolution, so no manifest edit was needed.
  • GitPython, also flagged in the original scan for this image (lappocr), is not a dependency of this project at all (confirmed via grep across pyproject.toml/poetry.lock) — treating as a scanner false positive, not touched here.

Source: internal vulnerability scan findings for the lappocr image (built from this SDK via examples/apps/ocr + infra-cli gen-st-app).

Follow-up (not in this PR)

To fully match the scan's aiohttp fixed_version (3.14.1), the project's Python floor would need to go from >=3.9 to >=3.10 — that's a breaking change for consumers of this SDK and needs a separate, deliberate decision.

Test plan

  • poetry install resolves cleanly from this lockfile
  • Existing test suite passes with aiohttp 3.13.5 / fonttools 4.60.2
  • lappocr Streamlit demo image still builds and runs OCR inference correctly

🤖 Generated with [Claude Code]

Resolves CRITICAL findings from vuln scan (lappocr image):
- fonttools 4.53.0 -> 4.60.2 (transitive, via matplotlib) - CVE-2025-66034
- aiohttp 3.9.5 -> 3.13.5 (CVE-2025-62718). Could not reach the
  fixed_version 3.14.1 from the scan: aiohttp>=3.14 requires Python>=3.10,
  and this SDK supports python>=3.9,<4.0. 3.13.5 is the highest version
  compatible with the current Python floor.

Only poetry.lock changed (pyproject.toml range already allowed this
resolution). GitPython, also flagged in the scan, is not a dependency of
this project at all (direct or transitive) - false positive, not touched.
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.

1 participant