- If somebody has a weapon in an aircraft and is intent on using it, it's unsafe, and there's not a whole lot that can be done. You're all trapped in a sealed pressure vessel, and law enforcement isn't coming until you're on the ground. Your only mitigation strategy is to hope the crew and passengers can fend for themselves.
- If you lose ground-based navigation during landing, it's unsafe, but there are several mitigation strategies. You're not going to land at that moment anymore, but the pilot can abort the landing, switch over to GPS, and fly the missed approach to get back up to altitude. At this point there's time to troubleshoot... They can make an announcement asking passengers to switch off electronics. They could fly an RNAV approach. If the weather's good, they could land visually. Worst case they can fly to a military base and make a ASR approach (I don't think this has ever happened with an airliner).
There's different levels of unsafe. You have to consider what the specific risks of each are.