It would be possible to adapt the installer for older versions (5.x to 7.x) by using minimal fixes provided by CloudLinux in a public repository. The CloudLinux public repository offers minimal fixes for versions 5.3 and later to close this vulnerability.