urn:noticeable:projects:Kw4IZPXU5op9yMhYQCX2Barracuda Email Gateway Defense Updatesess.barracudanetworks.com2023-05-24T16:21:44.808ZCopyright © Barracuda Email Gateway DefenseNoticeable#1e88e5urn:noticeable:publications:YYX0j8tH7Lqd2tNACwXX2023-05-24T00:43:15.195Z2023-05-24T16:21:44.808ZIncident Report for EGD UI Outage on May 22, 2023Incident Summary (All times in UTC) At approximately 3:09pm on May 22, 2023, a routine update to Email Gateway Defense's (EGD) spam scoring logic inadvertently caused customers' email scores to be increased by 2.9 pts. This unfortunately<h2>Incident Summary (All times in UTC)</h2><p>At approximately 3:09pm on May 22, 2023, a routine update to Email Gateway Defense's (EGD) spam scoring logic inadvertently caused customers' email scores to be increased by 2.9 pts. This unfortunately led to a significant amount of email messages to be blocked as false positives. The spam rule update was reverted, however a large number of users needed to sign onto EGD redeliver their incorrectly blocked messages.</p><p>At 4:30pm, the EGD team started to receive reports that the UI was experiencing an outage and customers were seeing a 504 timeout error when attempting to sign in and release their blocked mail. While we investigated the incident, the CAPTCHA login step was turned on for administrators in an abundance of caution. After investigation, it was determined that this UI outage in service was due to the web servers being overloaded by the large number of users trying to sign in and resend their mail at one time.&nbsp;</p><p>The EGD team tried to remediate this issue by refreshing and creating new web server instances to accommodate the much larger flow of traffic. While EGD has autoscaling settings in place to automatically fluctuate to changes in traffic patterns, these instances were incorrectly displaying as healthy and were not refreshing as needed. By 6:17pm, the fix to increase instance capacity for the web servers successfully accommodated the higher traffic and the UI returned to normal.&nbsp;</p><p>The following day, May 23, 2023, at approximately 2:38pm, the EGD team began hearing additional reports that the UI for the new React platform was displaying timeout errors ("link to login is invalid") for certain end users. The EGD team investigated and implemented a fix at 6:10pm for a log-in call to the database that was causing abnormally long load times. While this additional incident was not directly related to the spam scoring update, this problem was exacerbated by the higher than usual traffic attempting to log into the new UI to remediate their email.&nbsp;</p><p>The EGD team is currently investigating ways to prevent any future changes to spam scoring from leading to such a high number of emails being blocked as false positives. The team is also investigating ways to adjust autoscaling logic to prevent any loss in service in the future. We apologize for the inconvenience that this has caused to our customers.&nbsp;</p><h2>Impact Timeline (All times in UTC)</h2><p><strong>2023-05-22:&nbsp;</strong></p><ul><li><p>03:09pm: Update to spam scoring logic was implemented inadvertently causing customer's email scores to be increased (leading to a large amount of false positives).</p></li><li><p>03:09pm-04:29pm: Users begin to log into EGD at a high rate to redeliver their incorrectly blocked email messages causing the web servers to be overloaded. CAPTCHA login step was implemented for administrators. </p></li><li><p>04:30pm: EGD team creates incident and begins investigation of UI outage.</p></li><li><p>05:02pm-05:56pm: Multiple attempts were made to refresh and replace unhealthy web server instances with healthy ones to accommodate for larger traffic patterns.</p></li><li><p>06:17pm: Traffic flow is back to being accommodated by the new healthy instances and the UI loads correctly for users.</p></li></ul><p><strong>2023-05-23:</strong></p><ul><li><p>02:38pm - The EGD team began receiving reports that the UI for the new React platform was displaying timeout errors ("link to login is invalid").</p></li><li><p>02:40pm - The team begins investigation team identifies problem with autoscaling capacity and implements fix.</p></li><li><p>06:10pm - A fix is implemented to a call in the log-in process that was causing abnormally long load times and the UI begins to load as expected.</p></li></ul><h2>Impact Duration&nbsp;</h2><ul><li><p>Initial Issue Start: May 22, 2023 @ 3:09pm UTC</p></li><li><p>Initial Issue End: May 22, 2023 @ 6:17pm UTC</p></li><li><p>Secondary Issue Start: May 23, 2023 @ 2:38pm UTC</p></li><li><p>Secondary Issue End: May 23, 2023 @ 6:10pm UTC</p></li></ul><h2>Incident Analysis</h2><p>EGD's Web interface interruption for customers in the US region on May 22, 2023 was due to an autoscaling failure during increased traffic load. This higher traffic load was due to an update to spam scoring logic that caused a large amount of customer mail to be incorrectly blocked. As users logged in to manage their blocked mail, the web servers became overloaded and the UI failed to load. Once instances were refreshed successfully, the UI worked as expected. However, the following day, the new React platform web servers were also overloaded due to a call in the log-in process that was creating abnormally long load times. This call combined with the increased traffic caused the new UI login flow to be interrupted with timeout errors for customers. This problem was also remediated.&nbsp;</p><h2>Corrective Actions</h2><p>These are the areas being addressed as a result of this incident:&nbsp;</p><ul><li><p>The EGD team is investigating the problem caused by the update to the spam scoring logic that caused many false positives.&nbsp;</p></li><li><p>The EGD team is investigating improvements in the incident resolution process for quicker identification of the problem and remediation planning.&nbsp;</p></li><li><p>The EGD team is investigating updates to the autoscaling logic for web servers to automatically accommodate higher traffic changes.</p></li><li><p>The EGD team is also investigating ways to allow users to more quickly and efficiently rescan and redeliver mail that may be blocked incorrectly due to an incident or setting update.</p></li></ul><h2>Next Steps for Customers</h2><p>Unfortunately, as there was an extremely high number of affected customers and email, we are unable to manually rescan and redeliver mail that was incorrectly blocked due to this incident. We apologize for the inconvenience this has caused to our customers.</p><p>Please see below for the steps to allow end users to redeliver their mail. This will lessen the burden on administrators with a high number of emails to remediate.&nbsp;</p><ol><li><p>Admin signs into EGD under the <strong>Users </strong>tab, select <strong>Default Policy</strong></p></li><li><p>Set the setting labelled <em><strong>Allow end users to view and deliver blocked messages</strong></em>&nbsp;to <strong>Yes </strong>(if this is set to off) and click<strong> Save Changes</strong></p></li><li><p>Now users will be able to login and deliver their incorrectly blocked mail. <strong>Note</strong>: this will potentially allow the users to send mail that should not be delivered, so please advise users to proceed with caution. If admins are concerned about future user behavior, they can reset this setting to <strong>No</strong> after mail has been delivered from this May 22, 2023 incident.&nbsp;</p></li></ol><p></p><figure><img src="https://storage.noticeable.io/projects/Kw4IZPXU5op9yMhYQCX2/publications/YYX0j8tH7Lqd2tNACwXX/01h55ta3gs0v5f9bn0d1z6v39b-image.png" alt="" loading="lazy" title=""></figure><p></p><p></p><p><br></p>Barracuda Networks[email protected]