REDHAT-BUG-2305909: Medium severity dovecot vulnerability

Published Aug 19, 2024
·
Updated

Vulnerability Details: Having a large number of address headers (From, To, Cc, Bcc, etc.) becomes excessively CPU intensive. With 100k header lines CPU usage is already 12 seconds, and in a production environment we observed 500k header lines taking 18 minutes to parse. Since this can be triggered by external actors sending emails to a victim, this is a security issue.

The main problem is that each header line's address is added to the end of a linked list. This is done by walking the whole linked list, which becomes more inefficient the more addresses there are.

Workaround: One can implement restrictions on address headers on MTA component preceding Dovecot.

Fix: Install non-vulnerable version of Dovecot. Patch can be found at https://github.com/dovecot/core/compare/8e4c42d%5E...1481c04.patch

Affected Software

1 affected component
Dovecot dovecot<

Event History

Aug 19, 2024
Data Sourced
via Red Hat·08:45 PM
DescriptionSeverityAffected Software
Free Weekly Intel

Don't miss critical vulnerabilities

Join thousands of security professionals who receive our weekly digest of trending CVEs, zero-days, and exploited vulnerabilities.

No spam. Unsubscribe anytime.

Frequently Asked Questions

1

What is the severity of REDHAT-BUG-2305909?

The severity of REDHAT-BUG-2305909 is high due to excessive CPU usage when handling a large number of address headers.

2

How do I fix REDHAT-BUG-2305909?

To fix REDHAT-BUG-2305909, upgrade to the patched version of Dovecot as recommended by Red Hat.

3

What software is affected by REDHAT-BUG-2305909?

REDHAT-BUG-2305909 affects all versions of Dovecot, particularly in scenarios involving large address headers.

4

What are the symptoms of REDHAT-BUG-2305909?

The symptoms of REDHAT-BUG-2305909 include significantly increased CPU time and resource consumption when parsing email header lines.

5

Is there a workaround for REDHAT-BUG-2305909?

A possible workaround for REDHAT-BUG-2305909 is to limit the number of address headers processed in a single email.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203