cve.bz

CVE-2025-7339 jshttp on-headers

3.4 lowEPSS 0.3%Fix available

Low (3.4) in jshttp on-headers. EPSS 0.3% estimated probability of exploitation activity in the next 30 days. Fixed in on-headers 1.1.0.

On this page
on-headers is a node.js middleware for listening to when a response writes headers. 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()`. Users should upgrade to version 1.1.0 to receive a patch. Uses are strongly 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.

Severity

CVSS 3.1

3.4 low
CVSS:3.1/AV:L/AC:L/PR:H/UI:N/S:U/C:L/I:L/A:N
EPSS
0.3% (unchanged from 0.2% a week ago; 0.2% 30 days ago) estimated probability of exploitation activity in the next 30 days; 11th percentile. Scored 2026-11-30. A forecast for this CVE across the internet, not for your own systems.
CISA's assessment (SSVC)
Exploitation: PoC · Automatable: no · Technical impact: partial, assessed 2025-07-17. From CISA's Vulnrichment in the CVE List: whether it is exploited, whether exploiting it can be automated, and how much control it gives.
CWE
CWE-241 Improper Handling of Unexpected Data Type
Published
Modified
NVD analysis
Deferred: the NVD does not plan to analyze it
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2025-7339 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2025-7339?via=ask-ai-copy and https://cve.bz/cve/CVE-2025-7339?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2025-7339 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Versions

From the CNA's record in the CVE List.

ProductAffected
jshttp on-headersbefore 1.1.0

Packages (OSV)

AdvisoryEcosystemPackageAffectedFixed in
GHSA-76c9-3jph-rj3qnpmon-headers<1.1.01.1.0

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian12node-on-headersno fix listedDEBIAN-CVE-2025-7339
Debian13, 14node-on-headers1.0.2-4DEBIAN-CVE-2025-7339
Ubuntu16.04:LTS, 18.04:LTS, 20.04:LTS and 5 morenode-on-headersno fix listedUBUNTU-CVE-2025-7339
openSUSELeap 16.0agama-web-ui17+612.d8bf69336-160000.11.1openSUSE-SU-2026:20919-1

From the distributions' data via OSV.dev: the Debian Security Tracker; Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0; SUSE security data, CC BY 4.0. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu · openSUSE.

Red Hat

Red Hat rates this Low.

Red Hat's mitigation

Users may work around this issue by passing an object rather than an array to the `response.writeHead()` function.

ProductPackageStateAdvisory
Red Hat Openshift Data Foundation 4.20odf4/cephcsi-rhel9:v4.20-1761848902Fixed 2025-11-18RHSA-2025:21704
Red Hat Openshift Data Foundation 4.20odf4/cephcsi-rhel9-operator:v4.20-1761728558Fixed 2025-11-18RHSA-2025:21704
Red Hat Openshift Data Foundation 4.20odf4/mcg-core-rhel9:v4.20-1762191273Fixed 2025-11-18RHSA-2025:21704
Red Hat Openshift Data Foundation 4.20odf4/mcg-rhel9-operator:v4.20-1761728716Fixed 2025-11-18RHSA-2025:21704
Red Hat Openshift Data Foundation 4.20odf4/ocs-client-console-rhel9:v4.20-1762867229Fixed 2025-11-18RHSA-2025:21704
Red Hat Openshift Data Foundation 4.20odf4/ocs-client-rhel9-operator:v4.20-1762191427Fixed 2025-11-18RHSA-2025:21704
Red Hat Openshift Data Foundation 4.20odf4/ocs-metrics-exporter-rhel9:v4.20-1762858772Fixed 2025-11-18RHSA-2025:21704
Red Hat Openshift Data Foundation 4.20odf4/ocs-rhel9-operator:v4.20-1762858774Fixed 2025-11-18RHSA-2025:21704
Red Hat Openshift Data Foundation 4.20odf4/odf-cli-rhel9:v4.20-1761728968Fixed 2025-11-18RHSA-2025:21704
Red Hat Openshift Data Foundation 4.20odf4/odf-cloudnative-pg-rhel9-operator:v4.20-1761728797Fixed 2025-11-18RHSA-2025:21704
Cryostat 4cryostat/cryostat-openshift-console-plugin-rhel9Fix deferred
Cryostat 4io.cryostat-cryostatFix deferred
Migration Toolkit for Containersrhmtc/openshift-migration-ui-rhel8Fix deferred
Migration Toolkit for Virtualizationmigration-toolkit-virtualization/mtv-console-plugin-rhel9Fix deferred
Migration Toolkit for Virtualizationmtv-candidate/mtv-console-plugin-rhel9Fix deferred
Network Observability Operatornetwork-observability/network-observability-console-plugin-compat-rhel9Fix deferred
Network Observability Operatornetwork-observability/network-observability-console-plugin-rhel9Fix deferred
OpenShift Lightspeedopenshift-lightspeed/lightspeed-console-plugin-rhel9Fix deferred
OpenShift Pipelinesopenshift-pipelines/pipelines-console-plugin-rhel8Fix deferred
OpenShift Pipelinesopenshift-pipelines/pipelines-console-plugin-rhel9Fix deferred
126 more in the JSON and on Red Hat's page.

Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2025-7339.

Attack patterns (CAPEC)

  • CAPEC-48 Passing Local Filenames to Functions That Expect a URL Likelihood: High · Severity: High

The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits.

References

Check your stackJSON