From nobody Tue Dec 28 21:38:07 2021 X-Original-To: bugs@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 72AE7191084A for ; Tue, 28 Dec 2021 21:38:08 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4JNnvh1Jtbz4TPT for ; Tue, 28 Dec 2021 21:38:08 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 0D719190A5 for ; Tue, 28 Dec 2021 21:38:08 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 1BSLc7LN084503 for ; Tue, 28 Dec 2021 21:38:07 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 1BSLc7w1084502 for bugs@FreeBSD.org; Tue, 28 Dec 2021 21:38:07 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: bugs@FreeBSD.org Subject: [Bug 260770] libc resolver does not validate domain names Date: Tue, 28 Dec 2021 21:38:07 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: misc X-Bugzilla-Version: CURRENT X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: emaste@freebsd.org X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: bugs@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version rep_platform op_sys bug_status bug_severity priority component assigned_to reporter Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated List-Id: Bug reports List-Archive: https://lists.freebsd.org/archives/freebsd-bugs List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-bugs@freebsd.org MIME-Version: 1.0 ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1640727488; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=D7/CkftUCl6zKKPWF3UIP9iXS1NuVgvuN8ZG7vjiN+o=; b=XlWxULiuNk0S0FI1NFJQKb8wwfQuxY5En7xsPdDWitQrnZGZXFKK03pYJayZUqve3zMP34 r9jz/Dkkq8eeucIRNCvThze62203uVuTz/bv/OUYImptIq259/C6Ls8UlwV7plLdTypOYG d37goxPG4SBakRYPjhL1KWMYoX07xbhuox+K5tPDU+eDkOIJbzzZyJT52yNQmoQw5x2hg2 hEj9i96yqlWz6fC8fHy8Kl+DYooEN3pJbzt59ND5qWFMJuhqjaLtAEr98upp5c15J7GqE6 O0PwY+5qMe6QWgrX9Dz5BNMERyPvwR/hMo3kv24CabzEfdKd2k+q9Q+NthPoGQ== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1640727488; a=rsa-sha256; cv=none; b=TGHTvryqJ77swwMDBlr5mQbv1fi728VEXi944wmqJ3ahQapFDkOmh/AabFkUgZd1n1M5Rp l3CQm1POe03uakQUsVtEksl1Ua0JhKTbIgL8x0kqhx2ljwLlcb2KLf/hjd/VXtAleHGRsH bSHkQyMdjl4dhYmRAiYy/QErGVchGLafGCkEIdF7hCw9d36SL1+oLw47Ot1WwPVvf5sLoh C4BWCRYcawwXAufH7ixS2VotHDpcwnKe6xJcM1/tTHNGwbrCQr3ee0oH53TzFA3OjvTMA7 J0hMORel2/PTRYBEcQSPpWTaoEH5YMv3acZvk4Q/ItETdb8zOMu8i8nIQHrHXw== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N 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.=