That is part of the adventure isn't it? :D .........
No, just by planning you your route you can avoid many of these issues - South Egypt and crossing into Sudan can be a challenge, and as Griffdowg note is Somalia (south/Central) no go, Puntland (northeastern Somalia) is Pirat land....so...