Overview
- 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.
- Source
- security-advisories@github.com
- NVD status
- Modified
Risk scores
CVSS 3.1
- Type
- Primary
- Base score
- 8.1
- Impact score
- 5.9
- Exploitability score
- 2.2
- Vector string
- CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H
- Severity
- HIGH
CVSS 2.0
- Type
- Primary
- Base score
- 6.8
- Impact score
- 6.4
- Exploitability score
- 8.6
- Vector string
- AV:N/AC:M/Au:N/C:P/I:P/A:P
Social media
- Hype score
- Not currently trending
Configurations
[ { "nodes": [ { "negate": false, "cpeMatch": [ { "criteria": "cpe:2.3:a:fail2ban:fail2ban:*:*:*:*:*:*:*:*", "vulnerable": true, "matchCriteriaId": "681DE71A-B67E-440C-8E94-BDD104CBEB5B", "versionEndIncluding": "0.9.7" }, { "criteria": "cpe:2.3:a:fail2ban:fail2ban:*:*:*:*:*:*:*:*", "vulnerable": true, "matchCriteriaId": "A9CD67F2-8F79-43DB-9E96-D2184A33D5E4", "versionEndExcluding": "0.10.7", "versionStartIncluding": "0.10.0" }, { "criteria": "cpe:2.3:a:fail2ban:fail2ban:*:*:*:*:*:*:*:*", "vulnerable": true, "matchCriteriaId": "B1807742-38E3-4C0D-9857-2A70D1436681", "versionEndExcluding": "0.11.3", "versionStartIncluding": "0.11.0" } ], "operator": "OR" } ] }, { "nodes": [ { "negate": false, "cpeMatch": [ { "criteria": "cpe:2.3:o:fedoraproject:fedora:34:*:*:*:*:*:*:*", "vulnerable": true, "matchCriteriaId": "A930E247-0B43-43CB-98FF-6CE7B8189835" }, { "criteria": "cpe:2.3:o:fedoraproject:fedora:35:*:*:*:*:*:*:*", "vulnerable": true, "matchCriteriaId": "80E516C0-98A4-4ADE-B69F-66A772E2BAAA" } ], "operator": "OR" } ] } ]