3 ms·
PSA: A RPi running Pi-hole is not a fire-and-forget item. The networked software on it, including pi-hole, sometimes has security holes discovered and exploited
by fulafel 7y ago
PSA: A RPi running Pi-hole is not a fire-and-forget item. The networked software on it, including pi-hole, sometimes has security holes discovered and exploited, and has to be kept up to date. See eg https://natedotred.wordpress.com/2020/03/28/cve-2020-8816-pi-hole-remote-code-execution/ https://natedotred.wordpress.com/2020/03/28/cve-2020-8816-pi... & https://www.reddit.com/r/pihole/comments/73tvdq/cve201714491_dnsmasq_vulnerability_and_pihole/ https://www.reddit.com/r/pihole/comments/73tvdq/cve201714491... & https://www.cvedetails.com/vulnerability-list.php?vendor_id=8351&product_id=14557&version_id=0&page=1&hasexp=0&opdos=0&opec=0&opov=0&opcsrf=0&opgpriv=0&opsqli=0&opxss=0&opdirt=0&opmemc=0&ophttprs=0&opbyp=0&opfileinc=0&opginf=0&cvssscoremin=0&cvssscoremax=0&year=0&cweid=0&order=1&trc=16&sha=c1974d4b960eaac58e9ed44d9ad3a1136cbe3411 https://www.cvedetails.com/vulnerability-list.php?vendor_id=... (afaik Pi-hole is built on dnsmasq)
- Doxin 7y agoSetting up automatic updates is probably a good idea.
- willyyr 7y agoCan you recommend a good way to make sure the Pi and Pi-hole are always up to date? I imagine a simple cron with pihole -up is not sufficient?
- marsokod 7y agoThe default way would be to install the package unattendedupgrade which will install security updates on your system every day. Depending on how pihole is installed, this may not upgrade it. I personally have it installed with docker and uses watchtower for updates, but the risk with this mechanism is that it can break things.
- apexalpha 7y agoI've set a cron job on the raspberry pi at my parents' house. It's a debian based system with only PiHole running so I just pihole -up and apt update && upgrade every month or so.
- leonroy 7y agoI run this on a cron to auto update PiHole: #!/bin/sh LOG_FILE=/var/log/update_pihole.log echo "Starting upate" >> $LOG_FILE date >> $LOG_FILE pihole -up >> $LOG_FILE pihole -g >> $LOG_FILE exit 0
- politelemon 7y agoI've been using: https://www.reddit.com/r/pihole/comments/bgzvem/how_to_health_checks_for_your_pihole/ https://www.reddit.com/r/pihole/comments/bgzvem/how_to_healt... for upgrading + healthchecks However note that the developers of PiHole do not recommend automated upgrades, or at least be aware of the implications
- b1476 7y agoI don’t see the issue with this? Anyone who’s able to install Pihole in the first place will be more than capable of keeping the system up to date. I’d generally trust the underlying software and the maintainers to address security issues in a timely manner, security vulnerabilities on home routers on the other hand...
- seqastian 7y agoInstalling PiHole is copy pasting a shell script. Raspi is introducing a lot of new users to the linux community.