Red Hat VEX
RHVEX-CVE-2025-7339
on-headers: on-headers vulnerable to http response header manipulation
Details
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().
Affected packages
| Ecosystem | Package | Affected versions |
|---|---|---|
| Red Hat:enterprise_linux:8 | pcs | All versions, no fix (fix deferred) |
| Red Hat:enterprise_linux:8 | pcs-snmp | All versions, no fix (fix deferred) |
| Red Hat:enterprise_linux:9 | pcs | All versions, no fix (fix deferred) |
| Red Hat:enterprise_linux:9 | pcs-snmp | All versions, no fix (fix deferred) |
References
- https://access.redhat.com/security/cve/CVE-2025-7339
- https://bugzilla.redhat.com/show_bug.cgi?id=2381728
- https://www.cve.org/CVERecord?id=CVE-2025-7339
- https://nvd.nist.gov/vuln/detail/CVE-2025-7339
- https://cna.openjsf.org/security-advisories.html
- https://github.com/expressjs/morgan/issues/315
- https://github.com/jshttp/on-headers/commit/c6e384908c9c6127d18831d16ab0bd96e1231867
- https://github.com/jshttp/on-headers/issues/15
- https://github.com/jshttp/on-headers/security/advisories/GHSA-76c9-3jph-rj3q