fail2ban fail2ban 对生成代码的控制不恰当(代码注入)

admin 2023-12-01 13:34:36 Ali_nvd 来源:ZONE.CI 全球网 0 阅读模式
低危 fail2ban fail2ban 对生成代码的控制不恰当(代码注入)

CVE编号

CVE-2021-32749

利用情况

暂无

补丁情况

官方补丁

披露时间

2021-07-17
漏洞描述
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.
解决建议
建议您更新当前系统或软件至最新版,完成漏洞的修复。
参考链接
https://github.com/fail2ban/fail2ban/commit/2ed414ed09b3bb4c478abc9366a1ff22024a33c9
https://github.com/fail2ban/fail2ban/commit/410a6ce5c80dd981c22752da034f2529b5eee844
https://github.com/fail2ban/fail2ban/security/advisories/GHSA-m985-3f3v-cwmm
https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedora...
https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedora...
https://security.gentoo.org/glsa/202310-13
受影响软件情况
# 类型 厂商 产品 版本 影响面
1
运行在以下环境
应用 fail2ban fail2ban * Up to (including) 0.9.7
运行在以下环境
应用 fail2ban fail2ban * From (including) 0.10.0 Up to (excluding) 0.10.7
运行在以下环境
应用 fail2ban fail2ban * From (including) 0.11.0 Up to (excluding) 0.11.3
运行在以下环境
系统 alpine_3.15 fail2ban * Up to (excluding) 0.11.2-r1
运行在以下环境
系统 alpine_3.16 fail2ban * Up to (excluding) 0.11.2-r2
运行在以下环境
系统 alpine_3.17 fail2ban * Up to (excluding) 0.11.2-r2
运行在以下环境
系统 alpine_3.18 fail2ban * Up to (excluding) 0.11.2-r2
运行在以下环境
系统 alpine_edge fail2ban * Up to (excluding) 0.11.2-r2
运行在以下环境
系统 debian_10 fail2ban * Up to (including) 0.10.2-2.1
运行在以下环境
系统 debian_11 fail2ban * Up to (excluding) 0.11.2-2
运行在以下环境
系统 debian_12 fail2ban * Up to (excluding) 0.11.2-2
运行在以下环境
系统 debian_9 fail2ban * Up to (including) 0.9.6-2
运行在以下环境
系统 debian_sid fail2ban * Up to (excluding) 0.11.2-2
运行在以下环境
系统 fedora_34 fail2ban-shorewall-lite * Up to (excluding) 0.11.2-9.fc34
运行在以下环境
系统 fedora_35 fail2ban-shorewall-lite * Up to (excluding) 0.11.2-9.fc35
运行在以下环境
系统 fedora_EPEL_7 fail2ban-all * Up to (excluding) 0.11.2-3.el7
运行在以下环境
系统 opensuse_Leap_15.2 fail2ban * Up to (excluding) 0.11.2-bp153.2.3.1
运行在以下环境
系统 opensuse_Leap_15.3 fail2ban * Up to (excluding) 0.11.2-bp153.2.3.1
阿里云评分 3.4
  • 攻击路径 远程
  • 攻击复杂度 容易
  • 权限要求 无需权限
  • 影响范围 有限影响
  • EXP成熟度 未验证
  • 补丁情况 官方补丁
  • 数据保密性 无影响
  • 数据完整性 无影响
  • 服务器危害 无影响
  • 全网数量 N/A
CWE-ID 漏洞类型
CWE-78 OS命令中使用的特殊元素转义处理不恰当(OS命令注入)
CWE-94 对生成代码的控制不恰当(代码注入)
- avd.aliyun.com
weinxin
版权声明
本站原创文章转载请注明文章出处及链接,谢谢合作!
N/A Ali_nvd

N/A

N/ACVE编号 CVE-2024-9120利用情况 暂无补丁情况 N/A披露时间 2024-09-23漏洞描述Use after free in Dawn
评论:0   参与:  0