A remote code execution vulnerability exists in Microsoft SQL Server when it incorrectly handles processing of internal functions, aka 'Microsoft SQL Server Remote Code Execution Vulnerability'.
https://securelist.com/mallox-ransomware/113529/
https://portal.msrc.microsoft.com/en-US/security-guidance/advisory/CVE-2019-1068