Since clamav bundles unrar, it has been updated to include a fixed version for unrar CVE-2023-40477. Please see: https://blog.clamav.net/2023/08/clamav-120-feature-version-and-111-102.html
Created clamav tracking bugs for this issue: Affects: epel-all [bug 2236126] Affects: fedora-all [bug 2236125]