Your food is almost certainly fine - the actual cooling hardware keeps doing its job even when the remote management systems get compromised, so this is more about operational headaches for stores than your groceries spoiling in real time.
The vulnerability sits in the networked monitoring side of things. Supermarkets use these systems to track temperature remotely, get alerts if something goes wrong, and manage maintenance schedules across multiple locations. When hackers get in, they're accessing dashboards and control interfaces rather than the refrigeration units themselves. It's like breaking into a building's security camera system versus breaking the locks on the doors - annoying and potentially dangerous, but the doors still work. That said, if someone malicious had sustained access and decided to mess with settings, you could theoretically end up with stores struggling to notice problems quickly, which is where the real risk creeps in.
The practical thing supermarkets need to do is what you've probably heard - patch firmware updates, use stronger authentication, isolate these systems from their main networks. For you as a shopper, the main precaution is just staying alert to what you're buying. If a store seems to have had obvious temperature issues (products thawed and refrozen, frost buildup looking weird), mention it to staff. This kind of hack doesn't usually cause immediate visible damage, but if a store was sloppy about security before, they might be sloppy about other things too. I've noticed a few times buying meat that something felt off with the packaging or temperature, and honestly I've learned to trust that instinct and just swap it out rather than second-guess myself.