Bug 2219310 (CVE-2023-26136)

Summary: CVE-2023-26136 tough-cookie: prototype pollution in cookie memstore
Product: [Other] Security Response Reporter: TEJ RATHI <trathi>
Component: vulnerabilityAssignee: Nobody <nobody>
Status: NEW --- QA Contact:
Severity: medium Docs Contact:
Priority: medium    
Version: unspecifiedCC: aazores, abobrov, adupliak, aileenc, alampare, alazarot, amctagga, andrew.slice, aoconnor, asoldano, aveerama, bbaranow, bbuckingham, bcourt, bdettelb, bmaxwell, bniver, bodavis, brian.stansberry, cdewolf, chazlett, cluster-maint, darran.lofthouse, dbhole, dcadzow, dfreiber, dhanak, dkenigsb, dkreling, dosoudil, dsimansk, dymurray, eaguilar, ebaron, ehelms, elima, ellin, emingora, erack, eric.wittmann, fdeutsch, fjuma, flucifre, fzatlouk, gjospin, gmalinko, gmeno, gparvin, grafana-maint, gzaronik, hbraun, hhorak, ibek, ibolton, idevat, idm-ds-dev-bugs, ivassile, iweiss, janstey, jburrell, jcantril, jhorak, jkang, jkoehler, jkurik, jmatthew, jmontleo, jorton, jpallich, jrokos, jscotka, jshaughn, jsherril, jwendell, jweng, kanderso, klember, kverlaen, lbacciot, lball, lgao, lvaleeva, lzap, matzew, mbenjamin, mhackett, mhulan, mlisik, mnovotny, mosmerov, mpitt, mpospisi, msochure, mstefank, msvehla, mwringe, myarboro, nathans, nbecker, nboldt, njean, nmoumoul, nodejs-maint, nwallace, omajid, omular, orabin, oramraz, owatkins, pahickey, pantinor, pcreech, pdelbell, peholase, periklis, pjindal, pmackay, rcernich, rchan, release-test-team, rgarg, rguimara, rhuss, rjohnson, rogbas, rstancel, rwagner, saroy, scorneli, scox, sfroberg, sgott, shbose, skontopo, slucidi, smaestri, smullick, sostapov, sseago, stcannon, stransky, teagle, tojeline, tom.jenkinson, tpopela, twalsh, ubhargav, vereddy, vkumar, zsvetlik
Target Milestone: ---Keywords: Reopened, Security
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: tough-cookie 4.1.3 Doc Type: If docs needed, set a value
Doc Text:
A flaw was found in the tough-cookie package. Affected versions of the tough-cookie package could allow a remote attacker to execute arbitrary code on the system caused by a prototype pollution flaw due to improper handling of Cookies when using CookieJar in rejectPublicSuffixes=false mode.
Story Points: ---
Clone Of: Environment:
Last Closed: 2023-07-12 22:50:46 UTC 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: 2219314, 2219315, 2219316, 2219318, 2219319, 2219320, 2219336, 2219337, 2219338, 2219339, 2220673, 2220674, 2220675, 2220677, 2220678, 2220679, 2220680, 2220682, 2223508, 2219321, 2219322, 2219325, 2219346, 2219347, 2220676, 2220681    
Bug Blocks: 2219348    

Description TEJ RATHI 2023-07-03 08:18:43 UTC
Versions of the package tough-cookie before 4.1.3 are vulnerable to Prototype Pollution due to improper handling of Cookies when using CookieJar in rejectPublicSuffixes=false mode. This issue arises from the manner in which the objects are initialized.

https://security.snyk.io/vuln/SNYK-JS-TOUGHCOOKIE-5672873
https://github.com/salesforce/tough-cookie/issues/282
https://github.com/salesforce/tough-cookie/commit/12d474791bb856004e858fdb1c47b7608d09cf6e
https://github.com/salesforce/tough-cookie/releases/tag/v4.1.3

Comment 8 Avinash Hanwate 2023-07-06 03:43:53 UTC
Created breeze-icon-theme tracking bugs for this issue:

Affects: epel-all [bug 2220673]
Affects: fedora-all [bug 2220678]


Created dotnet6.0 tracking bugs for this issue:

Affects: fedora-all [bug 2220679]


Created dotnet7.0 tracking bugs for this issue:

Affects: fedora-all [bug 2220680]


Created golang-github-prometheus tracking bugs for this issue:

Affects: epel-all [bug 2220674]


Created nodejs:13/nodejs tracking bugs for this issue:

Affects: epel-all [bug 2220675]


Created seamonkey tracking bugs for this issue:

Affects: epel-all [bug 2220676]
Affects: fedora-all [bug 2220681]


Created yarnpkg tracking bugs for this issue:

Affects: epel-all [bug 2220677]
Affects: fedora-all [bug 2220682]

Comment 12 errata-xmlrpc 2023-07-12 17:58:07 UTC
This issue has been addressed in the following products:

  RHOL-5.7-RHEL-8

Via RHSA-2023:3998 https://access.redhat.com/errata/RHSA-2023:3998

Comment 13 Product Security DevOps Team 2023-07-12 22:50:37 UTC
This bug is now closed. Further updates for individual products will be reflected on the CVE page(s):

https://access.redhat.com/security/cve/cve-2023-26136

Comment 14 Avinash Hanwate 2023-07-18 05:27:39 UTC
Created golang-github-prometheus tracking bugs for this issue:

Affects: fedora-all [bug 2223508]