- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Gentoo Linux Security Advisory                           GLSA 200701-01
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
                                            http://security.gentoo.org/
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

Severity: Normal
     Title: DenyHosts: Denial of Service
      Date: January 03, 2007
      Bugs: #157163
        ID: 200701-01

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

Synopsis
========

DenyHosts does not correctly parse log entries, potentially causing a
remote Denial of Service.

Background
==========

DenyHosts is designed to monitor SSH servers for repeated failed login
attempts.

Affected packages
=================

-------------------------------------------------------------------
     Package              /  Vulnerable  /                  Unaffected
    -------------------------------------------------------------------
  1  app-admin/denyhosts        < 2.6                           >= 2.6

Description
===========

Tavis Ormandy of the Gentoo Linux Security Audit Team discovered that
DenyHosts used an incomplete regular expression to parse failed login
attempts.

Impact
======

A remote unauthenticated attacker can add arbitrary hosts to the
blacklist by attempting to login with a specially crafted username. An
attacker may use this to prevent legitimate users from accessing a host
remotely.

Workaround
==========

There is no known workaround at this time.

Resolution
==========

All DenyHosts users should upgrade to the latest version:

# emerge --sync
    # emerge --ask --oneshot --verbose ">=app-admin/denyhosts-2.6"

References
==========

[ 1 ] CVE-2006-6301
        http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2006-6301

Availability
============

This GLSA and any updates to it are available for viewing at
the Gentoo Security Website:

http://security.gentoo.org/glsa/glsa-200701-01.xml

Concerns?
=========

Security is a primary focus of Gentoo Linux and ensuring the
confidentiality and security of our users machines is of utmost
importance to us. Any security concerns should be addressed to
security (at) gentoo (dot) org [email concealed] or alternatively, you may file a bug at
http://bugs.gentoo.org.

License
=======

Copyright 2007 Gentoo Foundation, Inc; referenced text
belongs to its owner(s).

The contents of this document are licensed under the
Creative Commons - Attribution / Share Alike license.

http://creativecommons.org/licenses/by-sa/2.5
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)

iQEVAwUBRZv1JDvRww8BFPxFAQI7VAf9Eoq+Mrq+BLIV5dYJzh0QHZlzNdClD3Sw
p3gF/FFeRDU8fRJgM1yUO0RNeHvEtU5E0IjO3t93bT0QsHOn6nYApsRzEzp2DDeh
9wL9um0K1cJzbCZURHoV7S7GKwME1Wo9uPzZD2pgJvVp5ihkTvK/06cOaXPOZ07R
crf2HZzQSeKoMzfRxW8yHvJUZoT9h0qI2knbGM1hIO8TxUoIs+/Jz5SyzMSy22i5
a/HfBNzwN5t08D6wud3hClQf4Hah1RMDhw1ji9rdiZUz2NmrJ54VhgK0DqlqKA1s
h3nEvnaa83O3Ave5NR0atlkeg6hPexDSo0nqplvd8dj1Ul6B1iF+KA==
=4PdI
-----END PGP SIGNATURE-----