At that stage, North Korea had reverse-engineered Soviet Scud B short-range ballistic missiles, which North Korea supplied along with submarines and guns to Iran during the 1980-1988 Iran-Iraq War.
FORBES: North Korea's Middle East Webs and Nuclear Wares