CVE-2025-7339
ADVISORY - githubSummary
Impact
A bug in on-headers versions < 1.1.0 may result in response headers being inadvertently modified when an array is passed to response.writeHead()
Patches
Users should upgrade to 1.1.0
Workarounds
Uses are encouraged to upgrade to 1.1.0, but this issue can be worked around by passing an object to response.writeHead() rather than an array.
Common Weakness Enumeration (CWE)
Improper Handling of Unexpected Data Type
Improper Handling of Unexpected Data Type
Improper Handling of Unexpected Data Type
GitHub
0.8
CVSS SCORE
3.4low| Package | Type | OS Name | OS Version | Affected Ranges | Fix Versions |
|---|---|---|---|---|---|
| on-headers | npm | - | - | <1.1.0 | 1.1.0 |
CVSS:3 Severity and metrics
The CVSS metrics represent different qualitative aspects of a vulnerability that impact the overall score, as defined by the CVSS Specification.
The vulnerable component is not bound to the network stack and the attacker's path is via read/write/execute capabilities. Either: The attacker exploits the vulnerability by accessing the target system locally (e.g., keyboard, console), or remotely (e.g., SSH); or the attacker relies on User Interaction by another person to perform actions required to exploit the vulnerability (e.g., using social engineering techniques to trick a legitimate user into opening a malicious document).
Specialized access conditions or extenuating circumstances do not exist. An attacker can expect repeatable success when attacking the vulnerable component.
The attacker requires privileges that provide significant (e.g., administrative) control over the vulnerable component allowing access to component-wide settings and files.
The vulnerable system can be exploited without interaction from any user.
An exploited vulnerability can only affect resources managed by the same security authority. In this case, the vulnerable component and the impacted component are either the same, or both are managed by the same security authority.
There is some loss of confidentiality. Access to some restricted information is obtained, but the attacker does not have control over what information is obtained, or the amount or kind of loss is limited. The information disclosure does not cause a direct, serious loss to the impacted component.
Modification of data is possible, but the attacker does not have control over the consequence of a modification, or the amount of modification is limited. The data modification does not have a direct, serious impact on the impacted component.
There is no impact to availability within the impacted component.
NIST
0.8
CVSS SCORE
3.4lowDebian
-
Ubuntu
-
CVSS SCORE
N/AmediumRed Hat
0.8
CVSS SCORE
3.4lowChainguard
CGA-6cvc-q4pg-m73c
-
Chainguard
CGA-7ccg-jm7q-gwxv
-
Chainguard
CGA-7qm2-wgvr-899f
-
Chainguard
CGA-7w9v-hcw9-6695
-
Chainguard
CGA-8mfg-x9p4-mxrq
-
Chainguard
CGA-fmg2-47pm-f9hf
-
Chainguard
CGA-h46m-gpr2-3pf5
-
Chainguard
CGA-pq98-g5r4-jjgh
-
Chainguard
CGA-rh5j-jgmp-r5p3
-
Chainguard
CGA-vp39-fmh7-xfxr
-
minimos
MINI-2rrj-rgvv-662x
-
minimos
MINI-7q7c-9j29-58m3
-