Bugzilla – Bug 1188610
VUL-0: CVE-2021-32749: fail2ban: Command injection via mail comand
Last modified: 2021-09-16 15:42:25 UTC
fail2ban is a daemon to ban hosts that cause multiple authentication errors. In versions 0.9.7 and prior, 0.10.0 through 0.10.6, and 0.11.0 through 0.11.2, there is a vulnerability that leads to possible remote code execution in the mailing action mail-whois. Command `mail` from mailutils package used in mail actions like `mail-whois` can execute command if unescaped sequences (`\n~`) are available in "foreign" input (for instance in whois output). To exploit the vulnerability, an attacker would need to insert malicious characters into the response sent by the whois server, either via a MITM attack or by taking over a whois server. The issue is patched in versions 0.10.7 and 0.11.3. As a workaround, one may avoid the usage of action `mail-whois` or patch the vulnerability manually.
Marcus, Jan? Package needs a bugowner.
Andreas you could assign me.
This is an autogenerated message for OBS integration:
This bug (1188610) was mentioned in
https://build.opensuse.org/request/show/914050 15.2+Backports:SLE-15-SP1+Backports:SLE-15-SP2+Backports:SLE-15-SP3 / fail2ban
openSUSE-SU-2021:1274-1: An update that solves one vulnerability and has three fixes is now available.
Category: security (important)
Bug References: 1145181,1146856,1180738,1188610
CVE References: CVE-2021-32749
openSUSE Leap 15.2 (src): fail2ban-0.11.2-lp188.8.131.52
openSUSE Backports SLE-15-SP3 (src): fail2ban-0.11.2-bp184.108.40.206
openSUSE Backports SLE-15-SP2 (src): fail2ban-0.11.2-bp220.127.116.11
openSUSE Backports SLE-15-SP1 (src): fail2ban-0.11.2-bp18.104.22.168
Fixed and created MR