CVE-2012-5642
CVE-2012-5642 is a high-severity vulnerability in Fail2ban with a CVSS 2.0 base score of 7.5. It is not currently listed as actively exploited by CISA, and its EPSS exploit-prediction score is low.
Key facts
- Severity: High (CVSS 2.0 base score 7.5)
- EPSS exploit prediction: 3% (86th percentile)
- Actively exploited: Not listed in CISA KEV
- Affected product: Fail2ban
- Published:
- Last modified:
Description
server/action.py in Fail2ban before 0.8.8 does not properly handle the content of the matches tag, which might allow remote attackers to trigger unsafe behavior in a custom action file via unspecified symbols in this content.
Frequently asked questions
- What is CVE-2012-5642?
- server/action.py in Fail2ban before 0.8.8 does not properly handle the content of the matches tag, which might allow remote attackers to trigger unsafe behavior in a custom action file via unspecified symbols in this content.
- How severe is CVE-2012-5642?
- CVE-2012-5642 has a CVSS 2.0 base score of 7.5, rated high severity.
- Is CVE-2012-5642 being actively exploited?
- It is not currently listed in CISA's KEV catalog. Its EPSS exploit-prediction score is 3% (86th percentile), an estimate of the probability of exploitation in the next 30 days.
- What products are affected by CVE-2012-5642?
- CVE-2012-5642 primarily affects Fail2ban. In total, 34 product configurations (CPEs) are listed as vulnerable; see the affected-products list for the exact versions.
- How do I fix CVE-2012-5642?
- Review the linked vendor and NVD advisories for patched versions and mitigations, then upgrade or apply the recommended workaround. Given its high severity, prioritise patching exposed systems.
- When was CVE-2012-5642 published?
- CVE-2012-5642 was published on 2012-12-31 and last updated on 2026-06-16.
References
- http://lists.opensuse.org/opensuse-updates/2013-04/msg00001.html
- http://lists.opensuse.org/opensuse-updates/2013-04/msg00002.html
- http://sourceforge.net/mailarchive/message.php?msg_id=30193056
- http://www.mandriva.com/security/advisories?name=MDVSA-2013:078
- http://www.openwall.com/lists/oss-security/2012/12/17/2
- https://bugs.gentoo.org/show_bug.cgi?id=447572
- https://bugzilla.redhat.com/show_bug.cgi?id=887914
- https://github.com/fail2ban/fail2ban/commit/83109bc
- https://raw.github.com/fail2ban/fail2ban/master/ChangeLog
Affected products (34)
- cpe:2.3:a:fail2ban:fail2ban:*:*:*:*:*:*:*:*
- cpe:2.3:a:fail2ban:fail2ban:0.1.0:*:*:*:*:*:*:*
- cpe:2.3:a:fail2ban:fail2ban:0.1.1:*:*:*:*:*:*:*
- cpe:2.3:a:fail2ban:fail2ban:0.1.2:*:*:*:*:*:*:*
- cpe:2.3:a:fail2ban:fail2ban:0.3.0:*:*:*:*:*:*:*
- cpe:2.3:a:fail2ban:fail2ban:0.3.1:*:*:*:*:*:*:*
- cpe:2.3:a:fail2ban:fail2ban:0.4.0:*:*:*:*:*:*:*
- cpe:2.3:a:fail2ban:fail2ban:0.4.1:*:*:*:*:*:*:*
- cpe:2.3:a:fail2ban:fail2ban:0.5.0:*:*:*:*:*:*:*
- cpe:2.3:a:fail2ban:fail2ban:0.5.1:*:*:*:*:*:*:*
- cpe:2.3:a:fail2ban:fail2ban:0.5.2:*:*:*:*:*:*:*
- cpe:2.3:a:fail2ban:fail2ban:0.5.3:*:*:*:*:*:*:*
- cpe:2.3:a:fail2ban:fail2ban:0.5.4:*:*:*:*:*:*:*
- cpe:2.3:a:fail2ban:fail2ban:0.5.5:*:*:*:*:*:*:*
- cpe:2.3:a:fail2ban:fail2ban:0.6.0:*:*:*:*:*:*:*
- cpe:2.3:a:fail2ban:fail2ban:0.6.1:*:*:*:*:*:*:*
- cpe:2.3:a:fail2ban:fail2ban:0.7.0:*:*:*:*:*:*:*
- cpe:2.3:a:fail2ban:fail2ban:0.7.1:*:*:*:*:*:*:*
- cpe:2.3:a:fail2ban:fail2ban:0.7.2:*:*:*:*:*:*:*
- cpe:2.3:a:fail2ban:fail2ban:0.7.3:*:*:*:*:*:*:*
- cpe:2.3:a:fail2ban:fail2ban:0.7.4:*:*:*:*:*:*:*
- cpe:2.3:a:fail2ban:fail2ban:0.7.5:*:*:*:*:*:*:*
- cpe:2.3:a:fail2ban:fail2ban:0.7.6:*:*:*:*:*:*:*
- cpe:2.3:a:fail2ban:fail2ban:0.7.7:*:*:*:*:*:*:*
- cpe:2.3:a:fail2ban:fail2ban:0.7.8:*:*:*:*:*:*:*
- cpe:2.3:a:fail2ban:fail2ban:0.7.9:*:*:*:*:*:*:*
- cpe:2.3:a:fail2ban:fail2ban:0.8.0:*:*:*:*:*:*:*
- cpe:2.3:a:fail2ban:fail2ban:0.8.1:*:*:*:*:*:*:*
- cpe:2.3:a:fail2ban:fail2ban:0.8.2:*:*:*:*:*:*:*
- cpe:2.3:a:fail2ban:fail2ban:0.8.3:*:*:*:*:*:*:*
- cpe:2.3:a:fail2ban:fail2ban:0.8.4:*:*:*:*:*:*:*
- cpe:2.3:a:fail2ban:fail2ban:0.8.5:*:*:*:*:*:*:*
- cpe:2.3:a:fail2ban:fail2ban:0.8.6:*:*:*:*:*:*:*
- cpe:2.3:a:fail2ban:fail2ban:0.8.7:*:*:*:*:*:*:*
More vulnerabilities in Fail2ban
- CVE-2007-4321 — Medium (CVSS 6.8): fail2ban 0.8 and earlier does not properly parse sshd log files, which allows remote attackers to add arbitrary hosts…
- CVE-2021-32749 — Medium (CVSS 6.1): fail2ban is a daemon to ban hosts that cause multiple authentication errors. In versions 0.9.7 and prior, 0.10.0…
- CVE-2013-7177 — Medium (CVSS 5.0): config/filter.d/cyrus-imap.conf in the cyrus-imap filter in Fail2ban before 0.8.11 allows remote attackers to trigger…
- CVE-2013-7176 — Medium (CVSS 5.0): config/filter.d/postfix.conf in the postfix filter in Fail2ban before 0.8.11 allows remote attackers to trigger the…
- CVE-2013-2178 — Medium (CVSS 5.0): The apache-auth.conf, apache-nohome.conf, apache-noscript.conf, and apache-overflows.conf files in Fail2ban before…
- CVE-2006-6302 — Medium (CVSS 5.0): fail2ban 0.7.4 and earlier does not properly parse sshd log files, which allows remote attackers to add arbitrary hosts…