Skip to main content

Over 150 LLM Providers · Over 5,300 Models The most extensible AI-powered pentesting platform. Open source. Star on GitHub

CVE-2021-32749

6.1 · MEDIUM
Published Jul 16, 2021 fail2ban CWE-78 EPSS 3.62% (89th pctl)

Overview

CVE-2021-32749 is a medium-severity vulnerability affecting fail2ban fail2ban. It was published on July 16, 2021 and has a CVSS 3.1 base score of 6.1 (MEDIUM).

This vulnerability has a CVSS 3.1 base score of 6.1, rated MEDIUM. It can be exploited remotely over the network. No authentication or special privileges are required for exploitation.

Technical Description

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.

Remediation

Check the references section for vendor advisories and patches from fail2ban. Update fail2ban to the latest patched version. If immediate patching is not possible, review the CVSS vector to understand the attack surface and apply compensating controls such as network segmentation or access restrictions.

Affected Products

Vendor Product Versions Status
fail2ban fail2ban 0 Affected

Frequently Asked Questions

What is CVE-2021-32749?

CVE-2021-32749 is a medium-severity vulnerability affecting fail2ban fail2ban. It was published on July 16, 2021 and has a CVSS 3.1 base score of 6.1 (MEDIUM).

How severe is CVE-2021-32749?

This vulnerability has a CVSS 3.1 base score of 6.1, rated MEDIUM. It can be exploited remotely over the network. No authentication or special privileges are required for exploitation.

How do I fix or remediate CVE-2021-32749?

Check the references section for vendor advisories and patches from fail2ban. Update fail2ban to the latest patched version. If immediate patching is not possible, review the CVSS vector to understand the attack surface and apply compensating controls such as network segmentation or access restrictions.

How can CyberStrike help with CVE-2021-32749?

CyberStrike's AI-powered security agents can automatically detect CVE-2021-32749 across your infrastructure using autonomous pentesting, DAST scanning, and HackBrowser. The platform continuously monitors for known vulnerabilities and provides actionable remediation guidance prioritized by real-world exploitability.