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

We found vulnerability issue for semver package. #2828

Closed
vikasjagdale92 opened this issue Jul 13, 2023 · 1 comment
Closed

We found vulnerability issue for semver package. #2828

vikasjagdale92 opened this issue Jul 13, 2023 · 1 comment

Comments

@vikasjagdale92
Copy link

vulnerability issue reported in our scan "Versions of the package semver before 7.5.2 are vulnerable to Regular Expression Denial of Service (ReDoS) via the function new Range, when untrusted user data is provided as a range"
Could you please bump the semver version to latest or highest than 7.5.2.

@ljharb
Copy link
Member

ljharb commented Jul 13, 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 has indeed backported it to v6, so you don't have to do anything but update.

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. Duplicate of #2825.

@ljharb ljharb closed this as not planned Won't fix, can't repro, duplicate, stale Jul 13, 2023
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