Afghanistan's disaster management agency says heavy rain and snowfall has triggered flash floods, killing at least 17 people.