Here is my understanding of the issue:
Queries regarding ikev1 vulnerability
This vulnerability has no workarounds
You can configure specific access-list entries to allow the interesting traffic and then deny the rest of the traffic as explained in the below link: