Nmap before 7.992 contains an excessive memory allocation vulnerability in the unmarshall_array function of the NSE msrpctypes.lua library, which trus...
Affected packages
| Package | Affected → Fixed | |
|---|---|---|
| Debian:12nmap |
All versions→ Not listed |
Not listed |
| Debian:13nmap |
All versions→ Not listed |
Not listed |
| Debian:14nmap |
< 7.993+dfsg-1→ 7.993+dfsg-1 |
7.993+dfsg-1 |
Original description The description as published by the source.
Nmap before 7.992 contains an excessive memory allocation vulnerability in the unmarshall_array function of the NSE msrpctypes.lua library, which trusts the entry count declared by the server. A malicious SMB server on a scanned host can declare an EntriesRead value of 0xFFFFFFFF with an empty buffer, causing a prolonged CPU spin and exhausting the memory of the Nmap process; the library is used by smb-enum-shares.nse in the default script category (-sC, -A).
Source: OSV.dev (Open Source Vulnerabilities) OSV
References
- advisory security-tracker.debian.org