Summary
Node.js is a software development platform for building fast and scalable network applications in the JavaScript programming language.
The following packages have been upgraded to a later upstream version: nodejs (16.16.0), nodejs-nodemon (2.0.19). (BZ#2124230, BZ#2124233)
Security Fix(es):
* nodejs-ini: Prototype pollution via malicious INI file (CVE-2020-7788)
* nodejs-glob-parent: Regular expression denial of service (CVE-2020-28469)
* nodejs-ansi-regex: Regular expression denial of service (ReDoS) matching ANSI escape codes (CVE-2021-3807)
* normalize-url: ReDoS for data URLs (CVE-2021-33502)
* nodejs: npm pack ignores root-level .gitignore and .npmignore file exclusion directives when run in a workspace (CVE-2022-29244)
* nodejs: DNS rebinding in --inspect via invalid IP addresses (CVE-2022-32212)
* nodejs: HTTP request smuggling due to flawed parsing of Transfer-Encoding (CVE-2022-32213)
* nodejs: HTTP request smuggling due to improper delimiting of header fields (CVE-2022-32214)
* nodejs: HTTP request smuggling due to incorrect parsing of multi-line Transfer-Encoding (CVE-2022-32215)
* got: missing verification of requested URLs allows redirects to UNIX sockets (CVE-2022-33987)
For more details about the security issue(s), including the impact, a CVSS score, acknowledgments, and other related information, refer to the CVE page(s) listed in the References section.
Bug Fix(es):
* nodejs:16/nodejs: Rebase to the latest Nodejs 16 release [almalinux-9] (BZ#2121019)
* nodejs: Specify --with-default-icu-data-dir when using bootstrap build (BZ#2124299)
Fixed packages 6
| Release | Package | Fixed in |
|---|---|---|
| AlmaLinux · 9 | nodejs | 1:16.16.0-1.el9_0 |
| AlmaLinux · 9 | nodejs-docs | 1:16.16.0-1.el9_0 |
| AlmaLinux · 9 | nodejs-full-i18n | 1:16.16.0-1.el9_0 |
| AlmaLinux · 9 | nodejs-libs | 1:16.16.0-1.el9_0 |
| AlmaLinux · 9 | nodejs-nodemon | 2.0.19-1.el9_0 |
| AlmaLinux · 9 | npm | 1:8.11.0-1.16.16.0.1.el9_0 |
Vulnerabilities 10
-
Critical 9.1CVE-2022-32213 EPSS 45%
llhttp allows HTTP Request Smuggling via Flawed Parsing of Transfer-Encoding
The llhttp parser <v14.20.1, <v16.17.1 and <v18.9.1 in the http module in Node.js does not correctly parse and validate Transfer-Encoding headers and can lead to HTTP Request Smuggling (HRS).
-
Critical 9.1CVE-2022-32214 EPSS 82%
llhttp allows HTTP Request Smuggling via Improper Delimiting of Header Fields
The llhttp parser <v14.20.1, <v16.17.1 and <v18.9.1 in the http module in Node.js does not strictly use the CRLF sequence to delimit HTTP requests. This can lead to HTTP Request Smuggling (HRS).
-
High 7.5
ReDoS in normalize-url
The normalize-url package before 4.5.1, 5.x before 5.3.1, and 6.x before 6.0.1 for Node.js has a ReDoS (regular expression denial of service) issue because it has exponential performance for data: URLs.
-
High 7.5
Inefficient Regular Expression Complexity in chalk/ansi-regex
ansi-regex is vulnerable to Inefficient Regular Expression Complexity
-
High 7.5
npm packing does not respect root-level ignore files in workspaces
npm pack ignores root-level .gitignore and .npmignore file exclusion directives when run in a workspace or with a workspace flag (ie. `--workspaces`, `--workspace=<name>`). Anyone who has run `npm pack` or `npm publish` inside a workspace, as of v7.9.0 and v7…
-
High 7.3
Prototype Pollution
This affects the package ini before 1.3.6. If an attacker submits a malicious INI file to an application that parses it with ini.parse, they will pollute the prototype on the application. This can be exploited further depending on the context.
-
Medium 5.3
Regular Expression Denial of Service (ReDoS)
This affects the package glob-parent before 5.1.2. The enclosure regex used to check for strings ending in enclosure containing path separator.
-
Medium 5.3
Got allows a redirect to a UNIX socket
The got package before 12.1.0 (also fixed in 11.8.5) for Node.js allows a redirect to a UNIX socket.
-
Unscored —
A OS Command Injection vulnerability exists in Node.js versions <14.20.0, <16.20.0, <18.5.0 due to an insufficient IsAl…
-
Unscored —CVE-2022-32215 EPSS 70%
The llhttp parser <v14.20.1, <v16.17.1 and <v18.9.1 in the http module in Node.js does not correctly handle multi-line …
References
-
report
https://access.redhat.com/security/cve/CVE-2020-28469
-
report
https://access.redhat.com/security/cve/CVE-2020-7788
-
report
https://access.redhat.com/security/cve/CVE-2021-33502
-
report
https://access.redhat.com/security/cve/CVE-2021-3807
-
report
https://access.redhat.com/security/cve/CVE-2022-29244
-
report
https://access.redhat.com/security/cve/CVE-2022-32212
-
report
https://access.redhat.com/security/cve/CVE-2022-32213
-
report
https://access.redhat.com/security/cve/CVE-2022-32214
-
report
https://access.redhat.com/security/cve/CVE-2022-32215
-
report
https://access.redhat.com/security/cve/CVE-2022-33987
-
report
https://bugzilla.redhat.com/1907444
-
report
https://bugzilla.redhat.com/1945459
-
report
https://bugzilla.redhat.com/1964461
-
report
https://bugzilla.redhat.com/2007557
-
report
https://bugzilla.redhat.com/2098556
-
report
https://bugzilla.redhat.com/2102001
-
report
https://bugzilla.redhat.com/2105422
-
report
https://bugzilla.redhat.com/2105426
-
report
https://bugzilla.redhat.com/2105428
-
report
https://bugzilla.redhat.com/2105430
-
advisory
https://errata.almalinux.org/9/ALSA-2022-6595.html