You are seeing similar entries in your update logs at /var/cpanel/updatelogs:
[2021-02-06 04:41:27 -0300] [/usr/local/cpanel/scripts/rpmup] Error in PREIN scriptlet in rpm package msodbcsql17-18.104.22.168-1.x86_64
[2021-02-06 04:41:27 -0300] [/usr/local/cpanel/scripts/rpmup] (XID 23md4k) “/usr/bin/yum” reported error code “1” when it ended:
[2021-02-06 04:41:27 -0300] E [/usr/local/cpanel/scripts/rpmup] The “/usr/local/cpanel/scripts/rpmup” command (process 34990) reported error number 1 when it ended.
When executing the script manually, you will see that rpmup waits for the user to either accept or decline the licence.
--> Running transaction check
---> Package msodbcsql17.x86_64 0:22.214.171.124-1 will be updated
---> Package msodbcsql17.x86_64 0:126.96.36.199-1 will be an update
--> Finished Dependency Resolution
Total download size: 905 k
Delta RPMs disabled because /usr/bin/applydeltarpm not installed.
Running transaction check
Running transaction test
Transaction test succeeded
The license terms for this product can be downloaded from
https://aka.ms/odbc17eula and found in
/usr/share/doc/msodbcsql17/LICENSE.txt . By entering 'YES',
you indicate that you accept the license terms.
Do you accept the license terms? (Enter YES or NO)
Accept or decline the license terms. The next cPanel update should finish seamlessly.