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

Vulnerable dependency reported by NPM audit #2825

Closed
StefanNedelchev opened this issue Jul 10, 2023 · 2 comments
Closed

Vulnerable dependency reported by NPM audit #2825

StefanNedelchev opened this issue Jul 10, 2023 · 2 comments

Comments

@StefanNedelchev
Copy link

# npm audit report

semver  <7.5.2
Severity: moderate
semver vulnerable to Regular Expression Denial of Service - https://github.com/advisories/GHSA-c2qf-rxjj-qqgw

Recently NPM started showing this vulnerability report for libraries that use old versions of semver.

@ljharb
Copy link
Member

ljharb commented Jul 10, 2023

Like most CVEs, it's a false positive. We're not using new Range nor are we doing anything that wouldn't be a self-attack (ie, not an attack).

We can't ever bump the semver version because v7 drops support for engines we support, so unless the fix is backported to v6, it'll just have to remain a false positive. However, the semver team is indeed backporting it to v6, so you don't have to do anything but wait.

Duplicate of #2803. Duplicate of #2804. Duplicate of #2805. Duplicate of #2806. Duplicate of #2807. Duplicate of #2808. Duplicate of #2809. Duplicate of #2814. Duplicate of #2821. Duplicate of #2822.

@ljharb ljharb closed this as not planned Won't fix, can't repro, duplicate, stale Jul 10, 2023
@StefanNedelchev
Copy link
Author

@ljharb thanks for the explanation and sorry for the duplicate issue. I didn't see an open issue for this but it didn't occur to me to check the closed issues filter.

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

No branches or pull requests

2 participants