CVE-2021-32749

Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2021-32749.json
Aliases
  • GHSA-m985-3f3v-cwmm
Published
2021-07-16T18:15:00Z
Modified
2023-08-31T02:29:07.233563Z
Details

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.

References

Affected packages

Alpine:v3.15 / fail2ban

Source Details

Package Name
fail2ban

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0The exact introduced commit is unknown
Fixed
0.11.2-r1

Affected versions

0.*

0.8.4-r0
0.8.4-r1
0.8.4-r2
0.8.6-r0
0.8.7.1-r0
0.8.8-r0
0.8.9-r0
0.8.10-r0
0.8.11-r0
0.8.12-r0
0.9.0-r0
0.9.1-r0
0.9.3-r0
0.9.3-r1
0.9.4-r0
0.10.1-r0
0.10.3.1-r0
0.10.3.1-r1
0.10.3.1-r2
0.10.4-r0
0.10.4-r1
0.10.4-r2
0.11.1-r0
0.11.1-r1
0.11.1-r2
0.11.1-r3
0.11.1-r4

Alpine:v3.16 / fail2ban

Source Details

Package Name
fail2ban

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0The exact introduced commit is unknown
Fixed
0.11.2-r2

Affected versions

0.*

0.8.4-r0
0.8.4-r1
0.8.4-r2
0.8.6-r0
0.8.7.1-r0
0.8.8-r0
0.8.9-r0
0.8.10-r0
0.8.11-r0
0.8.12-r0
0.9.0-r0
0.9.1-r0
0.9.3-r0
0.9.3-r1
0.9.4-r0
0.10.1-r0
0.10.3.1-r0
0.10.3.1-r1
0.10.3.1-r2
0.10.4-r0
0.10.4-r1
0.10.4-r2
0.11.1-r0
0.11.1-r1
0.11.1-r2
0.11.1-r3
0.11.1-r4

Alpine:v3.17 / fail2ban

Source Details

Package Name
fail2ban

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0The exact introduced commit is unknown
Fixed
0.11.2-r2

Affected versions

0.*

0.8.4-r0
0.8.4-r1
0.8.4-r2
0.8.6-r0
0.8.7.1-r0
0.8.8-r0
0.8.9-r0
0.8.10-r0
0.8.11-r0
0.8.12-r0
0.9.0-r0
0.9.1-r0
0.9.3-r0
0.9.3-r1
0.9.4-r0
0.10.1-r0
0.10.3.1-r0
0.10.3.1-r1
0.10.3.1-r2
0.10.4-r0
0.10.4-r1
0.10.4-r2
0.11.1-r0
0.11.1-r1
0.11.1-r2
0.11.1-r3
0.11.1-r4
0.11.2-r0
0.11.2-r1

Alpine:v3.18 / fail2ban

Source Details

Package Name
fail2ban

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0The exact introduced commit is unknown
Fixed
0.11.2-r2

Affected versions

0.*

0.8.4-r0
0.8.4-r1
0.8.4-r2
0.8.6-r0
0.8.7.1-r0
0.8.8-r0
0.8.9-r0
0.8.10-r0
0.8.11-r0
0.8.12-r0
0.9.0-r0
0.9.1-r0
0.9.3-r0
0.9.3-r1
0.9.4-r0
0.10.1-r0
0.10.3.1-r0
0.10.3.1-r1
0.10.3.1-r2
0.10.4-r0
0.10.4-r1
0.10.4-r2
0.11.1-r0
0.11.1-r1
0.11.1-r2
0.11.1-r3
0.11.1-r4
0.11.2-r0
0.11.2-r1