CVE-2012-5642

Summary

CVECVE-2012-5642
StatePUBLISHED
Assignerredhat
Source PriorityCVE Program / NVD first with legacy fallback
Published2012-12-31 11:50:27 UTC
Updated2026-04-29 01:13:23 UTC
Descriptionserver/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.

Risk And Classification

Primary CVSS: v2.0 7.5 from [email protected]

AV:N/AC:L/Au:N/C:P/I:P/A:P

Problem Types: NVD-CWE-noinfo | n/a

CVSS v2.0 Breakdown

Access Vector
Network
Access Complexity
Low
Authentication
None
Confidentiality
Partial
Integrity
Partial
Availability
Partial

AV:N/AC:L/Au:N/C:P/I:P/A:P

NVD Known Affected Configurations (CPE 2.3)

TypeVendorProductVersionUpdateEditionLanguage
Application Fail2ban Fail2ban 0.1.0 All All All
Application Fail2ban Fail2ban 0.1.1 All All All
Application Fail2ban Fail2ban 0.1.2 All All All
Application Fail2ban Fail2ban 0.3.0 All All All
Application Fail2ban Fail2ban 0.3.1 All All All
Application Fail2ban Fail2ban 0.4.0 All All All
Application Fail2ban Fail2ban 0.4.1 All All All
Application Fail2ban Fail2ban 0.5.0 All All All
Application Fail2ban Fail2ban 0.5.1 All All All
Application Fail2ban Fail2ban 0.5.2 All All All
Application Fail2ban Fail2ban 0.5.3 All All All
Application Fail2ban Fail2ban 0.5.4 All All All
Application Fail2ban Fail2ban 0.5.5 All All All
Application Fail2ban Fail2ban 0.6.0 All All All
Application Fail2ban Fail2ban 0.6.1 All All All
Application Fail2ban Fail2ban 0.7.0 All All All
Application Fail2ban Fail2ban 0.7.1 All All All
Application Fail2ban Fail2ban 0.7.2 All All All
Application Fail2ban Fail2ban 0.7.3 All All All
Application Fail2ban Fail2ban 0.7.4 All All All
Application Fail2ban Fail2ban 0.7.5 All All All
Application Fail2ban Fail2ban 0.7.6 All All All
Application Fail2ban Fail2ban 0.7.7 All All All
Application Fail2ban Fail2ban 0.7.8 All All All
Application Fail2ban Fail2ban 0.7.9 All All All
Application Fail2ban Fail2ban 0.8.0 All All All
Application Fail2ban Fail2ban 0.8.1 All All All
Application Fail2ban Fail2ban 0.8.2 All All All
Application Fail2ban Fail2ban 0.8.3 All All All
Application Fail2ban Fail2ban 0.8.4 All All All
Application Fail2ban Fail2ban 0.8.5 All All All
Application Fail2ban Fail2ban 0.8.6 All All All
Application Fail2ban Fail2ban 0.8.7 All All All
Application Fail2ban Fail2ban All All All All

Vendor Declared Affected Products

SourceVendorProductVersionPlatforms
CNA Na N/a affected n/a Not specified

References

ReferenceSourceLinkTags
Support / Security / Advisories / / MDVSA-2013:078 | Mandriva af854a3a-2127-422b-91ae-364da2661108 www.mandriva.com
BF: escape the content of <matches> since its value could contain arb… · fail2ban/fail2ban@83109bc · GitHub af854a3a-2127-422b-91ae-364da2661108 github.com Patch, Vendor Advisory
openSUSE-SU-2013:0566-1: fail2ban: fixed a startup and security issue af854a3a-2127-422b-91ae-364da2661108 lists.opensuse.org
447572 – (CVE-2012-5642) <net-analyzer/fail2ban-0.8.8: input variable quoting vulnerability (CVE-2012-5642) af854a3a-2127-422b-91ae-364da2661108 bugs.gentoo.org
openSUSE-SU-2013:0567-1: fail2ban: fixed a startup and security issue af854a3a-2127-422b-91ae-364da2661108 lists.opensuse.org
raw.github.com/fail2ban/fail2ban/master/ChangeLog af854a3a-2127-422b-91ae-364da2661108 raw.github.com
oss-security - Re: CVE request: fail2ban 0.8.8 fixes an input variable quoting flaw on <matches> content af854a3a-2127-422b-91ae-364da2661108 www.openwall.com
Fail2Ban / Mailing Lists af854a3a-2127-422b-91ae-364da2661108 sourceforge.net
887914 – (CVE-2012-5642) CVE-2012-5642 fail2ban: does not escape the content of <matches> af854a3a-2127-422b-91ae-364da2661108 bugzilla.redhat.com
CVE Program record CVE.ORG www.cve.org canonical
NVD vulnerability detail NVD nvd.nist.gov canonical, analysis

© CVE.report 2026

Use of this information constitutes acceptance for use in an AS IS condition. There are NO warranties, implied or otherwise, with regard to this information or its use. Any use of this information is at the user's risk. It is the responsibility of user to evaluate the accuracy, completeness or usefulness of any information, opinion, advice or other content. EACH USER WILL BE SOLELY RESPONSIBLE FOR ANY consequences of his or her direct or indirect use of this web site. ALL WARRANTIES OF ANY KIND ARE EXPRESSLY DISCLAIMED. This site will NOT BE LIABLE FOR ANY DIRECT, INDIRECT or any other kind of loss.

CVE, CWE, and OVAL are registred trademarks of The MITRE Corporation and the authoritative source of CVE content is MITRE's CVE web site. This site includes MITRE data granted under the following license.

Free CVE JSON API cve.report/api

CVE.report and Source URL Uptime Status status.cve.report