Bug 2418900 (CVE-2025-65637)

Summary: CVE-2025-65637 github.com/sirupsen/logrus: github.com/sirupsen/logrus: Denial-of-Service due to large single-line payload
Product: [Other] Security Response Reporter: OSIDB Bzimport <bzimport>
Component: vulnerabilityAssignee: Product Security DevOps Team <prodsec-dev>
Status: NEW --- QA Contact:
Severity: medium Docs Contact:
Priority: medium    
Version: unspecifiedCC: aarif, aazores, abarbaro, abuckta, adistefa, adudiak, agarcial, akostadi, akoudelk, alcohan, alebedev, alinfoot, alizardo, amasferr, amctagga, anjoseph, anpicker, anthomas, aoconnor, aprice, asatyam, asegurap, bbrownin, bdettelb, bniver, bparees, carogers, caswilli, ckandaga, cmah, crizzo, dbosanac, dfreiber, dhanak, diagrawa, dkuc, dmayorov, dnakabaa, doconnor, drosa, drow, dsimansk, dtrifiro, dymurray, eaguilar, ebaron, eglynn, ehelms, erezende, fdeutsch, flucifre, ggainey, gmeno, gparvin, groman, gtanzill, haoli, hasun, hkataria, ibolton, jaharrin, jajackso, jbalunas, jburrell, jbuscemi, jcammara, jcantril, jchui, jdobes, jeder, jfula, jhe, jjoyce, jkoehler, jlledo, jmatthew, jmitchel, jmontleo, jneedle, joehler, jolong, jowilson, jprabhak, jreimann, jsamir, jschluet, jsherril, juwatts, jvasik, kaycoth, kegrant, kgaikwad, kingland, koliveir, kshier, ktsao, kverlaen, lball, lbragsta, lchilton, lcouzens, lgamliel, lhh, ljawale, lphiri, luizcosta, mabashia, manissin, matzew, mbenjamin, mburns, mdessi, mgarciac, mhackett, mhulan, mnovotny, mpierce, mrizzi, mrunge, mskarbek, mwringe, nboldt, ngough, nmoumoul, nweather, nyancey, oezr, ometelka, orabin, oramraz, osousa, owatkins, pahickey, pakotvan, pantinor, pbraun, pcattana, pcreech, pgaikwad, pjindal, psrna, ptisnovs, pvasanth, rblanco, rbobbitt, rbryant, rchan, rfreiman, rhaigner, rjohnson, rochandr, rojacob, sabiswas, sakbas, sausingh, sdawley, sfeifer, shvarugh, simaishi, slucidi, smallamp, smcdonal, smullick, sostapov, sseago, stcannon, sthirugn, stirabos, syedriko, teagle, tfister, thason, thavo, tmalecek, tsedmik, vereddy, veshanka, vimartin, vkrizan, vkumar, vmugicag, weaton, wenshen, whayutin, wtam, xdharmai, xiyuan, yguenane
Target Milestone: ---Keywords: Security
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: ---
Doc Text:
A denial-of-service vulnerability in github.com/sirupsen/logrus occurs when Entry.Writer() processes a single-line payload larger than 64KB with no newline characters. Due to a limitation in Go’s internal bufio.Scanner, the read operation fails with a “token too long” error, causing the underlying writer pipe to close. In affected versions, this leaves the Writer interface unusable and can disrupt logging functionality, potentially degrading application availability.
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: 2422162, 2422163, 2422164, 2422165, 2422166, 2422167, 2422168, 2422169, 2422170, 2422171, 2422172, 2422173, 2422174, 2422175, 2422176, 2422177, 2422178, 2422179, 2422180, 2422181, 2422182, 2422183, 2422184, 2422185, 2422186, 2422187, 2422188, 2422189, 2422190, 2422191, 2422192, 2422193, 2422194, 2422195, 2422196, 2422197, 2422198, 2422199, 2422200, 2422201, 2422202, 2422203, 2422204, 2422205, 2422206, 2422207, 2422208, 2422209, 2422210    
Bug Blocks:    

Description OSIDB Bzimport 2025-12-04 19:01:18 UTC
A denial-of-service vulnerability exists in github.com/sirupsen/logrus when using Entry.Writer() to log a single-line payload larger than 64KB without newline characters. Due to limitations in the internal bufio.Scanner, the read fails with "token too long" and the writer pipe is closed, leaving Writer() unusable and causing application unavailability (DoS). This affects versions < 1.8.3, 1.9.0, and 1.9.2. The issue is fixed in 1.8.3, 1.9.1, and 1.9.3+, where the input is chunked and the writer continues to function even if an error is logged.