It is a reasonable instinct: if only the VPN reaches the SSH listener, exposure is small and the problem is handled. Exposure does not equal integrity, though. The first half is true and the second does not follow. Reachability controls who may attempt a connection; software integrity controls what the listener will do when it gets one. A gate narrows the audience and says nothing about the code behind it.

A private port is a smaller door, not a different lock, and the distinction decides what you check next.

Two Controls, Two Questions

A network restriction reduces exposure. It leaves admitted users, and any compromised approved client, able to reach the affected service. Correcting the package restores the software, and it does not narrow an overbroad network grant either. Each control does its own job, and each can be correct while the other is missing. Reviewing them together is how a team convinces itself that one covers both, which is the specific mistake this piece is about.

The VPN endpoint is software too, and it carries the same obligation. Adding it to the path introduces its own maintenance obligation, and it does not remove the supply-chain responsibility for anything behind it.

What the XZ Disclosure Actually Demonstrated

The March 2024 XZ/liblzma disclosure described a backdoor that could lead to SSH server compromise under affected conditions. It was a software-integrity problem as much as an exposure problem, and it was not evidence that every Linux installation carried the vulnerable build. Scope comes from the affected versions and the distributions that shipped them, not from the operating-system family name.

That distinction is the difference between an incident response and a rumour, and it is worth being pedantic about.

Closing the Port Is Not Recovery

If compromise may already have happened, changing reachability is not recovery. A backdoor that executed has already had its opportunity; a firewall rule does not travel backwards in time. Follow the approved incident process for the host and for any exposed credentials, and keep the evidence needed to establish what actually executed. Rebuilding from known-good media is usually part of that conversation.

Use the distribution's current verified advisory and remediation process as well, and read the affected-versions list rather than the headline. Copying a historical downgrade command into an unrelated environment is how a fix becomes a new exposure.

Review Both, Separately

Ask the two questions in their own terms. Who can reach the listener, and is that audience exactly the one the service is meant for? What version of the software is installed, who signed the artefact, and how does the organisation find out about a bad release before reading it in the news? The answers belong in different documents with different owners, and neither owner can answer for the other.

For a managed fleet, a software inventory is the control that makes the second question answerable at all. Without it, each disclosure becomes an archaeology project with a deadline attached.

A gate narrows the audience. Integrity decides whether the audience matters.

អត្ថបទពាក់ព័ន្ធ