View Issue Details

IDProjectCategoryView StatusLast Update
0008262Kali LinuxKali Package Bugpublic2023-12-07 10:34
Reporter[email protected] Assigned To 
PrioritynormalSeverityminorReproducibilityalways
Status closedResolutionopen 
Product Version2023.1 
Summary0008262: Nmap munmap_chunk(): invalid pointer
Description

When running a script scan with ssh-publickey-acceptance sometimes free() is thrown but nearly every time munmap_chunk() is thrown.
Seems to happen when scanning more than 2 IPs

kyle@kali:~/Projects/Office_Access$ nmap --version
Nmap version 7.93 ( https://nmap.org )
Platform: x86_64-pc-linux-gnu
Compiled with: liblua-5.3.6 openssl-3.0.8 libssh2-1.10.0 libz-1.2.13 libpcre-8.39 nmap-libpcap-1.7.3 nmap-libdnet-1.12 ipv6
Compiled without:
Available nsock engines: epoll poll select

Steps To Reproduce

Run a public key acceptance script with minimum /30

TargetNmap="192.168.4.0/24"
UsersNmap="'root'"
PubKeysNmap="'/home/kyle/.ssh/kyle.pub'"

nmap -R \
    --open \
    -oX Key_Access.xml \
    -p 22 --script ssh-publickey-acceptance \
    --script-args "ssh.usernames={$UsersNmap}, ssh.publickeys={$PubKeysNmap}" \
    $TargetNmap

Activities

kali-bugreport

kali-bugreport

2023-04-18 20:08

reporter   ~0017814

Better raise an issue for the nmap devs:

https://github.com/nmap/nmap/issues

Unlikely that the Kali team can do much about this

g0tmi1k

g0tmi1k

2023-12-07 10:34

administrator   ~0018689

This report has been filed against an old version of Kali. We will be closing this ticket due to inactivity.

Please could you see if you are able to replicate this issue with the latest version of Kali Linux (https://www.kali.org/get-kali/)?

If you are still facing the same problem, feel free to re-open the ticket. If you choose to do this, could you provide more information to the issue you are facing, and also give information about your setup?
For more information, please read: https://www.kali.org/docs/community/submitting-issues-kali-bug-tracker/

Issue History

Date Modified Username Field Change
2023-04-13 17:48 [email protected] New Issue
2023-04-18 20:08 kali-bugreport Note Added: 0017814
2023-12-07 10:34 g0tmi1k Note Added: 0018689
2023-12-07 10:34 g0tmi1k Status new => closed