Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

update ejs in 3.28.1 release for loopback #4350

Open
bestrivens001 opened this issue Sep 2, 2021 · 0 comments
Open

update ejs in 3.28.1 release for loopback #4350

bestrivens001 opened this issue Sep 2, 2021 · 0 comments
Labels

Comments

@bestrivens001
Copy link

bestrivens001 commented Sep 2, 2021

Hi, @dhmlau @achrinza,

Issue Description

I noticed that a vulnerability is introduced in loopback@3.28.0:
Vulnerability SNYK-JS-EJS-1049328 affects package ejs (versions:<3.1.6): https://snyk.io/vuln/SNYK-JS-EJS-1049328
The above vulnerable package is referenced by loopback@3.28.0 via:
loopback@3.28.0 ➔ ejs@2.7.4

Since loopback@3.28.0 (9,351 downloads per week) is referenced by 75 downstream projects (e.g., loopback-workspace 5.3.0 (latest version), generator-loopback 6.4.0 (latest version), loopback-cli 5.2.0 (latest version), apiconnect-cli-loopback 5.0.0 (latest version), @loopback/booter-lb3app 2.4.2 (latest version)), the vulnerability SNYK-JS-EJS-1049328 can be propagated into these downstream projects and expose security threats to them via the following package dependency paths:
(1)@loopback/booter-lb3app@2.4.2 ➔ loopback@3.28.0 ➔ ejs@2.7.4
(2)apim-ui@5.21.28 ➔ loopback-workspace@4.6.0 ➔ loopback@3.28.0 ➔ ejs@2.7.4
......

If loopback@3.28.* removes the vulnerable package from the above version, then its fixed version can help downstream users decrease their pain.

Given the large number of downstream users, could you help update your package to remove the vulnerability from loopback@3.28.0 ?

Fixing suggestions

In loopback@3.28.1, maybe you can kindly try to perform the following upgrade :
ejs ^2.3.1 ➔ ^3.0.6;

Note:
ejs@3.1.6(>=3.1.6) has fixed the vulnerability SNYK-JS-EJS-1049328.

Thank you for your attention to this issue and welcome to share other ways to resolve the issue.

Best regards,
^_^

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant