Update Unifi to 6.5.55 to cover both CVEs. It’s up to the individual app vendor to update their version of Log4j, this is not the same thing as the Java we install. You’ll need to do research and see if you can find any post about this particular LOB software. If you can’t, you may need to reach out to them. Many have reached out to their customers letting them know the status or if there is an update. There are two scripts that were released, you can run the remediation script that will band-aid it until the vendor releases an update.
I just finished a bash script for my unifi server that whitelists only the client sites by IP/CIDR/DDNS. It was time to stop leaving it open to the world. I can post the script if anyone needs it.