Disable pprof endpoints by default - #4070
Conversation
|
🤖 Created branch: z_pr4070/yboaron/security-fix-pprof-disable-by-default |
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: Organization UI Review profile: CHILL Plan: Pro Run ID: 📒 Files selected for processing (5)
🚧 Files skipped from review as they are similar to previous changes (5)
WalkthroughThree components — submariner main, globalnet, and routeagent_driver — add a ChangesConditional HTTP Profiling Gate
Estimated code review effort🎯 2 (Simple) | ⏱️ ~10 minutes Suggested reviewers
🚥 Pre-merge checks | ✅ 5✅ Passed checks (5 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. 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 |
The pprof debugging endpoints were unconditionally exposed on all Submariner components running with hostNetwork: true, making them accessible on all host network interfaces without authentication. Make pprof endpoints conditional on SUBMARINER_DEBUG environment variable (disabled by default) for all components. Signed-off-by: Yossi Boaron <yboaron@redhat.com>
5b26ad6 to
95500a9
Compare
|
🤖 Closed branches: [z_pr4070/yboaron/security-fix-pprof-disable-by-default] |
The pprof debugging endpoints were unconditionally exposed on all Submariner components running with hostNetwork: true, making them accessible on all host network interfaces without authentication.
Make pprof endpoints conditional on SUBMARINER_DEBUG environment variable (disabled by default) for all components.
Summary by CodeRabbit