1. Archivio CVE
  2. 2026
  3. CVE-2026-137979

CVE-2026-137979

4.3 Gravità media CVSS v3.1 · fonte NVD CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:N/A:N 4.3 – Media

Descrizione

Nmap before 7.992 contains an information disclosure vulnerability in the Nmap Scripting Engine because nse_main.lua does not explicitly seed Lua's math.random generator. Malicious scanned hosts can observe math.random-derived values in NSE script traffic during -sC scans, brute-force the seed, and recover a heap address that weakens ASLR.

Prodotti coinvolti

FornitoreProdottoVersionePiattaforma
nmap nmap < 7.992 –
Tutte le 24 vulnerabilità di Nmap

Tipo di vulnerabilità

CWE-337 Predictable Seed in Pseudo-Random Number Generator (PRNG)

A Pseudo-Random Number Generator (PRNG) is initialized from a predictable seed, such as the process ID or system time.

Impatto sui sistemi

AmbitoImpatto
Altro Aggirare i meccanismi di protezione, Dipende dal contesto

Come si previene

Use non-predictable inputs for seed generation.
Architettura e progettazione · Requisiti · Librerie o framework Use products or modules that conform to FIPS 140-2 to avoid obvious entropy problems, or use the more recent FIPS 140-3 if possible.
Sviluppo Use a PRNG that periodically re-seeds itself using input from high-quality sources, such as hardware devices with high entropy. However, do not re-seed too frequently, or else the entropy source might block.

Le indicazioni di mitigazione sono riportate nella lingua originale del catalogo CWE del MITRE.

Tutte le 13 CVE di tipo CWE-337, con andamento e prevenzione

Fonte: catalogo CWE del MITRE · cwe.mitre.org