Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 28 Dec 2021 21:38:07 +0000
From:      bugzilla-noreply@freebsd.org
To:        bugs@FreeBSD.org
Subject:   [Bug 260770] libc resolver does not validate domain names
Message-ID:  <bug-260770-227@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D260770

            Bug ID: 260770
           Summary: libc resolver does not validate domain names
           Product: Base System
           Version: CURRENT
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: misc
          Assignee: bugs@FreeBSD.org
          Reporter: emaste@freebsd.org

e.g. `host 127.0.0.1#test.example.com` will perform a DNS query as shown be=
low,
although # is not a valid character in a domain name

0020                                 da 7c 01 00 00 01             .|....
0030   00 00 00 00 00 00 03 31 32 37 01 30 01 30 06 31   .......127.0.0.1
0040   23 74 65 73 74 07 65 78 61 6d 70 6c 65 03 63 6f   #test.example.co
0050   6d 00 00 01 00 01                                 m.....

--=20
You are receiving this mail because:
You are the assignee for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-260770-227>