Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 258866 (CVE-2009-0362) - net-analyzer/fail2ban wuftpd.conf forced auth failure (CVE-2009-0362)
Summary: net-analyzer/fail2ban wuftpd.conf forced auth failure (CVE-2009-0362)
Status: RESOLVED FIXED
Alias: CVE-2009-0362
Product: Gentoo Security
Classification: Unclassified
Component: Vulnerabilities (show other bugs)
Hardware: All Linux
: High minor (vote)
Assignee: Gentoo Security
URL: http://bugs.debian.org/cgi-bin/bugrep...
Whiteboard: B3 [noglsa]
Keywords:
Depends on:
Blocks:
 
Reported: 2009-02-13 17:33 UTC by Robert Buchholz (RETIRED)
Modified: 2009-09-14 22:05 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
fail2ban-CVE-2009-0362.patch-12013.out (fail2ban-CVE-2009-0362.patch-12013.out,37.49 KB, text/plain)
2009-08-24 09:52 UTC, cilly
no flags Details
environment (environment,109.12 KB, text/plain)
2009-08-24 09:55 UTC, cilly
no flags Details
build.log (build.log,1.44 KB, text/plain)
2009-08-24 09:58 UTC, cilly
no flags Details
emerge --info (emergeinfo.txt,4.45 KB, text/plain)
2009-08-24 09:58 UTC, cilly
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Robert Buchholz (RETIRED) gentoo-dev 2009-02-13 17:33:11 UTC
CVE-2009-0362 (http://nvd.nist.gov/nvd.cfm?cvename=CVE-2009-0362):
  filter.d/wuftpd.conf in Fail2ban 0.8.3 uses an incorrect regular
  expression that allows remote attackers to cause a denial of service
  (forced authentication failures) via a crafted reverse-resolved DNS
  name (rhost) entry that contains a substring that is interpreted as
  an IP address, a different vulnerability than CVE-2007-4321.
Comment 1 Robert Buchholz (RETIRED) gentoo-dev 2009-02-13 17:42:27 UTC
Fix:
http://fail2ban.svn.sourceforge.net/viewvc/fail2ban?view=rev&revision=728
Comment 2 Alex Legler (RETIRED) archtester gentoo-dev Security 2009-08-23 21:05:44 UTC
Arches, please test and mark stable:
=net-analyzer/fail2ban-0.8.3-r1
Target keywords : "amd64 hppa x86"
Comment 3 Alex Legler (RETIRED) archtester gentoo-dev Security 2009-08-23 21:06:10 UTC
For the record:
+*fail2ban-0.8.3-r1 (23 Aug 2009)
+
+  23 Aug 2009; Alex Legler <a3li@gentoo.org> -fail2ban-0.8.1.ebuild,
+  -fail2ban-0.8.2.ebuild, -fail2ban-0.8.3.ebuild, +fail2ban-0.8.3-r1.ebuild,
+  +files/fail2ban-CVE-2009-0362.patch:
+  Non-maintainer commit: Revbump to fix security bug 258866. Removing
+  unneeded vulnerable versions.
Comment 4 cilly 2009-08-24 09:52:39 UTC
Created attachment 202135 [details]
fail2ban-CVE-2009-0362.patch-12013.out

/var/tmp/portage/net-analyzer/fail2ban-0.8.3-r1/temp/fail2ban-CVE-2009-0362.patch-12013.out
Comment 5 cilly 2009-08-24 09:54:27 UTC
>>> Unpacking source...
>>> Unpacking fail2ban-0.8.3.tar.bz2 to /var/tmp/portage/net-analyzer/fail2ban-0.8.3-r1/work
 * Applying fail2ban-CVE-2009-0362.patch ...

 * Failed Patch: fail2ban-CVE-2009-0362.patch !
 *  ( /usr/portage/net-analyzer/fail2ban/files/fail2ban-CVE-2009-0362.patch )
 * 
 * Include in your bugreport the contents of:
 * 
 *   /var/tmp/portage/net-analyzer/fail2ban-0.8.3-r1/temp/fail2ban-CVE-2009-0362.patch-12013.out

 * 
 * ERROR: net-analyzer/fail2ban-0.8.3-r1 failed.
 * Call stack:
 *               ebuild.sh, line   49:  Called src_unpack
 *             environment, line 2891:  Called epatch '/usr/portage/net-analyzer/fail2ban/files/fail2ban-CVE-2009-0362.patch'
 *             environment, line 1341:  Called die
 * The specific snippet of code:
 *                   die "Failed Patch: ${patchname}!";
 *  The die message:
 *   Failed Patch: fail2ban-CVE-2009-0362.patch!
 * 
 * If you need support, post the topmost build error, and the call stack if relevant.
 * A complete build log is located at '/var/tmp/portage/net-analyzer/fail2ban-0.8.3-r1/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/net-analyzer/fail2ban-0.8.3-r1/temp/environment'.
 * 

>>> Failed to emerge net-analyzer/fail2ban-0.8.3-r1, Log file:

>>>  '/var/tmp/portage/net-analyzer/fail2ban-0.8.3-r1/temp/build.log'
Comment 6 cilly 2009-08-24 09:55:40 UTC
Created attachment 202137 [details]
environment

/var/tmp/portage/net-analyzer/fail2ban-0.8.3-r1/temp/environment
Comment 7 cilly 2009-08-24 09:58:16 UTC
Created attachment 202138 [details]
build.log

/var/tmp/portage/net-analyzer/fail2ban-0.8.3-r1/temp/build.log
Comment 8 cilly 2009-08-24 09:58:46 UTC
Created attachment 202140 [details]
emerge --info

emerge --info
Comment 9 cilly 2009-08-24 11:02:44 UTC
emerge --sync && re-emerge fixed issue.
Comment 10 Christian Faulhammer (RETIRED) gentoo-dev 2009-08-25 11:49:33 UTC
x86 stable
Comment 11 Jeroen Roovers (RETIRED) gentoo-dev 2009-08-25 12:45:55 UTC
Stable for HPPA.
Comment 12 Alex Legler (RETIRED) archtester gentoo-dev Security 2009-08-26 23:40:57 UTC
amd64 stable. Vulnerable version removed. GLSA voting: no.
Comment 13 Stefan Behte (RETIRED) gentoo-dev Security 2009-09-14 22:05:12 UTC
No, too. Closing.