8000 feat: block header related to CVE-2025-29927 (Next.js) by azurit · Pull Request #4053 · coreruleset/coreruleset · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

feat: block header related to CVE-2025-29927 (Next.js) #4053

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

Merged
merged 4 commits into from
Mar 28, 2025

Conversation

azurit
Copy link
Member
@azurit azurit commented Mar 27, 2025

This PR adds header x-middleware-subrequest into tx.restricted_headers_basic, so it's going to be blocked by default. At first, we were considering to not block it by default (as it will disable some features of Next.js) but after it was completely removed from Next.js, i suggest to just block it. If we do not agree on this, i can move it into tx.restricted_headers_extended which will block it from PL2.

Fixes: #4051

Copy link
Contributor
github-actions bot commented Mar 27, 2025

📊 Quantitative test results for language: eng, year: 2023, size: 10K, paranoia level: 1:
🚀 Quantitative testing did not detect new false positives

@azurit azurit added this pull request to the merge queue Mar 28, 2025
Merged via the queue into coreruleset:main with commit 3c86af4 Mar 28, 2025
6 checks passed
@azurit azurit deleted the Nextjs branch March 28, 2025 08:55
@azurit azurit added the release:new-detection In this PR we introduce a new detection label Mar 28, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
release:new-detection In this PR we introduce a new detection
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Add rule for CVE-2025-29927: Authorization Bypass in Next.js Middleware
3 participants
0