Bug 2381728 (CVE-2025-7339)

Summary: CVE-2025-7339 on-headers: on-headers vulnerable to http response header manipulation
Product: [Other] Security Response Reporter: OSIDB Bzimport <bzimport>
Component: vulnerabilityAssignee: Product Security DevOps Team <prodsec-dev>
Status: NEW --- QA Contact:
Severity: low Docs Contact:
Priority: low    
Version: unspecifiedCC: aazores, abarbaro, abrianik, adkhan, adudiak, anjoseph, anpicker, bdettelb, bparees, brasmith, caswilli, cmah, cochase, crizzo, dbosanac, dhanak, doconnor, dranck, drosa, dsimansk, dymurray, eaguilar, ebaron, eric.wittmann, ggrzybek, gmalinko, gryan, gzaronik, haoli, hasun, hkataria, ibek, ibolton, jajackso, janstey, jcammara, jchui, jfula, jhe, jhuff, jkoehler, jmatthew, jmitchel, jmontleo, jneedle, jolong, jowilson, jprabhak, jreimann, jrokos, jwendell, jwong, kaycoth, kegrant, kingland, koliveir, kshier, ktsao, kverlaen, lphiri, mabashia, manissin, matzew, mdessi, mnovotny, mrizzi, mwringe, nboldt, nipatil, nyancey, omaciel, ometelka, pantinor, parichar, pbizzarr, pbraun, pcattana, pdelbell, pgaikwad, pjindal, psrna, ptisnovs, rcernich, rjohnson, rkubis, rstepani, sausingh, shvarugh, simaishi, slucidi, smcdonal, sseago, stcannon, syedriko, tasato, teagle, tfister, thavo, ttakamiy, wtam, xdharmai, yguenane
Target Milestone: ---Keywords: Security
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: ---
Doc Text:
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()`.
Story Points: ---
Clone Of: Environment:
Last Closed: Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On: 2381749, 2381750, 2381751, 2381752, 2381753, 2381754, 2381755, 2381756, 2381757, 2381758, 2381759, 2381760, 2381761, 2381762    
Bug Blocks:    

Description OSIDB Bzimport 2025-07-17 16:01:30 UTC
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.