Uploaded image for project: 'RHEL'
  1. RHEL
  2. RHEL-6211

systemd-resolved: Unsigned name response in signed zone is not refused when DNSSEC=yes [rhel9]

Linking RHIVOS CVEs to...Migration: Automation ...SWIFT: POC ConversionSync from "Extern...XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: Major Major
    • None
    • rhel-9.3.0
    • systemd
    • None
    • Important
    • rhel-plumbers
    • ssg_core_services
    • 3
    • False
    • False
    • Hide

      None

      Show
      None
    • None
    • None
    • None
    • None
    • If docs needed, set a value
    • None
    • 57,005

      +++ This bug was initially created as a clone of Bug #2222260 +++

      Found that on upstream issue:
      https://github.com/systemd/systemd/issues/25676

      All needed is to fake content in signed zone, reported with unbound:

      server:
      local-zone: example.org typetransparent
      local-data: "example.org. 3600 IN A 127.0.0.1"

      Reproducible: Always

      Steps to Reproduce:
      1. Enable DNSSEC=yes
      2. Run local unbound, configure fake local-data
      3. Set DNS=127.0.0.1
      4. resolvectl query -t example.org
      Actual Results:
      [root@rawhide ~]# resolvectl query -t a example.org
      example.org IN A 127.0.0.1

      – Information acquired via protocol DNS in 8.5ms.
      – Data is authenticated: no; Data was acquired via local or encrypted transport: no
      – Data from: network
      [root@rawhide ~]# resolvectl query -t aaaa example.org
      example.org IN AAAA 2606:2800:220:1:248:1893:25c8:1946

      – Information acquired via protocol DNS in 10.2ms.
      – Data is authenticated: yes; Data was acquired via local or encrypted transport: no
      – Data from: network

      Expected Results:
      Similar to when signature is present, -t a should be reported as invalid, only -t aaaa successful.

      Marking it with high severity, because it undermines purpose of whole DNSSEC presence.

              systemd-maint systemd maint mailing list
              pemensik@redhat.com Petr Mensik
              systemd maint mailing list systemd maint mailing list
              Frantisek Sumsal Frantisek Sumsal
              Votes:
              0 Vote for this issue
              Watchers:
              8 Start watching this issue

                Created:
                Updated:
                Resolved: