Bug 2370891 (CVE-2025-49128)

Summary: CVE-2025-49128 com.fasterxml.jackson.core/jackson-core: Jackson-core Memory Disclosure via Source Snippet in JsonLocation
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: aazores, abrianik, amctagga, anstephe, anthomas, aoconnor, aprice, aschwart, asoldano, ataylor, avibelli, bbaranow, bgeorges, bmaxwell, bniver, boliveir, brian.stansberry, caswilli, ccranfor, cdewolf, chfoley, clement.escoffier, cmah, cmiranda, dandread, darran.lofthouse, davidn, dbruscin, dfreiber, dhanak, dkreling, dnakabaa, dosoudil, drosa, drow, dsimansk, eaguilar, ebaron, ehelms, eric.wittmann, fjuma, flucifre, fmariani, fmongiar, ggainey, ggrzybek, gmalinko, gmeno, gsmet, haoli, hkataria, ibek, istudens, ivassile, iweiss, jajackso, janstey, jburrell, jbuscemi, jcammara, jcantril, jkoehler, jmartisk, jmitchel, jneedle, jnethert, jolong, jpechane, jpoth, jrokos, jross, jsamir, jscholz, juwatts, kaycoth, kegrant, kgaikwad, kholdawa, kingland, koliveir, kshier, kvanderr, kverlaen, lcouzens, lgao, lphiri, lthon, mabashia, manderse, matzew, mbenjamin, mhackett, mhulan, mnovotny, mosmerov, mposolda, mskarbek, msochure, msvehla, nipatil, nmoumoul, nwallace, oezr, olubyans, osousa, pantinor, parichar, pbizzarr, pbraun, pcongius, pcreech, pdelbell, periklis, pesilva, pgallagh, pjindal, pmackay, probinso, rchan, rkieley, rkubis, rojacob, rruss, rstancel, rstepani, rsvoboda, sausingh, sbiarozk, sdawley, shvarugh, simaishi, smaestri, smallamp, smcdonal, sostapov, ssilvert, stcannon, sthirugn, sthorger, swoodman, tasato, tcunning, teagle, tfister, thavo, tom.jenkinson, tqvarnst, vereddy, vkrizan, vkumar, vmuzikar, yfang, yguenane
Target Milestone: ---Keywords: Security
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: ---
Doc Text:
A flaw was found in the Jackson-core `JsonLocation._appendSourceDesc` method. This vulnerability allows up to 500 bytes of unintended memory content to be included in exception messages. This issue may lead to unintended information disclosure.
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: 2370894, 2370895, 2370896, 2370897, 2370898, 2370899, 2370900, 2370901, 2370902, 2370903, 2370904    
Bug Blocks:    

Description OSIDB Bzimport 2025-06-06 22:01:07 UTC
Jackson-core contains core low-level incremental ("streaming") parser and generator abstractions used by Jackson Data Processor. Starting in version 2.0.0 and prior to version 2.13.0, a flaw in jackson-core's `JsonLocation._appendSourceDesc` method allows up to 500 bytes of unintended memory content to be included in exception messages. When parsing JSON from a byte array with an offset and length, the exception message incorrectly reads from the beginning of the array instead of the logical payload start. This results in possible information disclosure in systems using pooled or reused buffers, like Netty or Vert.x. This issue was silently fixed in jackson-core version 2.13.0, released on September 30, 2021, via PR #652. All users should upgrade to version 2.13.0 or later. If upgrading is not immediately possible, applications can mitigate the issue by disabling exception message exposure to clients to avoid returning parsing exception messages in HTTP responses and/or disabling source inclusion in exceptions to prevent Jackson from embedding any source content in exception messages, avoiding leakage.