What’s Vulnerable › Vulnerabilities

CVE-2022-31138: OS Command Injection in mailcow

Description

mailcow is a mailserver suite. Prior to mailcow-dockerized version 2022-06a, an extended privilege vulnerability can be exploited by manipulating the custom parameters regexmess, skipmess, regexflag, delete2foldersonly, delete2foldersbutnot, regextrans2, pipemess, or maxlinelengthcmd to execute arbitrary code. Users should update their mailcow instances with the `update.sh` script in the mailcow root directory to 2022-06a or newer to receive a patch for this issue. As a temporary workaround, the Syncjob ACL can be removed from all mailbox users, preventing changes to those settings.

Affected products

How to fix

Upgrade to a fixed version: mailcow-dockerized 2022-06a. Check the vendor advisory for mitigations.

References

Get alerted when CVE-2022-31138 or the next vulnerability affects your stack