Security Bulletin
Summary
Node.js (Update 6-February-2020) Security releases available
Vulnerability Details
CVEID: CVE-2019-15605
DESCRIPTION: Node.js is vulnerable to HTTP request smuggling, caused by a flaw when handling unusual Transfer-Encoding HTTP header. By sending a specially-crafted request, an attacker could exploit this vulnerability to poison the web cache, bypass web application firewall protection, and conduct XSS attacks.
CVSS Base score: 6.5
CVSS Temporal Score: See: https://exchange.xforce.ibmcloud.com/vulnerabilities/175913 for the current score.
CVSS Vector: (CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N)
CVEID: CVE-2019-15606
DESCRIPTION: Node.js could allow a remote attacker to bypass security restrictions, caused by an issue when HTTP header values do not have trailing OWS trimmed. By sending a specially-crafted request, an attacker could exploit this vulnerability to bypass authorization based on header value comparisons.
CVSS Base score: 6.5
CVSS Temporal Score: See: https://exchange.xforce.ibmcloud.com/vulnerabilities/175914 for the current score.
CVSS Vector: (CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/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.19.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.2-20200227-1649
If the Buildpack version is not at least v4.2 your application may be vulnerable.
Remediation/Fixes
The fixes for these vulnerabilities are included in Node.js v10.19.0 and subsequent releases.
The fixes for these vulnerabilities are included in Node.js v12.15.0 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.2.
Workarounds and Mitigations
None
Get Notified about Future Security Bulletins
References
Acknowledgement
Reported by Ethan Rubinson, a software engineer at eBay. Reported by Alyssa Wilk from Google. Reported by Rogier Schouten and Melvin Groenhoff.
Change History
17 Mar 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
Was this topic helpful?
Document Information
Modified date:
17 March 2020
UID
ibm16027946