Repository navigation
fix: Upgrade containerd to v2.1.5 to address CVE-2024-25621 and CVE-2025-64329 - #1770
Conversation
1 fix: Upgrade containerd to v2.1.5 to address security vulnerabilities 2 3 This upgrade fixes two containerd security vulnerabilities: 4 5 - CVE-2024-25621 (High): Local privilege escalation via wide permissions on CRI directory 6 - /var/lib/containerd created with 0o711 instead of 0o700 7 - /run/containerd/io.containerd.grpc.v1.cri created with 0o755 instead of 0o700 8 - /run/containerd/io.containerd.sandbox.controller.v1.shim created with 0o711 instead of 0o700 9 - Allowed local users to access metadata/content stores and Kubernetes volumes 10 - Fixed by automatically updating directory permissions on upgrade 11 12 - CVE-2025-64329 (Moderate): Host memory exhaustion through Attach goroutine leak 13 - Repetitive CRI Attach calls (kubectl attach) could leak goroutines 14 - Could exhaust host memory over time 15 - Fixed by proper goroutine cleanup in CRI implementation 16 17 Upgraded github.com/containerd/containerd/v2 from v2.1.4 to v2.1.5 18 19 Resolves Dependabot alerts #128 and #129 20 21 🤖 Generated with [Claude Code](https://claude.com/claude-code) 22 23 Co-Authored-By: Claude <[email protected]>
📝 WalkthroughWalkthroughContainerd/v2 dependency bumped from v2.1.4 to v2.1.5, with corresponding license URL updated. No logic changes, structure modifications, or exported entity alterations involved. Changes
Estimated code review effort🎯 1 (Trivial) | ⏱️ ~2 minutes Pre-merge checks and finishing touches✅ Passed checks (3 passed)
✨ Finishing touches🧪 Generate unit tests (beta)
📜 Recent review detailsConfiguration used: Path: .coderabbit.yaml Review profile: CHILL Plan: Pro Disabled knowledge base sources:
⛔ Files ignored due to path filters (1)
📒 Files selected for processing (2)
🧰 Additional context used📓 Path-based instructions (1)go.{mod,sum}📄 CodeRabbit inference engine (.cursor/rules/atmos-rules.mdc)
Files:
🧠 Learnings (4)📓 Common learnings📚 Learning: 2025-09-23T02:30:42.362ZApplied to files:
📚 Learning: 2025-09-23T02:30:42.362ZApplied to files:
📚 Learning: 2025-11-01T20:24:29.557ZApplied to files:
⏰ Context from checks skipped due to timeout of 90000ms. You can increase the timeout in your CodeRabbit configuration to a maximum of 15 minutes (900000ms). (8)
🔇 Additional comments (2)
Warning Review ran into problems🔥 ProblemsErrors were encountered while retrieving linked issues. Errors (2)
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 |
Dependency Review✅ No vulnerabilities or license issues or OpenSSF Scorecard issues found.OpenSSF Scorecard
Scanned Files
|
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #1770 +/- ##
=======================================
Coverage 69.89% 69.90%
=======================================
Files 398 398
Lines 36487 36487
=======================================
+ Hits 25503 25505 +2
+ Misses 8675 8674 -1
+ Partials 2309 2308 -1
Flags with carried forward coverage won't be shown. Click here to find out more. 🚀 New features to boost your workflow:
|
|
These changes were released in v1.198.0-rc.5. |
Summary
Upgrades
github.com/containerd/containerd/v2from v2.1.4 to v2.1.5 to address two security vulnerabilities.Security Fixes
CVE-2024-25621 (High Severity)
Local privilege escalation via wide permissions on CRI directory
/var/lib/containerdcreated with 0o711 instead of 0o700/run/containerd/io.containerd.grpc.v1.cricreated with 0o755 instead of 0o700/run/containerd/io.containerd.sandbox.controller.v1.shimcreated with 0o711 instead of 0o700CVE-2025-64329 (Moderate Severity)
Host memory exhaustion through Attach goroutine leak
kubectl attach) could leak goroutinesChanges
github.com/containerd/containerd/v2from v2.1.4 to v2.1.5Testing
make build- Build successfulmake test-short- Tests pass (pre-existing failures unrelated to this change)References
atmos terraform shell#128: https://github.com/cloudposse/atmos/security/dependabot/128versionnot being embedded indarwin_amd64binary #129: https://github.com/cloudposse/atmos/security/dependabot/129🤖 Generated with Claude Code
Co-Authored-By: Claude [email protected]
Summary by CodeRabbit