BreachSpiderVerified, not vibes

CVE-2007-4321 in Fail2Ban

Medium 6.8 Public exploit reported

fail2ban 0.8 and earlier 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 client protocol version identification co...

Affects 1 product from 1 vendor. Facts below cite their sources.

CVSS 2.06.8
EPSS5.7%
EPSS percentile94th
FixUnknown

Remotely exploitable over the network.

Affected products and versions

VendorProductAffected versions
Fail2Ban Fail2Ban 0.8

A product listed here is affected only at the versions shown. Use the free check to test the exact version you run.

Fix and vendor advisory

No official vendor advisory link on record. See the CVE record.

Exploitation

CISA known-exploitedNot in the CISA KEV catalog
Public exploitReported · reference

Official description

fail2ban 0.8 and earlier 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 client protocol version identification containing an IP address string, a different vector than CVE-2006-6302.

Source: NIST NVD / MITRE CVE.

Record details

CVE IDCVE-2007-4321
BreachSpider IDBS-2007-GLOBAL-157844-M
CVSS vectorAV:N/AC:M/Au:N/C:P/I:P/A:P
Published2007-08-14
Last modified2026-06-16
SourceNVD

Analysis AI-written, not human-reviewed

This vulnerability was disclosed in 2007. A medium severity vulnerability affects Fail2Ban systems (CVE-2007-4321). Public exploit code is available. Isolate affected systems if patching is not feasible.

Vulnerability details: fail2ban 0.8 and earlier 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 client protocol version identification containing an IP address string, a different vector than CVE-2006-6302. CVSS vector: AV:N/AC:M/Au:N/C:P/I:P/A:P.

Questions

What is CVE-2007-4321?

This vulnerability was disclosed in 2007. A medium severity vulnerability affects Fail2Ban systems (CVE-2007-4321). Public exploit code is available. Isolate affected systems if patching is not feasible.

What is the CVSS score for CVE-2007-4321?

CVE-2007-4321 has CVSS 6.8 (Medium). Vector: AV:N/AC:M/Au:N/C:P/I:P/A:P. EPSS: 5.7%.

Is CVE-2007-4321 actively exploited?

Public exploit available for CVE-2007-4321. Exploitation risk elevated.

How do I remediate CVE-2007-4321?

Priority: MONITOR.

What systems are affected by CVE-2007-4321?

CVE-2007-4321 affects Fail2Ban Fail2Ban.

For developers and AI agents

Run this check from your own code or agent

REST API

curl -s https://breachspider.com/api/v1/assets/correlate-cves \
 -H "Authorization: Bearer $BREACHSPIDER_API_KEY" \
 -H "Content-Type: application/json" \
 -d '{"assets":[{"asset_id":"dev-1","vendor":"Fail2Ban","product":"Fail2Ban","version":"1.0"}]}'

API reference

Python SDK

pip install breachspider

PyPI · GitHub

MCP for AI agents

# hosted: add as a connector
https://mcp.breachspider.com/mcp
# local
pipx install breachspider-mcp

Setup for Claude, ChatGPT, Cursor

Free trial: 14 days, 750 device checks, no card.

Page facts from NVD, MITRE, CISA and vendor advisories, record last modified 2026-06-16.