====== How to handle Node.js security vulnerabilities in N4V for Webi environments ====== //Anonymised summary of support ticket #963839 (2025-06-05)// ===== Symptom ===== Security vulnerabilities in Node.js may expose N4V for Webi deployments to risks such as denial of service, permission bypass, or network import restrictions. ===== Environment ===== N4V for Webi running on Linux with Node.js versions prior to 18.x, deployed on RedHat 7 or earlier. ===== Resolution ===== - %%Check the installed Node.js version using the command 'node --version'.%% - %%Verify if the Node.js version is affected by known CVE vulnerabilities (e.g., CVE-2021-37701, CVE-2022-35949, CVE-2022-35948, CVE-2022-35947).%% - For RedHat 7 environments, consider upgrading to RedHat 8.7+ to support Node.js 18.x or higher. - If upgrading the OS is not feasible, evaluate a hybrid deployment by installing N4V services on a dedicated server (Windows or Linux) running a supported OS version while keeping the existing SAP BusinessObjects Webi environment. - For future N4V releases, expect support for Node.js 20.x or higher, which will include fixes for known vulnerabilities. - Use NVM (Node Version Manager) to manage Node.js versions if already installed during initial deployment. ===== Other resolution ===== Node.js 12.x, while functional, is no longer officially supported and may not receive security updates. Ensure compatibility with N4V requirements before upgrading.