Raise dependency floors to OSV-clean versions - #1
Open
tosfos wants to merge 1 commit into
Open
Conversation
pytest>=7.0.0 and jinja2>=3.0.0 allow installs of versions with known advisories (pytest < 9.0.3: CVE-2025-71176; Jinja2 < 3.1.6). Raise the floors, keeping a pytest < 9.0.3 escape hatch for Python < 3.10. Co-authored-by: Cursor <cursoragent@cursor.com>
|
Important
This repository does not receive automatic reviews because it has fewer than 10 stars. ⚙️ Run configurationConfiguration used: Organization UI Review profile: CHILL Plan: Pro Plus Run ID: Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Fixes SLOP-449 (https://wikiteq.atlassian.net/browse/SLOP-449)
Summary
requirements.txtused open-ended floors (jinja2>=3.0.0,pytest>=7.0.0) that admit versions with known OSV advisories: pytest < 9.0.3 is affected by CVE-2025-71176 / PYSEC-2026-1845 (predictable/tmp/pytest-of-{user}dirs; local DoS/privilege risk), and Jinja2 3.0.0–3.1.5 each carry advisories.jinja2>=3.1.6andpytest>=9.0.3, with apytest<9.0.3 ; python_version < "3.10"escape hatch so older interpreters keep working (pytest 9.x requires Python ≥ 3.10).>=6.0verified clean against OSV and left unchanged.Verification
api.osv.devper-version queries: jinja2 3.1.6 → 0 advisories; pytest ≥ 9.0.3 unaffected by GHSA-6w46-j5rx-g56g.6 passed), template validation, and an end-to-end generation run all pass on the resolved versions.Audit context: org-wide audit of WikiTeq repositories.