Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Bug#1043171: nmap: segfault when using service-names with -p

6 views
Skip to first unread message

Christopher Bock

unread,
Aug 6, 2023, 5:40:05 PM8/6/23
to
Package: nmap
Version: 7.94+dfsg1-3
Severity: normal

Hi,

when i try to use a service-name instead of the port-number nmap
breaks with a segfault.

cb@asterix ~ % nmap -p ssh localhost
Starting Nmap 7.94 ( https://nmap.org ) at 2023-08-06 22:51 CEST
[1] 806174 segmentation fault (core dumped) nmap -p ssh localhost
139 cb@asterix ~ %

I also tried other service-names and the really odd thing is that it
works occasionally but most of the time it doesn't.

As i don't really can make heads or tails from an strace i will leave
at that.

With many regards,
Christopher Bock


-- System Information:
Debian Release: trixie/sid
APT prefers testing
APT policy: (990, 'testing'), (50, 'unstable')
Architecture: amd64 (x86_64)

Kernel: Linux 6.4.0-1-amd64 (SMP w/8 CPU threads; PREEMPT)
Kernel taint flags: TAINT_PROPRIETARY_MODULE, TAINT_OOT_MODULE,
TAINT_UNSIGNED_MODULE Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8
(charmap=UTF-8), LANGUAGE not set Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages nmap depends on:
ii libc6 2.37-6
ii libgcc-s1 13.2.0-1
ii liblinear4 2.3.0+dfsg-5
ii liblua5.4-0 5.4.4-3
ii libpcap0.8 1.10.4-3
ii libpcre2-8-0 10.42-2
ii libssh2-1 1.11.0-2
ii libssl3 3.0.9-1
ii libstdc++6 13.2.0-1
ii lua-lpeg 1.0.2-2
ii nmap-common 7.94+dfsg1-3
ii zlib1g 1:1.2.13.dfsg-1

nmap recommends no packages.

Versions of packages nmap suggests:
pn ncat <none>
pn ndiff <none>
pn zenmap <none>

-- no debconf information



--
lg,
~cb
0 new messages