jshttp on-headers up to 1.0.x Response Header response.writeHead unexpected data type

CVSS Meta Temp Score
CVSS is a standardized scoring system to determine possibilities of attacks. The Temp Score considers temporal factors like disclosure, exploit and countermeasures. The unique Meta Score calculates the average score of different sources to provide a normalized scoring system.
Current Exploit Price (≈)
Our analysts are monitoring exploit markets and are in contact with vulnerability brokers. The range indicates the observed or calculated exploit price to be seen on exploit markets. A good indicator to understand the monetary effort required for and the popularity of an attack.
CTI Interest Score
Our Cyber Threat Intelligence team is monitoring different web sites, mailing lists, exploit markets and social media networks. The CTI Interest Score identifies the interest of attackers and the security community for this specific vulnerability in real-time. A high score indicates an elevated risk to be targeted for this vulnerability.
3.7$0-$5k0.00

Summaryinfo

A vulnerability marked as problematic has been reported in jshttp on-headers up to 1.0.x. This affects the function response.writeHead of the component Response Header Handler. The manipulation leads to improper handling of unexpected data type. This vulnerability is referenced as CVE-2025-7339. The attack can only be performed from a local environment. No exploit is available. It is suggested to upgrade the affected component.

Detailsinfo

A vulnerability, which was classified as problematic, has been found in jshttp on-headers up to 1.0.x. This issue affects the function response.writeHead of the component Response Header Handler. The manipulation with an unknown input leads to a improper handling of unexpected data type vulnerability. Using CWE to declare the problem leads to CWE-241. The product does not handle or incorrectly handles when a particular element is not the expected type, e.g. it expects a digit (0-9) but is provided with a letter (A-Z). Impacted is confidentiality, integrity, and availability. The summary by CVE is:

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.

It is possible to read the advisory at github.com. The identification of this vulnerability is CVE-2025-7339 since 07/07/2025. The exploitation is known to be easy. Attacking locally is a requirement. The exploitation requires an enhanced level of successful authentication. Technical details of the vulnerability are known, but there is no available exploit.

Upgrading to version 1.1.0 eliminates this vulnerability. Applying the patch c6e384908c9c6127d18831d16ab0bd96e1231867 is able to eliminate this problem. The bugfix is ready for download at github.com. The best possible mitigation is suggested to be upgrading to the latest version.

The vulnerability is also documented in the databases at EUVD (EUVD-2025-21784) and CERT Bund (WID-SEC-2025-1929). Be aware that VulDB is the high quality source for vulnerability data.

Affected

  • IBM App Connect Enterprise

Productinfo

Vendor

Name

Version

License

Website

CPE 2.3info

CPE 2.2info

CVSSv4info

VulDB Vector: 🔒
VulDB Reliability: 🔍

CVSSv3info

VulDB Meta Base Score: 3.8
VulDB Meta Temp Score: 3.7

VulDB Base Score: 4.2
VulDB Temp Score: 4.0
VulDB Vector: 🔒
VulDB Reliability: 🔍

CNA Base Score: 3.4
CNA Vector (openjs): 🔒

CVSSv2info

AVACAuCIA
💳💳💳💳💳💳
💳💳💳💳💳💳
💳💳💳💳💳💳
VectorComplexityAuthenticationConfidentialityIntegrityAvailability
UnlockUnlockUnlockUnlockUnlockUnlock
UnlockUnlockUnlockUnlockUnlockUnlock
UnlockUnlockUnlockUnlockUnlockUnlock

VulDB Base Score: 🔒
VulDB Temp Score: 🔒
VulDB Reliability: 🔍

Exploitinginfo

Class: Improper handling of unexpected data type
CWE: CWE-241 / CWE-229 / CWE-20
CAPEC: 🔒
ATT&CK: 🔒

Physical: Partially
Local: Yes
Remote: No

Availability: 🔒
Status: Not defined

EPSS Score: 🔒
EPSS Percentile: 🔒

Price Prediction: 🔍
Current Price Estimation: 🔒

0-DayUnlockUnlockUnlockUnlock
TodayUnlockUnlockUnlockUnlock

Threat Intelligenceinfo

Interest: 🔍
Active Actors: 🔍
Active APT Groups: 🔍

Countermeasuresinfo

Recommended: Upgrade
Status: 🔍

0-Day Time: 🔒

Upgrade: on-headers 1.1.0
Patch: c6e384908c9c6127d18831d16ab0bd96e1231867

Timelineinfo

07/07/2025 CVE reserved
07/17/2025 +10 days Advisory disclosed
07/17/2025 +0 days VulDB entry created
09/01/2025 +46 days VulDB entry last update

Sourcesinfo

Product: github.com

Advisory: 315
Status: Confirmed

CVE: CVE-2025-7339 (🔒)
GCVE (CVE): GCVE-0-2025-7339
GCVE (VulDB): GCVE-100-316775
EUVD: 🔒
CERT Bund: WID-SEC-2025-1929 - IBM App Connect Enterprise: Mehrere Schwachstellen

Entryinfo

Created: 07/17/2025 19:56
Updated: 09/01/2025 05:28
Changes: 07/17/2025 19:56 (67), 07/17/2025 23:07 (1), 09/01/2025 05:28 (7)
Complete: 🔍
Cache ID: 216::103

Be aware that VulDB is the high quality source for vulnerability data.

Discussion

No comments yet. Languages: en.

Please log in to comment.

Want to know what is going to be exploited?

We predict KEV entries!