IBM Support

Security Bulletin: A Node.js npm CLI module vulnerability affects IBM® SDK for Node.js™ in IBM Cloud (CVE-2020-15095)

Security Bulletin


Summary

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.

Vulnerability Details

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)

Affected Products and Versions


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.

 


Remediation/Fixes

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.

Workarounds and Mitigations

None

Get Notified about Future Security Bulletins

References

Off

Change History

01 Oct 2020: Initial Publication

*The CVSS Environment Score is customer environment specific and will ultimately impact the Overall CVSS Score. Customers can evaluate the impact of this vulnerability in their environments by accessing the links in the Reference section of this Security Bulletin.

Disclaimer

Review the IBM security bulletin disclaimer and definitions regarding your responsibilities for assessing potential impact of security vulnerabilities to your environment.

Document Location

Worldwide

[{"Business Unit":{"code":"BU053","label":"Cloud & Data Platform"},"Product":{"code":"SS4JM7","label":"IBM SDK for Node.js for Cloud"},"Component":"","Platform":[{"code":"PF016","label":"Linux"}],"Version":"All","Edition":"","Line of Business":{"code":"LOB21","label":"Public Cloud Platform"}}]

Document Information

Modified date:
01 October 2020

Initial Publish date:
01 October 2020

UID

ibm16340141