jshttp on-headers up to 1.0.x Response Header response.writeHead unexpected data type
| CVSS Meta Temp Score | Current Exploit Price (≈) | CTI Interest Score |
|---|---|---|
| 3.7 | $0-$5k | 0.00 |
Summary
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.
Details
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
Product
Vendor
Name
Version
License
Website
CPE 2.3
CPE 2.2
CVSSv4
VulDB Vector: 🔒VulDB Reliability: 🔍
CVSSv3
VulDB Meta Base Score: 3.8VulDB 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): 🔒
CVSSv2
| AV | AC | Au | C | I | A |
|---|---|---|---|---|---|
| 💳 | 💳 | 💳 | 💳 | 💳 | 💳 |
| 💳 | 💳 | 💳 | 💳 | 💳 | 💳 |
| 💳 | 💳 | 💳 | 💳 | 💳 | 💳 |
| Vector | Complexity | Authentication | Confidentiality | Integrity | Availability |
|---|---|---|---|---|---|
| Unlock | Unlock | Unlock | Unlock | Unlock | Unlock |
| Unlock | Unlock | Unlock | Unlock | Unlock | Unlock |
| Unlock | Unlock | Unlock | Unlock | Unlock | Unlock |
VulDB Base Score: 🔒
VulDB Temp Score: 🔒
VulDB Reliability: 🔍
Exploiting
Class: Improper handling of unexpected data typeCWE: 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-Day | Unlock | Unlock | Unlock | Unlock |
|---|---|---|---|---|
| Today | Unlock | Unlock | Unlock | Unlock |
Threat Intelligence
Interest: 🔍Active Actors: 🔍
Active APT Groups: 🔍
Countermeasures
Recommended: UpgradeStatus: 🔍
0-Day Time: 🔒
Upgrade: on-headers 1.1.0
Patch: c6e384908c9c6127d18831d16ab0bd96e1231867
Timeline
07/07/2025 CVE reserved07/17/2025 Advisory disclosed
07/17/2025 VulDB entry created
09/01/2025 VulDB entry last update
Sources
Product: github.comAdvisory: 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
Entry
Created: 07/17/2025 19:56Updated: 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.
No comments yet. Languages: en.
Please log in to comment.