A magnitude 5.8 earthquake, which occurred at a depth of about 10 kilometers (6 miles), hit Ethiopia on Saturday, according to the US Geological Survey and the German Research Centre for Geosciences.