CVE-2006-6301

CVE-2006-6301 is a medium-severity vulnerability in Denyhosts with a CVSS 2.0 base score of 5.0. It is not currently listed as actively exploited by CISA, and its EPSS exploit-prediction score is low.

Key facts

Description

DenyHosts 2.5 does not properly parse sshd log files, which allows remote attackers to add arbitrary hosts to the /etc/hosts.deny file and cause a denial of service by adding arbitrary IP addresses to the sshd log file, as demonstrated by logging in via ssh with a login name containing certain strings with an IP address, which is not properly handled by a regular expression.

Frequently asked questions

What is CVE-2006-6301?
DenyHosts 2.5 does not properly parse sshd log files, which allows remote attackers to add arbitrary hosts to the /etc/hosts.deny file and cause a denial of service by adding arbitrary IP addresses to the sshd log file, as demonstrated by logging in via ssh with a login name containing certain strings with an IP address, which is not properly handled by a regular expression.
How severe is CVE-2006-6301?
CVE-2006-6301 has a CVSS 2.0 base score of 5.0, rated medium severity.
Is CVE-2006-6301 being actively exploited?
It is not currently listed in CISA's KEV catalog. Its EPSS exploit-prediction score is 2% (77th percentile), an estimate of the probability of exploitation in the next 30 days.
What products are affected by CVE-2006-6301?
CVE-2006-6301 affects Denyhosts. See the affected-products list for the exact vulnerable versions.
How do I fix CVE-2006-6301?
Review the linked vendor and NVD advisories for patched versions and mitigations, then upgrade or apply the recommended workaround.
When was CVE-2006-6301 published?
CVE-2006-6301 was published on 2006-12-06 and last updated on 2026-06-16.

References

Affected products (1)

More vulnerabilities in Denyhosts

All CVEs affecting Denyhosts →