-
Notifications
You must be signed in to change notification settings - Fork 668
Fix nmap service information leaking to unrelated ports #1624
Copy link
Copy link
Closed
Labels
Type: BugInconsistencies or issues which will cause an issue or problem for users or implementors.Inconsistencies or issues which will cause an issue or problem for users or implementors.
Description
Description
A bug was identified where nmap-derived service information is incorrectly propagated to ports that have no service data. This occurs when service fields from a previous port are not cleared and leak into subsequent port outputs in JSON and CSV formats.
Impact
When running naabu with nmap service detection (e.g., -nmap-cli 'nmap -sV'), ports without service information incorrectly inherit service data from previously scanned ports in the output files, while terminal output displays correctly.
Related Pull Request
This issue is being tracked for PR #1613: #1613
Requested by: @Mzack9999
Comment: #1613 (comment)
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
Type: BugInconsistencies or issues which will cause an issue or problem for users or implementors.Inconsistencies or issues which will cause an issue or problem for users or implementors.