
PEACH
Un framework di isolamento del tenant
Versions of the aloma CLI (@aloma.io/aloma) up to and including 0.1.0 have several weaknesses in how they store and send the user's Aloma session and how they write pulled files.
./node_modules/@aloma.io/aloma in the current directory when that folder existed. A repository that ships such a folder with a .config/config.json could point the API URL at any host, and running any aloma command inside that checkout sent the stored session to it. (CWE-427)step pull / library pull could write outside the target folder, and names could inject code into file headers (High). Step and library names come from the workspace; names containing .. were written outside the target folder, and names or ids containing */ and line breaks could place code at the top of the written file. (CWE-22, CWE-94)http:// API URLs were used. (CWE-319, CWE-200)secret list printed secret values (Low). Non-encrypted secret values were printed to the terminal and logs. (CWE-532)postinstall script ran the CLI on every install.Fixed in 0.2.0:
$XDG_CONFIG_HOME/aloma, %APPDATA%\aloma on Windows, otherwise ~/.config/aloma), never from the current directory. A session kept by an older version inside the running package's own folder is moved there on first use and the old copy is removed. Nothing is imported from the current directory.npm audit findings.ALOMA_ALLOW_HTTP_LOOPBACK=1).secret list masks values unless --reveal is given.keytar dependency, which had its own install script, is removed).Until you can upgrade:
aloma only from directories you trust; never inside a cloned repository that contains node_modules/@aloma.io/aloma you did not install yourself.chmod 600 the .cache/session.json inside the installed package and run aloma logout when done.aloma secret list where output is logged.Upgrade: npm install -g @aloma.io/aloma@latest (and update any project-local installs). Then run aloma auth once if the CLI says you are not signed in. If you ran an older version inside a repository you did not write, or on a shared machine, sign in again and tell ALOMA support so the old session can be revoked. Remove any node_modules/@aloma.io/aloma/.cache folders left in project checkouts.
Fonte: NVD
Valutazione gratuita delle vulnerabilità
Valuta le tue pratiche di sicurezza del cloud in 9 domini di sicurezza per stabilire un benchmark del tuo livello di rischio e identificare le lacune nelle tue difese.
Richiedi una demo personalizzata
"La migliore esperienza utente che abbia mai visto offre piena visibilità ai carichi di lavoro cloud."
"Wiz fornisce un unico pannello di controllo per vedere cosa sta succedendo nei nostri ambienti cloud."
"Sappiamo che se Wiz identifica qualcosa come critico, in realtà lo è."