kuuhana
  • Communities
  • Multi-communities
  • Support Lemmy
  • Search
  • Login
  • Sign Up
Selfhosted@lemmy.worldbyBlackEco@lemmy.blackeco.com
2 years

PSA: update your DNS resolvers (PiHole, unbound, Bind9, dsnmasq) to patch DNSSEC vulnerability

English

Researchers recently found a vulnerability in the way DNS resolvers handle DNSSEC validation that allow attackers to DoS resolvers with a single DNS request

https://www.theregister.com/2024/02/13/dnssec_vulnerability_internet/

It is highly recommended to upgrade your resolvers to the following versions:

  • unbound: 1.91.1
  • PiHole: FTL 5.25 or Docker 2024.02.0
  • Bind9: 9.19.17
  • dnsmasq: 2.90
  • and probably any other resolver you use
20
    You must log in or register to comment.

    • just another dev@lemmy.my-box.devEnglish
      2 years

      Wouldn’t the attacker have to be on the same network as the resolver for this to work? Or could it be triggered by a “dirty hostname”? Because in the former case, most home networks would not be at much risk.

        • BlackEco@lemmy.blackeco.comEnglish
          2 years

          It’s the latter. Unless you run your own DNS resolver, most people are safe

        • kindenough@kbin.social
          2 years

          Thanks for the heads -up.

          • Nunya@lemdro.idEnglish
            2 years

            Sorry if this is a basic question. So if I have a pihole, do I just need to update the Raspberry Pi software, along with updating pihole software to resolve the insecurities? Or do I need to change the DNS settings of the pihole?

              • BlackEco@lemmy.blackeco.comEnglish
                2 years

                If you use a third-party’s DNS server (such as Cloudflare, Quad9 or Google) as your upstream DNS server, you only have to update PiHole.

                If you have set up your own upstream DNS server using a DNS resolver like unbound or Bind9, update it as well as your PiHole.

                  • Nunya@lemdro.idEnglish
                    2 years

                    Makes sense, thanks for the response.

                  • EpicVision@monero.townEnglish
                    2 years

                    You need to update Pihole

                  • Fedegenerate@lemmynsfw.comEnglish
                    2 years

                    My unbound is on v1.13.1 (Raspbian) after update/upgrade. I’ve read it lags behind the main release by alot, should I trust the process that everything is fine.

                      • 9tr6gyp3@lemmy.worldEnglish
                        2 years

                        Its up to your distros package maintainer to make the patched version available. You can find who maintains it and contact them so they are aware.

                          • ARNiM@lemmy.worldEnglish
                            2 years

                            Debian usually backports security fixes to older versions, so you may wanna check to Debian if they have an updated version of the package with the security fix.

                            This can be done by taking the CVE number related to this vulnerability and look at the package changelog.

                            • Fedegenerate@lemmynsfw.comEnglish
                              2 years

                              Cheers

                            • Chaotic Entropy@feddit.ukEnglish
                              2 years

                              I’m on DietPi 9 and the latest version for Debian 12 is 1.17.1, sadly. Though I do see 1.19.1 is in testing as of today, according to Debian’s package tracker site. Probably not worth trying to install an unstable version of it.

                                • Rooki@lemmy.worldEnglish
                                  2 years

                                  I installed it now, it is working fine with my pihole. It wasnt that much of a hussle but a bit of googling.

                              • TCB13@lemmy.worldEnglish
                                2 years

                                What’s the status of SmartDNS (that is used by OpenWRT and DD-WRT) on this? Anyone knows anything?

                                  • BlackEco@lemmy.blackeco.comEnglish
                                    2 years

                                    I struggle to find if it uses DNSSEC or even a change log. If it does, contact the maintainer and disable DNSSEC (if you can) until a fix is released.

                                  • muntedcrocodile@lemmy.worldEnglish
                                    2 years

                                    What about on mobile? Those of us who use dns filtering on mobile.

                                      • BlackEco@lemmy.blackeco.comEnglish
                                        2 years

                                        I’m not familiar with off-the-shelf DNS filtering on mobile, but since running a DNS resolver on-device would be impractical, I think they must be using a DNS server that they maintain. Which means that unless I’m wrong, the vulnerability lies on their end, you should be fine.

                                          • muntedcrocodile@lemmy.worldEnglish
                                            2 years

                                            I been using rethink dns but ik their are other for android at least. Works by making a local vpn magic.

                                              • BlackEco@lemmy.blackeco.comEnglish
                                                2 years

                                                They maintain their own resolver, so they have to patch it if not done already.

                                          • ratzki@discuss.tchncs.deEnglish
                                            2 years

                                            Not sure why, but on Synology with docker, the pihole:latest releases are usually a mess and restoring settings and client lists does not work. Unfortunately, only “latest -2” seems to work most of the time.

                                            ¯\_(ツ)_/¯

                                            Selfhosted@lemmy.world

                                            selfhosted@lemmy.world

                                            Subscribe from remote instance

                                            Create post

                                            Report community

                                            Modlog
                                            You are not logged in. However you can subscribe from another Fediverse account, for example Lemmy or Mastodon. To do this, paste the following into the search field of your instance: !selfhosted@lemmy.world

                                            A place to share alternatives to popular online services that can be self-hosted without giving up privacy or locking you into a service you don’t control.

                                            Rules:

                                            1. Be civil: we’re here to support and learn from one another. Insults won’t be tolerated. Flame wars are frowned upon.

                                            2. No spam.

                                            3. Posts here are to be centered around self-hosting. Please ensure it is clear in your post how it relates to self-hosting.

                                            4. Don’t duplicate the full text of your blog or git here. Just post the link for folks to click.

                                            5. Submission headline should match the article title.

                                            6. No trolling.

                                            Resources:

                                            • selfh.st Newsletter and index of selfhosted software and apps
                                            • awesome-selfhosted software
                                            • awesome-sysadmin resources
                                            • Self-Hosted Podcast from Jupiter Broadcasting

                                            Any issues on the community? Report it using the report flag.

                                            Questions? DM the mods!

                                            Visibility: Public

                                            This community is visible to everyone.

                                            • 719 users / Day
                                            • 1.57K users / Week
                                            • 1.68K users / Month
                                            • 13.5K users / 6 months
                                            • 6.12K posts
                                            • 149K comments
                                            • 1 local subscriber
                                            • 60.1K subscribers
                                            • UI: 1.0.0-beta.0
                                            • BE: 1.0.0-alpha.20
                                            • Modlog
                                            • Instances
                                            • Docs
                                            • Code
                                            • join-lemmy.org