Descrizione
repomix contains a local file inclusion vulnerability in the git clone endpoint that allows unauthenticated attackers to read arbitrary local git repositories. The isValidRemoteValue function in src/core/git/gitRemoteParse.ts fails to block file:// URLs, permitting attackers to supply file:// scheme URLs that bypass validation and are passed directly to git clone, enabling unauthorized access to all tracked file contents on the server filesystem.
Tipo di vulnerabilità
CWE-552
File o cartelle accessibili a soggetti esterni
Il prodotto rende file o cartelle accessibili a soggetti non autorizzati, anche se non dovrebbero esserlo.
Impatto sui sistemi
| Ambito | Impatto |
| Riservatezza, Integrità |
Leggere file o cartelle, Modificare file o cartelle |
Come si previene
Sviluppo · Configurazione del sistema · Esercizio
When storing data in the cloud (e.g., S3 buckets, Azure blobs, Google Cloud Storage, etc.), use the provider's controls to disable public access.
Tutte le 484 CVE di tipo CWE-552, con andamento e prevenzione