nslookup crashes when no suffix and type=any
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
bind9 (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned | ||
Jammy |
Triaged
|
Undecided
|
Unassigned | ||
Kinetic |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
nslookup crashes when you query a name without a suffix and the record type is set to any. The BIND maintainers at ISC suggested pulling an updated version.
$ nslookup
> set type=any
> asdf
dighost.c:1683: INSIST(
/lib/x86_
/lib/x86_
nslookup(
nslookup(
nslookup(
nslookup(
/lib/x86_
/lib/x86_
/lib/x86_
/lib/x86_
/lib/x86_
/lib/x86_
/lib/x86_
/lib/x86_
/lib/x86_
/lib/x86_
/lib/x86_
/lib/x86_
/lib/x86_
Aborted (core dumped)
Additional Info:
$ lsb_release -rd
Description: Ubuntu 22.04.1 LTS
Release: 22.04
$ apt-cache policy bind9-dnsutils
bind9-dnsutils:
Installed: 1:9.18.1-1ubuntu1.1
Candidate: 1:9.18.1-1ubuntu1.1
Version table:
*** 1:9.18.1-1ubuntu1.1 500
500 http://
500 http://
100 /var/lib/
1:
500 http://
What I expected:
$ nslookup
> set type=any
> asdf.asd
Server: 127.0.0.53
Address: 127.0.0.53#53
** server can't find asdf.asd: NXDOMAIN
ProblemType: Bug
DistroRelease: Ubuntu 22.04
Package: bind9-dnsutils 1:9.18.1-1ubuntu1.1
ProcVersionSign
Uname: Linux 5.15.0-46-generic x86_64
NonfreeKernelMo
ApportVersion: 2.20.11-0ubuntu82.1
Architecture: amd64
CasperMD5CheckR
CurrentDesktop: ubuntu:GNOME
Date: Thu Aug 25 08:47:00 2022
InstallationDate: Installed on 2020-04-15 (862 days ago)
InstallationMedia: Ubuntu 19.10 "Eoan Ermine" - Release amd64 (20191017)
ProcEnviron:
TERM=xterm-
PATH=(custom, no user)
XDG_RUNTIME_
LANG=en_US.UTF-8
SHELL=/bin/bash
SourcePackage: bind9
UpgradeStatus: Upgraded to jammy on 2022-05-13 (103 days ago)
information type: | Private Security → Public |
Thank you for the bug report.
I am almost sure this is related to a few other bugs that are affecting "dig" and "host" as well. Unfortunately, the bind9 version shipped on Jammy ended up being affected by these issues, but we are working to bring a comprehensive fix that should address them.
For reference, these are the existing bugs I mentioned:
https:/ /bugs.launchpad .net/ubuntu/ +source/ bind9/+ bug/1258003
https:/ /bugs.launchpad .net/ubuntu/ +source/ bind9/+ bug/1970252
Since I'm not entirely sure whether this bug is related to them, I won't mark anything as duplicate for now.
Thank you.