The strong earthquake struck about 17 miles east of Jalalabad, near the border with Pakistan, according to the U.S. Geological Survey.