CVE & CISA-KEV Catalog

CVE-2021-32749

MEDIUMEPSS 88th pctl
6.1
CVSS v3
NVD

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.

How to fix

Remediation Available
fail2banDebian
Fixed in:0.11.2-2CVE-2021-32749
Fixed in:0.11.2-2CVE-2021-32749
Fixed in:0.11.2-2CVE-2021-32749
Fixed in:0.11.2-2CVE-2021-32749
fail2banUbuntu
Fixed in:0.8.11-1ubuntu0.1~esm1USN-5232-1
Fixed in:0.9.3-1ubuntu0.1~esm1USN-5232-1
Fixed in:0.10.2-2ubuntu0.1~esm1USN-5232-1
Fixed in:0.11.1-1ubuntu0.1~esm1USN-5232-1

Remediation is compiled from vendor and distribution security advisories. Always confirm against the linked source for your exact version and platform.

CVSS v3 Vector

Exploitability

Attack VectorNetwork
Attack ComplexityHigh
Privileges RequiredNone
User InteractionRequired
ScopeChanged

Impact

ConfidentialityNone
IntegrityHigh
AvailabilityNone

CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:C/C:N/I:H/A:N

Exploit Intelligence

3.62%probability of exploitation in 30 days
88thpercentile

Elevated risk: more likely to be exploited than 88% of all known CVEs.

References

Related Vulnerabilities

Other CWE-78 (OS Command Injection) vulnerabilities, ordered by exploit likelihood. View all

CVESeverityCVSSEPSSExploitedFix
CVE-2021-1498Critical9.8100%KEVFix
CVE-2014-6271Critical9.8100%KEVFix
CVE-2019-16920Critical9.8100%KEV-
CVE-2022-44877Critical9.8100%KEVFix
CVE-2020-8515Critical9.8100%KEV-
CVE-2020-9054Critical9.8100%KEVFix
Embed a live status badge for CVE-2021-32749
CVE-2021-32749 severity badge

Markdown

[![CVE-2021-32749](https://tridentstack.com/cve/badge/CVE-2021-32749.svg)](https://tridentstack.com/cve/CVE-2021-32749)

HTML

<a href="https://tridentstack.com/cve/CVE-2021-32749"><img src="https://tridentstack.com/cve/badge/CVE-2021-32749.svg" alt="CVE-2021-32749"></a>

Find and fix vulnerabilities across your fleet

TridentStack Control continuously scans your Windows, macOS, and Linux fleet for known vulnerabilities, prioritizes them by severity and active exploitation, and patches them automatically.

Start free

This product uses NVD data but is not endorsed or certified by the NVD. EPSS scores courtesy of FIRST.org (https://www.first.org/epss). Source: CISA KEV Catalog. Data as of 2024-11-21.