File tree Expand file tree Collapse file tree 2 files changed +8
-1
lines changed
apps/meteor/app/integrations/server/lib Expand file tree Collapse file tree 2 files changed +8
-1
lines changed Original file line number Diff line number Diff line change 1+ ---
2+ ' @rocket.chat/meteor ' : patch
3+ ---
4+
5+ Fix: Limit outgoing webhook response size to 10MB to prevent memory exhaustion
6+
7+ Added a 10MB size limit to outgoing webhook responses to prevent the server from crashing when integrations return unexpectedly large responses.
Original file line number Diff line number Diff line change @@ -621,7 +621,7 @@ class RocketChatIntegrationHandler {
621621 ...( opts . data && { body : opts . data } ) ,
622622 // SECURITY: Integrations can only be configured by users with enough privileges. It's ok to disable this check here.
623623 ignoreSsrfValidation : true ,
624- size : 20 * 1024 * 1024 ,
624+ size : 10 * 1024 * 1024 ,
625625 } ,
626626 settings . get ( 'Allow_Invalid_SelfSigned_Certs' ) ,
627627 )
You can’t perform that action at this time.
0 commit comments