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 strip-ansi to v6.0.1 due to security vulnerability about ansi-regex(v4.1.0) #183

Closed
ghost opened this issue Sep 29, 2021 · 4 comments

Comments

@ghost
Copy link

ghost commented Sep 29, 2021

Hi, jest-junit team.

Jest-junit is a great libray. But recently our component and governence pipeline detect security vulnerability issue about ansi-regex(v4.1.0) when using jest-junit package.

Description: ansi-regex is vulnerable to Inefficient Regular Expression Complexity
Recommendation: Upgrade ansi-regex from 4.1.0 to 5.0.1 to fix the vulnerability

To update ansi-regex to v5.0.1, jest-junit can update strip-ansi to v6.0.1
https://github.com/chalk/strip-ansi/tree/v6.0.1

How do you think about this?

Thanks in advance.

@ghost ghost mentioned this issue Sep 29, 2021
@SimenB
Copy link
Member

SimenB commented Sep 29, 2021

Could you send a PR for that? 🙂

@ghost
Copy link
Author

ghost commented Sep 30, 2021

Could you send a PR for that? 🙂

I create a PR, can you check it out?
#188

@holger-koenig
Copy link

@palmerj3 Could you create a release for this change? Thanks!

@palmerj3
Copy link
Collaborator

palmerj3 commented Oct 4, 2021

@holger-koenig just published 13.0.0 with this

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

No branches or pull requests

3 participants