1. Archivio CVE
  2. 2025
  3. CVE-2025-4759

CVE-2025-4759

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

Descrizione

Versions of the package lockfile-lint-api before 5.9.2 are vulnerable to Incorrect Behavior Order: Early Validation via the resolved attribute of the package URL validation which can be bypassed by extending the package name allowing an attacker to install other npm packages than the intended one.

Prodotti coinvolti

FornitoreProdottoVersionePiattaforma
lirantal lockfile-lint-api < 5.9.2 node.js

Tipo di vulnerabilità

CWE-179 Incorrect Behavior Order: Early Validation

The product validates input before applying protection mechanisms that modify the input.

Impatto sui sistemi

AmbitoImpatto
Controllo degli accessi, Integrità Aggirare i meccanismi di protezione, Eseguire codice o comandi non autorizzati

Come si previene

Sviluppo · Validazione dell’input Inputs should be decoded and canonicalized to the application's current internal representation before being validated (CWE-180). Make sure that the application does not decode the same input twice (CWE-174). Such errors could be used to bypass allowlist validation schemes by introducing dangerous inputs after they have been checked.

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

Tutte le 8 CVE di tipo CWE-179, con andamento e prevenzione

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