The exposure is rarely a flaw in the blockchain client software itself. Instead, it is caused by human error or server misconfiguration:

Keep the majority of your assets in hardware wallets (e.g., Ledger, Trezor), which are not susceptible to file-based vulnerabilities like this one.

Since this was a configuration error rather than a software bug, the "patching" occurred on several levels: