{"id":"MGASA-2021-0372","summary":"Updated nodejs packages fix security vulnerabilities","details":"This affects the package y18n before 3.2.2, 4.0.1 and 5.0.5. PoC by po6ix:\nconst y18n = require('y18n')();\ny18n.setLocale('__proto__'); y18n.updateLocale({polluted: true});\nconsole.log(polluted); // true (CVE-2020-7774).\n\nThe package hosted-git-info before 3.0.8 are vulnerable to Regular Expression\nDenial of Service (ReDoS) via regular expression shortcutMatch in the fromUrl\nfunction in index.js. The affected regular expression exhibits polynomial\nworst-case time complexity (CVE-2021-23362).\n\nssri 5.2.2-8.0.0, fixed in 8.0.1, processes SRIs using a regular expression\nwhich is vulnerable to a denial of service. Malicious SRIs could take an\nextremely long time to process, leading to denial of service. This issue only\naffects consumers using the strict option (CVE-2021-27290).\n\nTheses issues are fixed by upgrading nodejs packages to latest available\nLTS 14.17.3 version. See upstream releases notes for other included bugfixes.\n","modified":"2026-04-16T04:43:46.666010956Z","published":"2021-07-25T14:45:06Z","upstream":["CVE-2020-7774","CVE-2021-23362","CVE-2021-27290"],"references":[{"type":"ADVISORY","url":"https://advisories.mageia.org/MGASA-2021-0372.html"},{"type":"REPORT","url":"https://bugs.mageia.org/show_bug.cgi?id=29028"},{"type":"WEB","url":"https://nodejs.org/en/blog/release/v14.17.0/"},{"type":"WEB","url":"https://nodejs.org/en/blog/release/v14.17.1/"},{"type":"WEB","url":"https://nodejs.org/en/blog/release/v14.17.2/"},{"type":"WEB","url":"https://nodejs.org/en/blog/release/v14.17.3/"},{"type":"WEB","url":"https://nodejs.org/en/blog/vulnerability/july-2021-security-releases/"},{"type":"WEB","url":"https://nodejs.org/en/blog/vulnerability/april-2021-security-releases/"},{"type":"WEB","url":"https://nodejs.org/en/blog/release/v14.16.1/"},{"type":"WEB","url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/thread/TE6GHYMCD4SLCPTFPANLIYWCPHXC4G5T/"}],"affected":[{"package":{"name":"nodejs","ecosystem":"Mageia:8","purl":"pkg:rpm/mageia/nodejs?arch=source&distro=mageia-8"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"14.17.3-1.mga8"}]}],"ecosystem_specific":{"section":"core"},"database_specific":{"source":"https://advisories.mageia.org/MGASA-2021-0372.json"}}],"schema_version":"1.7.5","credits":[{"name":"Mageia","contact":["https://wiki.mageia.org/en/Packages_Security_Team"],"type":"COORDINATOR"}]}