Collective awareness for abnormality detection in connected autonomous vehicles