| Summary: | nodejs new security issues CVE-2020-7774, CVE-2021-23362, CVE-2021-27290 | ||
|---|---|---|---|
| Product: | Mageia | Reporter: | David Walser <luigiwalser> |
| Component: | Security | Assignee: | QA Team <qa-bugs> |
| Status: | RESOLVED FIXED | QA Contact: | Sec team <security> |
| Severity: | critical | ||
| Priority: | Normal | CC: | herman.viaene, mageia, ouaurelien, sysadmin-bugs |
| Version: | 8 | Keywords: | advisory, validated_update |
| Target Milestone: | --- | ||
| Hardware: | All | ||
| OS: | Linux | ||
| See Also: | https://bugs.mageia.org/show_bug.cgi?id=29231 | ||
| Whiteboard: | MGA8-64-OK | ||
| Source RPM: | nodejs-14.16.0-1.mga8.src.rpm | CVE: | CVE-2020-7774, CVE-2021-23362, CVE-2021-27290 |
| Status comment: | |||
|
Description
David Walser
2021-05-29 22:52:33 CEST
David Walser
2021-05-29 22:53:07 CEST
Whiteboard:
(none) =>
MGA7TOO Assigning to registered maintainer joequant. Assignee:
bugsquad =>
joequant Removing Mageia 7 from whiteboard due to EOL: https://blog.mageia.org/en/2021/06/08/mageia-7-will-reach-end-of-support-on-30th-of-june-the-king-is-dead-long-live-the-king/ Whiteboard:
MGA7TOO =>
(none) Upstream has issued an advisory on July 1: https://nodejs.org/en/blog/vulnerability/july-2021-security-releases/ The issues are fixed upstream in 14.17.2: https://nodejs.org/en/blog/release/v14.17.0/ https://nodejs.org/en/blog/release/v14.17.1/ https://nodejs.org/en/blog/release/v14.17.2/ Summary:
nodejs new security issue CVE-2020-7774 =>
nodejs new security issues CVE-2020-7774, CVE-2021-27290, CVE-2021-23362
David Walser
2021-07-06 16:32:01 CEST
See Also:
(none) =>
https://bugs.mageia.org/show_bug.cgi?id=29231 updating mga8 to 14.17.3 New LTS version pushed:
src:
- nodejs-14.17.3-1.mga8Assignee:
joequant =>
qa-bugs Reference for 14.17.3 (fixed a Windows-only issue): https://nodejs.org/en/blog/release/v14.17.3/ nodejs-14.17.3-1.mga8 nodejs-docs-14.17.3-1.mga8 nodejs-libs-14.17.3-1.mga8 nodejs-devel-14.17.3-1.mga8 v8-devel-8.4.371.23.mga8-1.mga8 npm-6.14.13-1.14.17.3.1.mga8 from nodejs-14.17.3-1.mga8.src.rpm Status comment:
Fixed upstream in 14.17.2 =>
(none) Advisory:
========================
Updated nodejs packages fix security vulnerabilities:
This affects the package y18n before 3.2.2, 4.0.1 and 5.0.5. PoC by po6ix: const y18n = require('y18n')(); y18n.setLocale('__proto__'); y18n.updateLocale({polluted: true}); console.log(polluted); // true (CVE-2020-7774).
The package hosted-git-info before 3.0.8 are vulnerable to Regular Expression Denial of Service (ReDoS) via regular expression shortcutMatch in the fromUrl function in index.js. The affected regular expression exhibits polynomial worst-case time complexity (CVE-2021-23362).
ssri 5.2.2-8.0.0, fixed in 8.0.1, processes SRIs using a regular expression which is vulnerable to a denial of service. Malicious SRIs could take an extremely long time to process, leading to denial of service. This issue only affects consumers using the strict option (CVE-2021-27290).
Theses issues are fixed by upgrading nodejs packages to latest available LTS 14.17.3 version. See upstream releases notes for other included bugfixes.
References:
- https://bugs.mageia.org/show_bug.cgi?id=29028
- https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2020-7774
- https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2021-23362
- https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2021-27290
- https://nodejs.org/en/blog/release/v14.17.0/
- https://nodejs.org/en/blog/release/v14.17.1/
- https://nodejs.org/en/blog/release/v14.17.2/
- https://nodejs.org/en/blog/release/v14.17.3/
- https://nodejs.org/en/blog/vulnerability/july-2021-security-releases/
- https://nodejs.org/en/blog/vulnerability/april-2021-security-releases/
- https://nodejs.org/en/blog/release/v14.16.1/
- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/thread/TE6GHYMCD4SLCPTFPANLIYWCPHXC4G5T/
========================
Updated packages in core/updates_testing:
========================
nodejs-14.17.3-1.mga8
nodejs-docs-14.17.3-1.mga8
nodejs-libs-14.17.3-1.mga8
nodejs-devel-14.17.3-1.mga8
v8-devel-8.4.371.23.mga8-1.mga8
npm-6.14.13-1.14.17.3.1.mga8
from nodejs-14.17.3-1.mga8.src.rpmCC:
(none) =>
ouaurelien MGA8-64 Plasma on Lenovo B50 No installation issues Ref bug 21330 Comment 51 for test $ cd Documenten/ [tester8@mach5 Documenten]$ node main.js Server running at http://127.0.0.1:8081/ Then pointing browser to it displays "Hello world" OK for me. Whiteboard:
(none) =>
MGA8-64-OK Validating. CC:
(none) =>
sysadmin-bugs An update for this issue has been pushed to the Mageia Updates repository. https://advisories.mageia.org/MGASA-2021-0372.html Status:
NEW =>
RESOLVED |