Skip to content

Security: eripa/rustmine

SECURITY.md

Security policy

Supported versions

rustmine is pre-1.0 and untagged. There are no maintained back-branches; main is the only branch, and the only one a report can be about.

Reporting a vulnerability

Please do not open a public issue, draft PR, or discussion for a security problem.

  • Preferred: GitHub's private vulnerability reporting on this repository (Security → Report a vulnerability).
  • Email: github-comms@ripa.io, with rustmine security in the subject.

Include the version (rustmine --version or the image tag), the config you ran with (redact network IDs and socket paths if they matter), a minimal reproduction, and the impact you believe it has. If you have a suggested fix, say so — a patch or a failing test is the most useful thing you can attach.

rustmine is a spare-time project released under the Unlicense, with no warranty and no support commitment. Reports are read on a best-effort basis; no response time, fix or timeline is promised. If a fix ships, credit goes in the release notes unless you ask otherwise.

Attack surface worth knowing

rustmine sits on a trusted LAN and hands out signaling routes, so these are the parts that matter:

  • The UDP 7551 parsers (src/nethernet/) consume unencrypted datagrams from anyone on the LAN. They are safe Rust with no unsafe blocks (#![forbid(unsafe_code)]), so the interesting failures are panics, hangs, or unbounded allocation from a malformed packet — a denial of service against a router that is supposed to keep answering.
  • The Docker provider reads /var/run/docker.sock, which is root-equivalent on the host. It is meant to be mounted read-only; a way to make it write through the engine API, or to escape the read-only mount's intent, is in scope.
  • The status listener (status_listen, 127.0.0.1:9101 by default) serves /status, /metrics, /healthz and /readyz with no authentication. Exposing it beyond loopback exposes backend addresses and network IDs; that is documented, not a vulnerability by itself.
  • Network IDs are shared secrets in practice. Anyone who learns one can address that world's signaling. Logs and /status are written with that in mind; a path that leaks one to an unprivileged party is in scope.

Out of scope

  • Gameplay traffic: clients connect to the world directly and rustmine is not on that path.
  • Vulnerabilities in Bedrock Dedicated Server, the NetherNet protocol design, or the itzg/minecraft-bedrock-server image — report those upstream.
  • Anything that requires an attacker to already have local root, or control of the Docker daemon, on the router's host.
  • Denial of service from raw volume that a LAN peer could trivially produce regardless (flooding UDP 7551 with garbage is a dropped packet, not a bug).

There aren't any published security advisories