fix: upgrade on-headers to 1.1.0 - Address CVE-2025-7339#15
Merged
Conversation
This patch updates the on-headers dependency to version 1.1.0, which includes a critical security fix for response header manipulation vulnerability when an array is passed to response.writeHead(). CVE-2025-7339: on-headers vulnerable to http response header manipulation No code changes required; this is a safe minor version upgrade that only includes bug fixes and security patches.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Automated remediation for CVE-2025-7339: on-headers vulnerable to http response header manipulation
Changes
Details
The on-headers package version 1.0.1 contains a vulnerability (CVE-2025-7339) that can result in response headers being inadvertently modified when an array is passed to
response.writeHead(). Version 1.1.0 includes a fix for this issue.This is a safe minor version bump with no breaking changes or required code modifications. The vulnerability is automatically patched by upgrading the dependency.
Testing
No code changes required. The application should continue to work as expected with the upgraded dependency.
Generated by OpenSec remediation agent