Skip to content

Commit 35e0290

Browse files
committed
fix: limit outgoing webhook response size to prevent memory exhaustion
1 parent f661fbc commit 35e0290

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

apps/meteor/app/integrations/server/lib/triggerHandler.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -621,6 +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,
624625
},
625626
settings.get('Allow_Invalid_SelfSigned_Certs'),
626627
)

0 commit comments

Comments
 (0)