We cover 4 trips to Boston. 12 ways to fly in all. The quickest trip is from Jeddah: about 14h 25m–17h 55m. On 3 of the 4 trips the shortest way has no mapped crossing of a warning area.
Addis Ababa to Boston
3 ways · shortest about 16h 15m–19h 45m
Dar es Salaam to Boston
3 ways · shortest about 18h 35m–22h 5m
Jeddah to Boston
3 ways · shortest about 14h 25m–17h 55m
Nairobi to Boston
3 ways · shortest about 17h 40m–21h 10m
Not a safety rating. Your airline decides the path.