CVE-2024-24760: Mailcow Docker Container Exposure to Local Network

Published Feb 2, 2024
·
Updated

mailcow is a dockerized email package, with multiple containers linked in one bridged network. A security vulnerability has been identified in mailcow affecting versions < 2024-01c. This vulnerability potentially allows attackers on the same subnet to connect to exposed ports of a Docker container, even when the port is bound to 127.0.0.1. The vulnerability has been addressed by implementing additional iptables/nftables rules. These rules drop packets for Docker containers on ports 3306, 6379, 8983, and 12345, where the input interface is not br-mailcow and the output interface is br-mailcow.

Affected Software

1 affected component
Mailcow Mailcow\<2024-01c

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Compensating control

    Implement iptables/nftables rules to drop packets for mailcow Docker containers on ports 3306, 6379, 8983, and 12345 when the input interface is NOT `br-mailcow` and the output interface IS `br-mailcow`, per the described mitigation for Mailcow Docker Container Exposure to Local Network.

Event History

Feb 2, 2024
CVE Published
via MITRE·03:28 PM
Data Sourced
via MITRE·03:28 PM
DescriptionSeverityWeakness
Data Sourced
via NVD·04:15 PM
RemedyDescriptionSeverityWeaknessAffected Software
Mar 4, 2024
Exploit Published
via GitHub·12:53 AM

Frequently Asked Questions

1

What is the severity of CVE-2024-24760?

CVE-2024-24760 has a medium severity rating due to the potential for local attackers to exploit exposed ports.

2

How do I fix CVE-2024-24760?

To fix CVE-2024-24760, upgrade mailcow to version 2024-01c or later.

3

What versions of mailcow are affected by CVE-2024-24760?

CVE-2024-24760 affects all mailcow versions prior to 2024-01c.

4

Can CVE-2024-24760 be exploited remotely?

CVE-2024-24760 cannot be exploited remotely and requires an attacker to be on the same subnet.

5

What containers in mailcow are impacted by CVE-2024-24760?

CVE-2024-24760 impacts all mailcow containers that expose ports to the same bridged network.

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