-
-
Notifications
You must be signed in to change notification settings - Fork 26.9k
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
ANSI-HTML is vulnerable and unmaintained #11504
Comments
Any updates here? |
Having the same issue. This seems to be related to Create a c3.11.3 to resolve vulnerability in dependency ansi-html, which was closed, as the webpack-dev-server team is no longer maintaining v^3, as v^4 is out. Seems the issue is that react-scripts is still depending on outdated version of webpack (4.44.2) and webpack-dev-server (3.11.1). I think fixing this would involve a fairly big upgrade to react-scripts and CRA? |
Can any one provide update here? How should we proceed to fix this issue? |
the way forward we have taken is to scrap using #BigUpTheBeeb |
We are able resolve it by following Tjatse/ansi-html#19. |
This fixed it for me. Updated 4 other packages too and everything seems to still be working ok. |
@cmacdonnacha |
I'd suggest to communicate to the team to run |
It appears that ansi-html is only used by webpack-dev-server and @pmmmwh/react-refresh-webpack-plugin. react-scripts > @pmmmwh/react-refresh-webpack-plugin > ansi-html Can someone confirm that the ansi-html vulnerability only effects the developer PC and not production code as described here: https://overreacted.io/npm-audit-broken-by-design/#second-vulnerability, or #11174 |
This issue has been automatically marked as stale because it has not had any recent activity. It will be closed in 5 days if no further activity occurs. |
Describe the bug
When running
yarn audit
it shows a vulnerability in ansi-htmladding a resolution does not help as no patch is available, looking at the effected package ansi-html is no longer maintained by anyone.
Did you try recovering your dependencies?
yes
Which terms did you search for in User Guide?
N/A
Environment
mac-mini M1 running in zsh
Steps to reproduce
run
yarn audit
on a project using altest react-scriptsExpected behavior
SHould either pass audit (many dependencies out of date) or use packages that allow a manual resolution of issue
Actual behavior
Declares no patch available for the issue, suggest switching to ansi-html-community
The text was updated successfully, but these errors were encountered: