Borrowed from Russian авария (avarija), itself from Italian avaria, from Arabic عَوَارِيَّة (ʕawāriyya, “damaged goods”), from عَوَار (ʕawār, “fault, blemish, defect, flaw”), from عَوِرَ (ʕawira, “to lose an eye”).
avarii