There is a vulnerability which could allow a local attacker to obtain sensitive information in the Node.js npm CLI module that is used in IBM® SDK for Node.js™ in IBM Cloud.
CVEID:CVE-2020-15095
**DESCRIPTION:**Node.js npm CLI module could allow a local attacker to obtain sensitive information, caused by the storing of user credentials in the log file. By persuading a victim to open a log file, an attacker could exploit this vulnerability to obtain user credentials.
CVSS Base score: 4.7
CVSS Temporal Score: See: https://exchange.xforce.ibmcloud.com/vulnerabilities/184666 for the current score.
CVSS Vector: (CVSS:3.0/AV:L/AC:H/PR:N/UI:R/S:U/C:H/I:N/A:N)
All supported versions (10.x, and 12.x) of Node.js are vulnerable.
Through the command-line Cloud Foundry client run the following command:
cf ssh <appname> -c “cat app/logs/staging_task.log” | grep “Installing node”
-----> Installing node 10.22.0
Alternatively, through the command-line Cloud Foundry client run the following command:
$ cf ssh <appname> -c “cat app/logs/staging_task.log” | grep “IBM SDK for Node.js”
-----> IBM SDK for Node.js Buildpack v4.4-20200828-1028
If the Buildpack version is not at least v4.4 your application may be vulnerable.
The fixes for these vulnerabilities are included in Node.js v10.22.0 and subsequent releases.
The fixes for these vulnerabilities are included in Node.js v12.18.3 and subsequent releases.
To upgrade to the latest version of the Node.js runtime, please specify the latest Node.js runtime in your package.json file for your application:
“engines”: {
“node”: “10."
},
or
“engines”: {
“node”: "12.”
},
You will then need to restage (or re-push) your application using the IBM SDK for Node.js Buildpack v4.4.
None