This CVE has nothing to do with leaving random ports open. "Tightening up" will not protect vulnerable servers.