question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

"High" severity audit alert because of `css-what`

See original GitHub issue

Report

Per this security advisory there is a “high risk” DoS risk from the dependency css-what that is fixed by upgrading it to 5.0.1 or higher.

This is appearing if you use svgr because of the dependency chain:

@svgr/webpack > @svgr/plugin-svgo > svgo > css-select > css-what

To Reproduce

Run npm audit on a project that includes @svgr/webpack as a dependency.

Expected behavior

No audit warning should appear

Proposed resolution

I’ve opened an issue in svgo to resolve the dependency issue there. Once that is closed, the dependency on svgo in @svgr/plugin-svgo should also be updated.

This is likely not that much of a risk since a DoS attack via a dev-dependency used during build is essentially a non-risk, so it’s low priority. But, it is causing a scary angry audit risk that might scare off new developers, so I figured it was worth opening this nonetheless.

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Reactions:38
  • Comments:8 (1 by maintainers)

github_iconTop GitHub Comments

5reactions
Mister-Hopecommented, Jun 30, 2021

Any updates?

0reactions
gregbergecommented, Sep 6, 2021

Fixed in #591

Read more comments on GitHub >

github_iconTop Results From Across the Web

React Native css-what high severity vulnerability
I know that the vulnerability has a high severity because it can result in denial of service. What I tried. I made a...
Read more >
npm audit: Broken by Design - Overreacted
However, this solution is flawed: npm audit still warns for development dependencies by default. You have to know to run npm audit --production ......
Read more >
6 high severity vulnerabilities to address all issues ... - You.com
How to fix 6 high severity vulnerabilities npm audit fix --force ... Treating warnings as errors because process.env.CI = true.
Read more >
Auditing package dependencies for security vulnerabilities
Security audits help you protect your package's users by enabling you to find and fix known vulnerabilities in dependencies that could cause data...
Read more >
Npm vulnerbilities that cannot be fixed - JavaScript
npm audit security report === Manual Review Some vulnerabilities ... css-what More info https://npmjs.com/advisories/1754 High Denial of ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found