VDB

CVE-2021-32749

CVE-2021-32749 PUBLISHED

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.

EPSS 0.30% · 53.7th percentile

Risk Scores

EPSS Score
0.30%
53.7th percentile

Affected Products

VendorProductVersions
Ubuntu:Pro:20.04:LTSfail2ban0, 0.10.2-2.1, 0.11.1-1
Ubuntu:Pro:16.04:LTSfail2ban0.9.3-1, 0
Ubuntu:Pro:18.04:LTSfail2ban0, 0.10.2-1, 0.9.7-2
Ubuntu:Pro:14.04:LTSfail2ban0.8.11~pre1+git29-gccd2657-1, 0, 0.8.10-3

Timeline

  • Jul 16, 2021 CVE Published
  • Jul 17, 2021 EPSS Score
  • Aug 23, 2021 PoC Published
  • Sep 14, 2021 EPSS Score
  • Jan 6, 2022 EPSS Score
  • Jan 11, 2022 EPSS Score
  • Mar 12, 2022 EPSS Score
  • Apr 1, 2022 EPSS Score
  • Jul 9, 2022 EPSS Score
  • Sep 7, 2022 EPSS Score
  • Jan 4, 2023 EPSS Score
  • Mar 5, 2023 EPSS Score
Open in Interactive Console →
$ Console Community · 100/wk Open console ›