...
Upgrade your vulnerable CUPS package to a supported stable release as provided by your distribution and restart the cups or cups-browsed service as soon as possible.
...
If CUPS cannot be updated, please uninstall the packages ... /disable the packages
For most distributions you can disabled the affected services with
sudo systemctl stop cups-browsed
sudo systemctl stop cups
sudo systemctl disable cups-browsed
sudo systemctl disable cups
In some Ubuntu instances cups may have been installed through snapd so you may need to run the following instead.
sudo systemctl stop snap.cups.cupsd.service
sudo systemctl stop snap.cups.cups-browsed.service
sudo systemctl disable snap.cups.cupsd.service
sudo systemctl disable snap.cups.cups-browsed.service