-
Notifications
You must be signed in to change notification settings - Fork 10.3k
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
Security: gatsby-plugin-mdx is dependand on old version of trim, which has Regular Expression Denial of Service #33049
Comments
Hi, thanks for the issue! While those audit messages might seem scary they are almost always irrelevant in the context of Gatsby as it's a build tool. So there is nothing to "fix" as the warning is not relevant. Gatsby creates static assets and runs everything at build time and not during runtime. If you know that a vulnerability affects Gatsby because you understand what the vulnerability is, please report it here. Thanks! |
@LekoArts I get what you're saying, but I think it might be beneficial to look at this particular issue a bit closer. Consider the details of this issue.
Given the nature of how many times Perhaps I'm misunderstanding the issue at hand. Regardless, I think it's worth a look by the Gatsby team just to be safe. |
I would also like to have the security warning fixed, some of my library users raised concern about this situation too. When installing your dependencies this is never a good sign to see warning and some company can refuse to use a library because of that... Edit: It is also worth noting that if we move to In the screenshot above, you can see that This means that it would not be easy to know if we have a vulnerability or not in the dependencies. |
Preliminary Checks
Summary
gatsby-plugin-mdx
is dependant uponremark
, which has a dependency oftrim@0.0.1
. Trim0.0.1 has aHigh level
vulnerability, as mentioned in https://www.npmjs.com/advisories/1700.Steps to Resolve this Issue
So the update of
remark
is needed in dependency, to make sure that the plugin stays vulnerability freeThe text was updated successfully, but these errors were encountered: