Skip to content

Conversation

@medikoo
Copy link

@medikoo medikoo commented Sep 2, 2025

Fixes the issue where security vulnerability is incorrectly applied to projects that depend on the v0.4 version of next which is a totally different product than one started at v0.9.9.

It was already discussed before, see #179 for context

This problem was already fixed for some previous vulnerabilities of next, but constantly gets back, when new vulnerability is introduced

Note: I wasn't able to introduce this change via suggest form as it exposes just "Affected versions" field, which logically would have to be >=0.9.9, < 14.2.31 but that value is not accepted (Looks as another bug worth reporting)

Fixes the issue where security vulnerability is incorrectly applied to projects that depend on the v0.4 version of `next` which is a totally different product than one started at v0.9.9.

It was already discussed before, see github#179 for context

This problem was already fixed for some previous vulnerabilities of `next`, but constantly gets back, when new vulnerability is introduced

Note: I wasn't able to introduce this change via suggest form as it exposes just "Affected versions" field, which logically would have to be `>=0.9.9, < 14.2.31` but that value is not accepted (Looks as another bug worth reporting)
Copilot AI review requested due to automatic review settings September 2, 2025 10:50
Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

This PR fixes a security advisory to correctly specify the version range for a CVE affecting the next package. The change prevents false positives for projects using the unrelated v0.4 version of next.

  • Updates the introduced version field from "0" to "0.9.9" in the GHSA advisory
  • Aligns the vulnerability scope with the actual affected product versions
  • Resolves recurring issue where security advisories incorrectly flag unrelated next package versions

Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.

@github-actions github-actions bot changed the base branch from main to medikoo/advisory-improvement-6081 September 2, 2025 10:51
@advisory-database advisory-database bot merged commit e5d43b5 into github:medikoo/advisory-improvement-6081 Sep 3, 2025
2 checks passed
@advisory-database
Copy link
Contributor

Hi @medikoo! Thank you so much for contributing to the GitHub Advisory Database. This database is free, open, and accessible to all, and it's people like you who make it great. Thanks for choosing to help others. We hope you send in more contributions in the future!

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

Successfully merging this pull request may close these issues.

1 participant