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

next.js dependency vulnerability: Upgrade @babel/runtime to fix GHSA-968p-4wvh-cqc8 vulnerability #77879

Open
chitturs opened this issue Apr 6, 2025 · 2 comments
Labels
Runtime Related to Node.js or Edge Runtime with Next.js.

Comments

@chitturs
Copy link

chitturs commented Apr 6, 2025

Link to the code that reproduces this issue

https://github.com/chitturs/azure-rest-api-specs

To Reproduce

N/A – this is a dependency vulnerability.

Current vs. Expected behavior

Expected behavior:

Upgrade @babel/runtime to a patched version.

Provide environment information

N/A – this is a dependency vulnerability.

Which area(s) are affected? (Select all that apply)

Runtime

Which stage(s) are affected? (Select all that apply)

Vercel (Deployed)

Additional context

The current version of @babel/runtime in the Next.js codebase contains a known vulnerability (GHSA-968p-4wvh-cqc8).

File: packages/next/src/compiled/@babel/runtime/package.json
Current version: [7.22.5]
Vulnerability: GHSA-968p-4wvh-cqc8

@github-actions github-actions bot added the Runtime Related to Node.js or Edge Runtime with Next.js. label Apr 6, 2025
@xendren
Copy link

xendren commented Apr 7, 2025

This is a breaking vulnerability for us. Should this have been reported under the "Security" rather than an Issue?

@Marcinthedev
Copy link

Marcinthedev commented Apr 8, 2025

Hey. Unfortunately it's also breaking vulnerability for us. I believe there should be more comments coming soon.

EDIT: @xendren Just created a report in Security tab
https://github.com/vercel/next.js/security/advisories/GHSA-f373-236g-hwmh

I believe this one could be closed, after the vulnerability report is confirmed by maintainers.

EDIT 2:
Security tab is only for the reporting the codebase vulnerabilities. https://github.com/vercel/next.js/security/advisories/GHSA-f373-236g-hwmh#advisory-comment-123872

This means we have to wait here.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Runtime Related to Node.js or Edge Runtime with Next.js.
Projects
None yet
Development

No branches or pull requests

3 participants