Bug 2386976 (CVE-2025-54798)

Summary: CVE-2025-54798 tmp: tmp Symbolic Link Write Vulnerability
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: aarif, aazores, abarbaro, adkhan, alcohan, anjoseph, anpicker, aprice, aschwart, asoldano, bbaranow, bdettelb, bkabrda, bmaxwell, boliveir, bparees, brian.stansberry, caswilli, cdewolf, cmah, darran.lofthouse, dfreiber, dhanak, dkreling, doconnor, dosoudil, drosa, drow, dsimansk, eaguilar, ebaron, eric.wittmann, fjuma, gmalinko, gotiwari, gparvin, gryan, gzaronik, haoli, hasun, hkataria, ibek, istudens, ivassile, iweiss, jajackso, janstey, jburrell, jcammara, jcantril, jchui, jfula, jhe, jhuff, jkoehler, jmitchel, jneedle, jolong, jowilson, jprabhak, jrokos, jwendell, kaycoth, kegrant, kingland, koliveir, kshier, ktsao, kverlaen, lball, lchilton, lgao, lphiri, mabashia, manissin, matzew, mnovotny, mosmerov, mpierce, mposolda, msochure, msvehla, mvyas, nboldt, ngough, nipatil, njean, nwallace, nyancey, ometelka, owatkins, pahickey, pantinor, pbizzarr, pbraun, pdelbell, pesilva, pjindal, pmackay, psrna, ptisnovs, rcernich, rhaigner, rkubis, rojacob, rstancel, rstepani, sausingh, sdawley, sfeifer, shvarugh, simaishi, smaestri, smcdonal, ssilvert, stcannon, sthorger, syedriko, teagle, tfister, thavo, tom.jenkinson, veshanka, vkumar, vmuzikar, wtam, xdharmai, yguenane
Target Milestone: ---Keywords: Security
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: ---
Doc Text:
A flaw was found in tmp. The `tmp` module, used for creating temporary files and directories in Node.js, allows an arbitrary temporary file or directory write due to insufficient validation of the symbolic link parameter. This vulnerability allows a local attacker to provide a crafted symbolic link. This issue allows the creation of temporary files or directories at attacker-specified locations, potentially leading to unexpected behavior.
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: 2387011, 2387013, 2387014, 2387016, 2387018, 2387020, 2387022, 2387012, 2387015, 2387017, 2387019, 2387021    
Bug Blocks:    

Description OSIDB Bzimport 2025-08-07 01:01:13 UTC
tmp is a temporary file and directory creator for node.js. In versions 0.2.3 and below, tmp is vulnerable to an arbitrary temporary file / directory write via symbolic link dir parameter. This is fixed in version 0.2.4.