Says who exactly? Ukraine’s democracy is by no means perfect, but it’s not an autocracy.
https://en.wikipedia.org/wiki/The_Economist_Democracy_Index places Ukraine much higher on the list than Iraq or Vietnam. Couldn’t find Kosovo there.