InfraGuard

Port 3306 (MySQL / MariaDB) — exposure risk

Exposing this to the internet is an immediate, severe risk — a direct path to data theft or remote takeover.

CriticalDatastore

What it is

Ports where databases (MySQL, PostgreSQL, MongoDB, Oracle …) accept direct connections.

Why it is risky

A DB port open to the internet invites credential brute-force and known-CVE exploitation that can exfiltrate an entire dataset — the shortest path to a breach or ransom.

What to do

Allow access only from app servers / internal networks (private ranges or VPN); close it on public interfaces.

Is it listening on your server?

Linuxss -ltnp 'sport = :3306'

Known vulnerabilities in MySQL / MariaDB

CVE Title CVSS Exploited EPSS Published
CVE-2004-0627 The check_scramble_323 function in MySQL 4.1.x before 4.1.3, and 5.0, allows remote attackers to bypass authen... 10.0 — 2004-07-08
CVE-2004-0628 Stack-based buffer overflow in MySQL 4.1.x before 4.1.3, and 5.0, allows remote attackers to cause a denial of... 10.0 — 2004-07-08
CVE-2003-0780 Buffer overflow in get_salt_from_password from sql_acl.cc for MySQL 4.0.14 and earlier, and 3.23.x, allows att... 9.0 — 2003-09-12
CVE-2009-2446 Multiple format string vulnerabilities in the dispatch_command function in libmysqld/sql_parse.cc in mysqld in... 8.5 — 2009-07-14

All MySQL vulnerabilities →

Track these versions on your own servers

InfraGuard collects installed software versions from every server and flags the ones with known vulnerabilities. Self-hosted — nothing leaves your network.

Weekly exploited-vulnerability digest

The KEV additions that matter for self-hosted servers, once a week. No other mail.