Repository navigation
fix: remediate CVE's by upgrading lxml and lxml_html_clean - #17366
Conversation
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: Organization UI Review profile: CHILL Plan: Pro Plus Run ID: ⛔ Files ignored due to path filters (1)
📒 Files selected for processing (1)
🚧 Files skipped from review as they are similar to previous changes (1)
📝 WalkthroughWalkthroughChangesDependency Constraint Updates
Estimated code review effort: 2 (Simple) | ~10 minutes Poem
🚥 Pre-merge checks | ✅ 5✅ Passed checks (5 passed)
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 |
There was a problem hiding this comment.
Actionable comments posted: 1
🤖 Prompt for all review comments with AI agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.
Inline comments:
In `@pyproject.toml`:
- Around line 220-228: Raise the lxml dependency floor in the project
dependencies from 6.1.0 to 6.1.1, preserving the existing constraint format and
surrounding dependency declarations.
🪄 Autofix (Beta)
Fix all unresolved CodeRabbit comments on this PR:
- Push a commit to this branch (recommended)
- Create a new PR with the fixes
ℹ️ Review info
⚙️ Run configuration
Configuration used: Organization UI
Review profile: CHILL
Plan: Pro Plus
Run ID: 50b83276-841c-461e-9622-082ac546d1ea
⛔ Files ignored due to path filters (1)
uv.lockis excluded by!**/*.lock
📒 Files selected for processing (1)
pyproject.toml
970e4b9 to
bcb5fb9
Compare
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #17366 +/- ##
=======================================
Coverage 90.65% 90.65%
=======================================
Files 10 10
Lines 717 717
Branches 118 118
=======================================
Hits 650 650
Misses 39 39
Partials 28 28 ☔ View full report in Codecov by Harness. 🚀 New features to boost your workflow:
|
Summary
Remediates four CVEs in
lxmlandlxml_html_cleanby upgrading transitive dependency constraints and bumpingcrawl4aito unblock the resolution.crawl4aifrom>=0.9.0,<0.9.1to>=0.9.2,<0.9.3, version 0.9.2 relaxes lxml constraint to>=5.3,<7. The strict<0.9.3upper bound on crawl4ai is maintained per project conventioninscriptis>=2.7.3toconstraint-dependencies, version 2.7.3 relaxes lxml constraint to>=5.4.0,<6.2.0lxml>=6.1.0toconstraint-dependencieslxml_html_clean>=0.4.5toconstraint-dependenciesexclude-dependenciesentry forunclecode-litellm(still declared by crawl4ai 0.9.2) continues to prevent the namespace collision that previously crashed RAGFlow.Verification
lxmlis used widely across the codebase for HTML/XML parsing. The 5.x → 6.x upgrade maintains API compatibility for standard usage (lxml.html,lxml.etree).lxml_html_cleanAPI is unchanged between 0.4.3 and 0.4.5.crawl4ai0.9.2 is a patch bump from 0.9.0 with no API changes affecting RAGFlow's usage.inscriptis2.7.3 is a patch bump from 2.7.0.Testing
uv syncresolves cleanlycrawl4aiimports without litellm namespace collision