fix(deps): constrain soupsieve>=2.8.4 to patch two high-severity CVEs - #32643
Conversation
🤖 Devin AI EngineerI'll be helping with this pull request! Here's what you should know: ✅ I will automatically:
Note: I can only respond to comments from users who have write access to this repository. ⚙️ Control Options:
|
|
|
Greptile SummaryThis PR adds a
Confidence Score: 5/5Safe to merge — the change is surgical, touching only the constraint entry and the auto-generated lockfile. The constraint addition is the correct approach for a uv-managed transitive dependency, the lockfile diff is minimal (only the targeted package version and its hashes changed), and the PR author supplied before/after scanner output confirming the fix takes effect. No files require special attention.
|
| Filename | Overview |
|---|---|
| pyproject.toml | Adds soupsieve>=2.8.4 to [tool.uv].constraint-dependencies to pin the transitive dependency to the patched version |
| uv.lock | Regenerated lockfile bumping soupsieve from 2.8.3 to 2.8.4 with updated hashes; only soupsieve changed, no unexpected package upgrades introduced |
Reviews (1): Last reviewed commit: "fix(deps): constrain soupsieve>=2.8.4 to..." | Re-trigger Greptile
Codecov Report✅ All modified and coverable lines are covered by tests. 📢 Thoughts on this report? Let us know! |
Relevant issues
Fixes #32636
Linear ticket
Pre-Submission checklist
Screenshots / Proof of Fix
soupsieveis a transitive dependency ofbeautifulsoup4, so it can't be bumped directly; instead I addedsoupsieve>=2.8.4to[tool.uv].constraint-dependenciesand re-locked with the same uv version CI pins (0.10.9), which keeps the lockfile diff minimal (just the constraint entry plus the soupsieve package block)Reproduced with the same osv-scanner version CI uses (v2.3.8) and the repo's
osv-scanner.tomlBefore, at
60729f733e(soupsieve 2.8.3):After, at
b3a44bd1b2(soupsieve 2.8.4):Type
🐛 Bug Fix
Changes
Added
soupsieve>=2.8.4to[tool.uv].constraint-dependenciesinpyproject.tomland re-locked, upgrading the resolvedsoupsievefrom 2.8.3 to 2.8.4 inuv.lock. This clears GHSA-2wc2-fm75-p42x and GHSA-836r-79rf-4m37 (both CVSS 7.5) that the OSV scanner flags on the transitivesoupsievepulled in viabeautifulsoup4Link to Devin session: https://app.devin.ai/sessions/ee8d8720e92143a297210a5392110d40