CVE-2025-7339
Public on
Last Modified:
Description
A header modification flaw has been discovered in the on-headers npm library. In specific cases, response headers may be inadvertently modified when an array is passed to response.writeHead().
Mitigation
Users may work around this issue by passing an object rather than an array to the `response.writeHead()` function.
Additional Information
- This content is not included.Bugzilla 2381728: on-headers: on-headers vulnerable to http response header manipulation
- Content from cwe.mitre.org is not included.CWE-241: Improper Handling of Unexpected Data Type
- FAQ: Frequently asked questions about CVE-2025-7339
- Offline Security Data data is available for integration with other systems. See Offline Security Data API to get started.
External References
Content from www.cve.org is not included.https://www.cve.org/CVERecord?id=CVE-2025-7339
Content from nvd.nist.gov is not included.https://nvd.nist.gov/vuln/detail/CVE-2025-7339
Content from cna.openjsf.org is not included.https://cna.openjsf.org/security-advisories.html
Content from github.com is not included.https://github.com/expressjs/morgan/issues/315
Content from github.com is not included.https://github.com/jshttp/on-headers/issues/15
Affected Packages and Issued Red Hat Security Errata
| Products / Services | Components | State | Errata |
|---|---|---|---|
| Cryostat 4 | cryostat/cryostat-openshift-console-plugin-rhel9 | Fix deferred | |
| Cryostat 4 | io.cryostat-cryostat | Fix deferred | |
| Migration Toolkit for Containers | rhmtc/openshift-migration-ui-rhel8 | Fix deferred | |
| Migration Toolkit for Virtualization | migration-toolkit-virtualization/mtv-console-plugin-rhel9 | Fix deferred | |
| Migration Toolkit for Virtualization | mtv-candidate/mtv-console-plugin-rhel9 | Fix deferred | |
| Network Observability Operator | network-observability/network-observability-console-plugin-compat-rhel9 | Fix deferred | |
| Network Observability Operator | network-observability/network-observability-console-plugin-rhel9 | Fix deferred | |
| OpenShift Lightspeed | openshift-lightspeed/lightspeed-console-plugin-rhel9 | Fix deferred | |
| OpenShift Pipelines | openshift-pipelines/pipelines-console-plugin-rhel8 | Fix deferred | |
| OpenShift Pipelines | openshift-pipelines/pipelines-console-plugin-rhel9 | Fix deferred | |
| OpenShift Pipelines | openshift-pipelines/pipelines-hub-api-rhel8 | Fix deferred | |
| OpenShift Pipelines | openshift-pipelines/pipelines-hub-api-rhel9 | Fix deferred | |
| OpenShift Pipelines | openshift-pipelines/pipelines-hub-db-migration-rhel8 | Fix deferred | |
| OpenShift Pipelines | openshift-pipelines/pipelines-hub-db-migration-rhel9 | Fix deferred | |
| OpenShift Pipelines | openshift-pipelines/pipelines-hub-ui-rhel8 | Fix deferred | |
| OpenShift Pipelines | openshift-pipelines/pipelines-hub-ui-rhel9 | Fix deferred | |
| OpenShift Serverless | openshift-serverless-1/kn-backstage-plugins-eventmesh-rhel8 | Fix deferred | |
| OpenShift Service Mesh 2 | openshift-service-mesh/kiali-ossmc-rhel8 | Fix deferred | |
| OpenShift Service Mesh 2 | openshift-service-mesh/kiali-rhel8 | Fix deferred | |
| OpenShift Service Mesh 3 | openshift-service-mesh-dev-preview-beta/istio-ztunnel-rhel9 | Fix deferred | |
| OpenShift Service Mesh 3 | openshift-service-mesh/istio-cni-rhel9 | Fix deferred | |
| OpenShift Service Mesh 3 | openshift-service-mesh/istio-must-gather-rhel9 | Fix deferred | |
| OpenShift Service Mesh 3 | openshift-service-mesh/istio-pilot-rhel9 | Fix deferred | |
| OpenShift Service Mesh 3 | openshift-service-mesh/istio-proxyv2-rhel9 | Fix deferred | |
| OpenShift Service Mesh 3 | openshift-service-mesh/istio-rhel9-operator | Fix deferred | |
| OpenShift Service Mesh 3 | openshift-service-mesh/istio-sail-operator-bundle | Fix deferred | |
| OpenShift Service Mesh 3 | openshift-service-mesh/kiali-operator-bundle | Fix deferred | |
| OpenShift Service Mesh 3 | openshift-service-mesh/kiali-ossmc-rhel9 | Fix deferred | |
| OpenShift Service Mesh 3 | openshift-service-mesh/kiali-rhel9 | Fix deferred | |
| OpenShift Service Mesh 3 | openshift-service-mesh/kiali-rhel9-operator | Fix deferred | |
| Red Hat Ansible Automation Platform 2 | ansible-automation-platform-24/lightspeed-rhel8 | Fix deferred | |
| Red Hat Ansible Automation Platform 2 | ansible-automation-platform-25/lightspeed-rhel8 | Fix deferred | |
| Red Hat Ansible Automation Platform 2 | automation-controller | Fix deferred | |
| Red Hat Ansible Automation Platform 2 | automation-eda-controller | Fix deferred | |
| Red Hat Ansible Automation Platform 2 | automation-gateway | Fix deferred | |
| Red Hat Data Grid 8 | org.infinispan-infinispan-console | Fix deferred | |
| Red Hat Developer Hub | rhdh/rhdh-hub-rhel9 | Fix deferred | |
| Red Hat Developer Hub | rhdh/rhdh-rhel9-operator | Fix deferred | |
| Red Hat Discovery 1 | discovery/discovery-ui-rhel9 | Fix deferred | |
| Red Hat Edge Manager preview | rhem/flightctl-api-rhel9 | Fix deferred | |
| Red Hat Edge Manager preview | rhem/flightctl-cli-artifacts-rhel9 | Fix deferred | |
| Red Hat Edge Manager preview | rhem/flightctl-periodic-rhel9 | Fix deferred | |
| Red Hat Edge Manager preview | rhem/flightctl-ui-ocp-rhel9 | Fix deferred | |
| Red Hat Edge Manager preview | rhem/flightctl-ui-rhel9 | Fix deferred | |
| Red Hat Edge Manager preview | rhem/flightctl-worker-rhel9 | Fix deferred | |
| Red Hat Enterprise Linux 8 | pcs | Fix deferred | |
| Red Hat Enterprise Linux 9 | pcs | Fix deferred | |
| Red Hat Fuse 7 | io.apicurio-apicurito | Fix deferred | |
| Red Hat Fuse 7 | io.hawt-hawtio-online | Fix deferred | |
| Red Hat Fuse 7 | io.syndesis-syndesis-parent | Fix deferred | |
| Red Hat OpenShift AI (RHOAI) | rhoai/odh-codeflare-operator-rhel8 | Fix deferred | |
| Red Hat OpenShift AI (RHOAI) | rhoai/odh-dashboard-rhel8 | Fix deferred | |
| Red Hat OpenShift AI (RHOAI) | rhoai/odh-dashboard-rhel9 | Fix deferred | |
| Red Hat OpenShift AI (RHOAI) | rhoai/odh-data-science-pipelines-argo-argoexec-rhel8 | Fix deferred | |
| Red Hat OpenShift AI (RHOAI) | rhoai/odh-data-science-pipelines-argo-workflowcontroller-rhel8 | Fix deferred | |
| Red Hat OpenShift AI (RHOAI) | rhoai/odh-data-science-pipelines-operator-controller-rhel8 | Fix deferred | |
| Red Hat OpenShift AI (RHOAI) | rhoai/odh-kf-notebook-controller-rhel8 | Fix deferred | |
| Red Hat OpenShift AI (RHOAI) | rhoai/odh-kuberay-operator-controller-rhel8 | Fix deferred | |
| Red Hat OpenShift AI (RHOAI) | rhoai/odh-kueue-controller-rhel8 | Fix deferred | |
| Red Hat OpenShift AI (RHOAI) | rhoai/odh-ml-pipelines-api-server-v2-rhel8 | Fix deferred | |
| Red Hat OpenShift AI (RHOAI) | rhoai/odh-ml-pipelines-driver-rhel8 | Fix deferred | |
| Red Hat OpenShift AI (RHOAI) | rhoai/odh-ml-pipelines-launcher-rhel8 | Fix deferred | |
| Red Hat OpenShift AI (RHOAI) | rhoai/odh-ml-pipelines-persistenceagent-v2-rhel8 | Fix deferred | |
| Red Hat OpenShift AI (RHOAI) | rhoai/odh-ml-pipelines-runtime-generic-rhel8 | Fix deferred | |
| Red Hat OpenShift AI (RHOAI) | rhoai/odh-ml-pipelines-scheduledworkflow-v2-rhel8 | Fix deferred | |
| Red Hat OpenShift AI (RHOAI) | rhoai/odh-mlmd-grpc-server-rhel8 | Fix deferred | |
| Red Hat OpenShift AI (RHOAI) | rhoai/odh-mm-rest-proxy-rhel8 | Fix deferred | |
| Red Hat OpenShift AI (RHOAI) | rhoai/odh-model-controller-rhel8 | Fix deferred | |
| Red Hat OpenShift AI (RHOAI) | rhoai/odh-model-registry-operator-rhel8 | Fix deferred | |
| Red Hat OpenShift AI (RHOAI) | rhoai/odh-model-registry-rhel8 | Fix deferred | |
| Red Hat OpenShift AI (RHOAI) | rhoai/odh-modelmesh-rhel8 | Fix deferred | |
| Red Hat OpenShift AI (RHOAI) | rhoai/odh-modelmesh-runtime-adapter-rhel8 | Fix deferred | |
| Red Hat OpenShift AI (RHOAI) | rhoai/odh-modelmesh-serving-controller-rhel8 | Fix deferred | |
| Red Hat OpenShift AI (RHOAI) | rhoai/odh-notebook-controller-rhel8 | Fix deferred | |
| Red Hat OpenShift AI (RHOAI) | rhoai/odh-rhel8-operator | Fix deferred | |
| Red Hat OpenShift AI (RHOAI) | rhoai/odh-training-operator-rhel8 | Fix deferred | |
| Red Hat OpenShift AI (RHOAI) | rhoai/odh-trustyai-service-operator-rhel8 | Fix deferred | |
| Red Hat OpenShift AI (RHOAI) | rhoai/odh-trustyai-service-rhel8 | Fix deferred | |
| Red Hat OpenShift AI (RHOAI) | rhoai/odh-trustyai-service-rhel9 | Fix deferred | |
| Red Hat OpenShift AI (RHOAI) | rhods/odh-dashboard-rhel8 | Fix deferred | |
| Red Hat OpenShift AI (RHOAI) | rhods/odh-rhel8-operator | Fix deferred | |
| Red Hat OpenShift GitOps | openshift-gitops-1/argo-rollouts-rhel8 | Fix deferred | |
| Red Hat OpenShift GitOps | openshift-gitops-1/argocd-extensions-rhel8 | Fix deferred | |
| Red Hat OpenShift GitOps | openshift-gitops-1/argocd-rhel8 | Fix deferred | |
| Red Hat OpenShift GitOps | openshift-gitops-1/console-plugin-rhel8 | Fix deferred | |
| Red Hat OpenShift GitOps | openshift-gitops-1/dex-rhel8 | Fix deferred | |
| Red Hat OpenShift GitOps | openshift-gitops-1/gitops-rhel8 | Fix deferred | |
| Red Hat OpenShift GitOps | openshift-gitops-1/gitops-rhel8-operator | Fix deferred | |
| Red Hat OpenShift GitOps | openshift-gitops-1/must-gather-rhel8 | Fix deferred | |
| Red Hat OpenShift distributed tracing 3 | rhosdt/tempo-jaeger-query-rhel8 | Fix deferred | |
| Red Hat Openshift Data Foundation 4.2 | odf4/cephcsi-rhel9 | Fixed | RHSA-2025:21704 |
| Red Hat Openshift Data Foundation 4.2 | odf4/cephcsi-rhel9-operator | Fixed | RHSA-2025:21704 |
| Red Hat Openshift Data Foundation 4.2 | odf4/mcg-core-rhel9 | Fixed | RHSA-2025:21704 |
| Red Hat Openshift Data Foundation 4.2 | odf4/mcg-rhel9-operator | Fixed | RHSA-2025:21704 |
| Red Hat Openshift Data Foundation 4.2 | odf4/ocs-client-console-rhel9 | Fixed | RHSA-2025:21704 |
| Red Hat Openshift Data Foundation 4.2 | odf4/ocs-client-rhel9-operator | Fixed | RHSA-2025:21704 |
| Red Hat Openshift Data Foundation 4.2 | odf4/ocs-metrics-exporter-rhel9 | Fixed | RHSA-2025:21704 |
| Red Hat Openshift Data Foundation 4.2 | odf4/ocs-rhel9-operator | Fixed | RHSA-2025:21704 |
| Red Hat Openshift Data Foundation 4.2 | odf4/odf-cli-rhel9 | Fixed | RHSA-2025:21704 |
| Red Hat Openshift Data Foundation 4.2 | odf4/odf-cloudnative-pg-rhel9-operator | Fixed | RHSA-2025:21704 |
| Red Hat Openshift Data Foundation 4.2 | odf4/odf-console-rhel9 | Fixed | RHSA-2025:21704 |
| Red Hat Openshift Data Foundation 4.2 | odf4/odf-cosi-sidecar-rhel9 | Fixed | RHSA-2025:21704 |
| Red Hat Openshift Data Foundation 4.2 | odf4/odf-csi-addons-rhel9-operator | Fixed | RHSA-2025:21704 |
| Red Hat Openshift Data Foundation 4.2 | odf4/odf-csi-addons-sidecar-rhel9 | Fixed | RHSA-2025:21704 |
| Red Hat Openshift Data Foundation 4.2 | odf4/odf-external-snapshotter-rhel9-operator | Fixed | RHSA-2025:21704 |
| Red Hat Openshift Data Foundation 4.2 | odf4/odf-external-snapshotter-sidecar-rhel9 | Fixed | RHSA-2025:21704 |
| Red Hat Openshift Data Foundation 4.2 | odf4/odf-multicluster-console-rhel9 | Fixed | RHSA-2025:21704 |
| Red Hat Openshift Data Foundation 4.2 | odf4/odf-multicluster-rhel9-operator | Fixed | RHSA-2025:21704 |
| Red Hat Openshift Data Foundation 4.2 | odf4/odf-must-gather-rhel9 | Fixed | RHSA-2025:21704 |
| Red Hat Openshift Data Foundation 4.2 | odf4/odf-rhel9-operator | Fixed | RHSA-2025:21704 |
| Red Hat Openshift Data Foundation 4.2 | odf4/odr-rhel9-operator | Fixed | RHSA-2025:21704 |
| Red Hat Openshift Data Foundation 4.2 | odf4/rook-ceph-rhel9-operator | Fixed | RHSA-2025:21704 |
| Red Hat Process Automation 7 | org.uberfire-uberfire-parent | Fix deferred | |
| Red Hat Quay 3 | quay/quay-rhel8 | Fix deferred | |
| Red Hat Trusted Profile Analyzer | rhtpa/rhtpa-trustification-service-rhel9 | Fix deferred | |
| Red Hat build of Apache Camel - HawtIO 4 | io.hawt-project | Fix deferred | |
| Red Hat build of Apicurio Registry 2 | io.apicurio-apicurio-registry | Fix deferred | |
| Red Hat build of OptaPlanner 8 | org.optaweb.vehiclerouting-optaweb-vehicle-routing | Fix deferred |
Common Vulnerability Scoring System (CVSS) Score Details
Important note
CVSS scores for open source components depend on vendor-specific factors (e.g. version or build chain). Therefore, Red Hat's score and impact rating can be different from NVD and other vendors. Red Hat remains the authoritative CVE Naming Authorities (CNA) source for its products and services (see Red Hat classifications ).
| CVSS v3 Score Breakdown | Red Hat | NVD |
|---|---|---|
| CVSS v3 Base Score | 3.4 | |
| Attack Vector | Local | |
| Attack Complexity | Low | |
| Privileges Required | High | |
| User Interaction | None | |
| Scope | Unchanged | |
| Confidentiality Impact | Low | |
| Integrity Impact | Low | |
| Availability Impact | None |
CVSS v3 Vector
Red Hat CVSS:3.1/AV:L/AC:L/PR:H/UI:N/S:U/C:L/I:L/A:N
Frequently Asked Questions
Why is Red Hat's CVSS v3 score or Impact different from other vendors?
For more information, see https://access.redhat.com/solutions/762393.
My product is listed as "Under investigation" or "Affected", when will Red Hat release a fix for this vulnerability?
- "Under investigation" doesn't necessarily mean that the product is affected by this vulnerability. It only means that our Analysis Team is still working on determining whether the product is affected and how it is affected.
- "Affected" means that our Analysis Team has determined that this product is affected by this vulnerability and might release a fix to address this in the near future.
What can I do if my product is listed as "Will not fix"?
Available options depend mostly on the Impact of the vulnerability and the current Life Cycle phase of your product. Overall, you have the following options:
- Upgrade to a supported product version that includes a fix for this vulnerability (recommended).
- Apply a mitigation (if one exists).
- Open a This content is not included.support case to request a prioritization of releasing a fix for this vulnerability.
What can I do if my product is listed as "Fix deferred"?
Available options depend mostly on the Impact of the vulnerability and the current Life Cycle phase of your product. Overall, you have the following options:
- Apply a mitigation (if one exists).
- Open a This content is not included.support case to request a prioritization of releasing a fix for this vulnerability.
- Red Hat Engineering focuses on addressing high-priority issues based on their complexity or limited lifecycle support. Therefore, lower-priority issues will not receive immediate fixes.
What is a mitigation?
I have a Red Hat product but it is not in the above list, is it affected?
Why is my security scanner reporting my product as vulnerable to this vulnerability even though my product version is fixed or not affected?
My product is listed as "Out of Support Scope". What does this mean?
Not sure what something means? Check out our Security Glossary.