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

Vendored Moment.js is vulnerable to directory traversal and redos attacks #2386

Closed
jamesliu4c opened this issue Oct 5, 2023 · 2 comments · Fixed by #2387
Closed

Vendored Moment.js is vulnerable to directory traversal and redos attacks #2386

jamesliu4c opened this issue Oct 5, 2023 · 2 comments · Fixed by #2387

Comments

@jamesliu4c
Copy link
Contributor

jamesliu4c commented Oct 5, 2023

Here is a summary of the vulnerabilities: https://security.snyk.io/package/npm/moment/2.22.2

The Changelog for Moment looks like it does not introduce breaking changes betwen 2.22.2 and 2.29.4.

My suggestion is to update replace the vendored Moment in all of the template versions: 2, 3, and 4, and then update the templates.

Also, I can PR this change if that is acceptable.

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

Successfully merging a pull request may close this issue.

3 participants