Actually they have the same meaning,
but in linguistics "缺少‘’ usually modify countable things (eg. human - 人,money - 钱,machine - 机器……).
And "缺乏" modify abstract or actions (eg.Confidence - 自信, courage - 勇气 )
ps:
the countable things i meant is in Chinese not in English.