Pin pyasn1 >=0.6.4 to address transitive DoS advisories - #2314
Pin pyasn1 >=0.6.4 to address transitive DoS advisories#2314devin-ai-integration[bot] wants to merge 1 commit into
Conversation
Co-Authored-By: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com>
🤖 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:
|
|
👋 @devin-ai-integration[bot] |
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: defaults Review profile: CHILL Plan: Pro Run ID: 📒 Files selected for processing (1)
📝 WalkthroughWalkthroughThe project adds ChangesRuntime dependency update
Estimated code review effort: 1 (Trivial) | ~2 minutes Possibly related PRs
Suggested reviewers: 🚥 Pre-merge checks | ✅ 5✅ Passed checks (5 passed)
✨ Finishing Touches🧪 Generate unit tests (beta)
Comment |
|
Closing as a duplicate — #2310 already contains this exact change (identical |
Summary
Adds an explicit
pyasn1 = ">=0.6.4,<0.7"constraint to close the three open high-severity Dependabot alerts onpyproject.toml(BER/CER/DER decoder DoS via unbounded long-form tag IDs, quadratic OID processing, unbounded resource use decoding REAL values).pyasn1is transitive only (google-cloud-storage→google-auth→pyasn1-modules >=0.2.1→pyasn1 >=0.6.1,<0.7). Since this repo ships no lockfile, the pre-0.6.4 versions the range still admits are what Dependabot flags, so the fix is a manifest-level floor — same pattern already used foridna. Upper bound kept at<0.7to matchpyasn1-modules' own constraint.poetry lockresolves cleanly with the pin.Link to Devin session: https://app.devin.ai/sessions/b110c025432048528cdfc46e55ffb1ef
Summary by CodeRabbit