Hacker News story: Latest Debian 12 update opens MariaDB server to the internet

Latest Debian 12 update opens MariaDB server to the internet
I have a couple servers with Debian 12, running MariaDB. The servers were configured with bind-address 127.0.0.1:3306 so that any database connections are local. I upgraded to Debian 12.15 today, rebooted and checked open ports just to see if all services are running. To my surprise, MariaDB is no longer listening on 127.0.0.1:3306, but we have "init" listening on :::3306. It looks like default config has changed to use Systemd sockets. Which I guess is fine, but silently making your database server accessible to the whole Internet doesn't sound like a good idea. So, just PSA, if you rely on bind-address only, make sure you reconfigure the mariadb.socket settings. 0 comments on Hacker News.
I have a couple servers with Debian 12, running MariaDB. The servers were configured with bind-address 127.0.0.1:3306 so that any database connections are local. I upgraded to Debian 12.15 today, rebooted and checked open ports just to see if all services are running. To my surprise, MariaDB is no longer listening on 127.0.0.1:3306, but we have "init" listening on :::3306. It looks like default config has changed to use Systemd sockets. Which I guess is fine, but silently making your database server accessible to the whole Internet doesn't sound like a good idea. So, just PSA, if you rely on bind-address only, make sure you reconfigure the mariadb.socket settings.

Hacker News story: Latest Debian 12 update opens MariaDB server to the internet Hacker News story: Latest Debian 12 update opens MariaDB server to the internet Reviewed by Tha Kur on July 12, 2026 Rating: 5

No comments:

Powered by Blogger.