Configure the Point and Print Restrictions Group Policy setting, as follows:
Computer Configuration > Administrative Templates > Printers
(Optional): Override all Point and Print Restrictions Group Policy settings and ensure that only administrators can install printer drivers by changing the registry settings on all hosts as follows:
Registry location: HKEY_LOCAL_MACHINE\Software\Policies\Microsoft\Windows NT\Printers\PointAndPrint
DWord name: RestrictDriverInstallationToAdministrators
Value data: 1
Validate Registry and/or Group Policy settings from options 1, and 2 above are properly deployed.
More information can be found at the links below:
https://msrc.microsoft.com/update-guide/vulnerability/CVE-2021-34527