Bug 2107386 (CVE-2022-30632)

Summary: CVE-2022-30632 golang: path/filepath: stack exhaustion in Glob
Product: [Other] Security Response Reporter: Anten Skrabec <askrabec>
Component: vulnerabilityAssignee: Red Hat Product Security <security-response-team>
Status: CLOSED ERRATA QA Contact:
Severity: medium Docs Contact:
Priority: medium    
Version: unspecifiedCC: abishop, acui, adam.kaplan, admiller, adudiak, agarcial, agerstmayr, akashem, akostadi, akoutsou, alakatos, alcohan, alexander.bulimov, amackenz, amasferr, amctagga, amurdaca, andrew.jeddeloh, anjoseph, anon.amish, ansmith, anthomas, aoconnor, aos-network-edge-staff, aos-odin-bot, aos-team-ota, apevec, aputtur, asm, athoscribeiro, aveerama, bbaude, bbennett, bbuckingham, bcl, bcoca, bcourt, bdettelb, bgilbert, bkundu, blaise, bmontgom, bniver, bodavis, bperkins, bradley.g.smith, brking, bthurber, carl, carmelo.sarta.main, cbartlet, cdaley, chazlett, chousekn, cmarinea, cmeyers, code, comzeradd, container-sig, crizzo, dagray, danken, davide, davidn, dbenoit, debarshir, deepinde-sig, denis, deparker, dfreiber, dhanak, dmayorov, doconnor, dornelas, dperaza, drow, dsimansk, dustymabe, dwalsh, dwd, dwest, dwhatley, dymurray, ebakerupw, eclipseo, eduardo.ramalho, eglynn, ego.cordatus, ehelms, emachado, eparis, epel-packagers-sig, ericedens, esm, extras-orphan, fdeutsch, filbranden, fjansen, flucifre, fpokorny, gblomqui, gchamoul, ggainey, gmeno, go-sig, gparvin, grafana-maint, gscrivan, haoli, hhorak, hkataria, ibolton, iboverma, i, ijolliff, infra-sig, inoton, jacding, jaharrin, jajackso, jbrooks, jburrell, jcajka, jcammara, jchaloup, jchui, jeder, jhadvig, jhardy, jhrozek, jitsingh, jjelen, jjoyce, jlieskov, jligon, jlledo, jmatthew, jmencak, jmitchel, jmontleo, jneedle, jnovy, jobarker, jonathan, jorton, jpadman, jprabhak, jramanat, jschluet, jsherril, juwatts, jvymazal, jwboyer, jwendell, jwon, kegrant, kgiusti, kingland, koliveir, kolyshkin, kshier, ktokunaga.mail, kvanderr, kverlaen, kwalker, lacypret, lball, lbragsta, lchilton, lemenkov, lhh, lkiesow, lkundrak, lmadsen, lmeyer, lsm5, lsvaty, lzap, mabashia, maciek.borzecki, mah.darade, manissin, marcandre.lureau, mark.e.fuller, mattia.verga, matzew, maxwell, mbenjamin, mboddu, mburns, mcressma, me, me, mfojtik, mgarciac, mgoodwin, mhackett, mheon, mhulan, miabbott, michel, miminar, mkudlej, mmagr, mmakovy, mmccune, mnewsome, mnovotny, mrunge, mrussell, mskalicky, mwringe, nathans, ngompa13, njean, nmoumoul, nobody, notting, nparekh, nstielau, n.yaghoobi.s, obudai, obulatov, ocp-storage-bot, ocs-bugs, o.lemasle, omaciel, openshift-release-oversight, opohorel, orabin, oramraz, osapryki, osbuilders, oskutka, osousa, owatkins, pahickey, pakotvan, patrick, paul, paul.wouters, pbraun, pcreech, pegoncal, peholase, pehunt, pgaikwad, pgrist, philipp, pierdipi, pjindal, pknezevi, pkubat, ploffay, podvody, pthomas, quantum.analyst, rakesh.pandit, rcernich, rchan, redhat, relrod, rguimara, rhaigner, rh.container.bot, rhcos-sst, rhcos-triage, rhos-maint, rhuss, rjohnson, robinlee.sysu, rominf, rpetrell, rphillips, rsroka, ryncsn, sanchezl, sanne.raymaekers, santiago, saroy, sausingh, scorneli, sdoran, sejug, sfeifer, sgott, shvarugh, simaishi, sipoyare, skontopo, skunkerk, slaznick, slucidi, smallamp, smcdonal, smullick, sostapov, spandura, sponnaga, spower, spresti, sseago, ssteinbe, stcannon, stirabos, strigazi, surbania, teagle, team-winc-bot, tfister, tgunders, thason, thavo, thrcka, TicoTimo, tjochec, tkorbar, tkuratom, tosykora, trathi, travier, tsedovic, tstellar, tsweeney, ttomecek, twalsh, ubhargav, uhhadd, umohnani, user-cont-team+packit-fas, vereddy, vimartin, vkareh, vkumar, walters, wenshen, whayutin, wtam, xiyuan, xxia, yanqiyu01, yguenane, yselkowi, ytale, zdohnal, zfridric
Target Milestone: ---Keywords: Security
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: golang 1.18.4, golang 1.17.12 Doc Type: If docs needed, set a value
Doc Text:
A flaw was found in golang. Calling Glob on a path that contains a large number of path separators can cause a panic issue due to stack exhaustion. This can cause an attacker to impact availability.
Story Points: ---
Clone Of: Environment:
Last Closed: 2023-05-17 00:35:07 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: 2115532, 2107387, 2109914, 2109915, 2109916, 2109917, 2110276, 2110336, 2111001, 2111496, 2111746, 2111747, 2111752, 2111753, 2111758, 2111759, 2111760, 2111765, 2111766, 2111767, 2111772, 2111773, 2111774, 2111775, 2111782, 2111783, 2111786, 2111789, 2111790, 2111791, 2111796, 2111797, 2111798, 2111803, 2111805, 2111806, 2111807, 2111808, 2111816, 2111821, 2111822, 2111823, 2111826, 2111827, 2111828, 2111829, 2111830, 2111831, 2111833, 2112009, 2112010, 2115530, 2115531, 2115533, 2115534, 2115535, 2115536, 2115537, 2115538, 2115539, 2115540, 2115541, 2115543, 2115544, 2115545, 2115546, 2115547, 2115548, 2115549, 2115550, 2115551, 2123509, 2123510, 2123514, 2123748, 2123750, 2123754, 2134423, 2134424, 2168805    
Bug Blocks: 2108341    

Description Anten Skrabec 2022-07-14 21:33:11 UTC
Calling Glob on a path which contains a large number of path separators can cause a panic due to stack exhaustion.

Comment 1 Anten Skrabec 2022-07-14 21:33:28 UTC
Created golang tracking bugs for this issue:

Affects: fedora-all [bug 2107387]

Comment 8 Avinash Hanwate 2022-07-25 08:52:41 UTC
Created golang tracking bugs for this issue:

Affects: epel-all [bug 2110336]

Comment 30 errata-xmlrpc 2022-08-01 12:04:32 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 8

Via RHSA-2022:5775 https://access.redhat.com/errata/RHSA-2022:5775

Comment 31 errata-xmlrpc 2022-08-01 16:04:29 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 9

Via RHSA-2022:5799 https://access.redhat.com/errata/RHSA-2022:5799

Comment 32 errata-xmlrpc 2022-08-02 09:53:56 UTC
This issue has been addressed in the following products:

  Red Hat Developer Tools

Via RHSA-2022:5866 https://access.redhat.com/errata/RHSA-2022:5866

Comment 34 errata-xmlrpc 2022-08-10 11:37:54 UTC
This issue has been addressed in the following products:

  Openshift Serverless 1 on RHEL 8

Via RHSA-2022:6042 https://access.redhat.com/errata/RHSA-2022:6042

Comment 35 errata-xmlrpc 2022-08-10 13:16:45 UTC
This issue has been addressed in the following products:

  Openshift Serveless 1.24

Via RHSA-2022:6040 https://access.redhat.com/errata/RHSA-2022:6040

Comment 36 errata-xmlrpc 2022-08-18 15:11:22 UTC
This issue has been addressed in the following products:

  Application Interconnect 1 for RHEL 8

Via RHSA-2022:6113 https://access.redhat.com/errata/RHSA-2022:6113

Comment 37 errata-xmlrpc 2022-08-25 11:21:42 UTC
This issue has been addressed in the following products:

  Node Maintenance Operator 4.11 for RHEL 8

Via RHSA-2022:6188 https://access.redhat.com/errata/RHSA-2022:6188

Comment 38 errata-xmlrpc 2022-08-31 18:49:24 UTC
This issue has been addressed in the following products:

  OSSM-2.2-RHEL-8

Via RHSA-2022:6283 https://access.redhat.com/errata/RHSA-2022:6283

Comment 39 errata-xmlrpc 2022-09-01 05:41:38 UTC
This issue has been addressed in the following products:

  OSSO-1.1-RHEL-8

Via RHSA-2022:6152 https://access.redhat.com/errata/RHSA-2022:6152

Comment 40 errata-xmlrpc 2022-09-06 12:59:17 UTC
This issue has been addressed in the following products:

  Red Hat Advanced Cluster Management for Kubernetes 2.6 for RHEL 8

Via RHSA-2022:6347 https://access.redhat.com/errata/RHSA-2022:6347

Comment 41 errata-xmlrpc 2022-09-06 13:03:23 UTC
This issue has been addressed in the following products:

  Red Hat Advanced Cluster Management for Kubernetes 2.6 for RHEL 8

Via RHSA-2022:6346 https://access.redhat.com/errata/RHSA-2022:6346

Comment 42 errata-xmlrpc 2022-09-06 13:43:41 UTC
This issue has been addressed in the following products:

  Red Hat Advanced Cluster Management for Kubernetes 2.5 for RHEL 8

Via RHSA-2022:6348 https://access.redhat.com/errata/RHSA-2022:6348

Comment 43 errata-xmlrpc 2022-09-06 14:34:56 UTC
This issue has been addressed in the following products:

  multicluster engine for Kubernetes 2.1 for RHEL 8

Via RHSA-2022:6345 https://access.redhat.com/errata/RHSA-2022:6345

Comment 44 errata-xmlrpc 2022-09-06 22:30:17 UTC
This issue has been addressed in the following products:

  Red Hat Advanced Cluster Management for Kubernetes 2.6 for RHEL 8

Via RHSA-2022:6370 https://access.redhat.com/errata/RHSA-2022:6370

Comment 51 errata-xmlrpc 2022-10-19 22:20:17 UTC
This issue has been addressed in the following products:

  OSE-OSC-1.3-RHEL-8

Via RHSA-2022:7058 https://access.redhat.com/errata/RHSA-2022:7058

Comment 52 errata-xmlrpc 2022-10-25 09:30:17 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 8

Via RHSA-2022:7129 https://access.redhat.com/errata/RHSA-2022:7129

Comment 55 errata-xmlrpc 2022-11-08 09:24:29 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 8

Via RHSA-2022:7519 https://access.redhat.com/errata/RHSA-2022:7519

Comment 56 errata-xmlrpc 2022-11-08 09:29:32 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 8

Via RHSA-2022:7529 https://access.redhat.com/errata/RHSA-2022:7529

Comment 57 errata-xmlrpc 2022-11-08 10:00:39 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 8

Via RHSA-2022:7648 https://access.redhat.com/errata/RHSA-2022:7648

Comment 58 errata-xmlrpc 2022-11-15 10:07:26 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 9

Via RHSA-2022:8057 https://access.redhat.com/errata/RHSA-2022:8057

Comment 59 errata-xmlrpc 2022-11-15 10:15:49 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 9

Via RHSA-2022:8098 https://access.redhat.com/errata/RHSA-2022:8098

Comment 60 errata-xmlrpc 2022-11-15 10:44:22 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 9

Via RHSA-2022:8250 https://access.redhat.com/errata/RHSA-2022:8250

Comment 63 errata-xmlrpc 2022-11-28 02:51:39 UTC
This issue has been addressed in the following products:

  OADP-1.1-RHEL-8

Via RHSA-2022:8634 https://access.redhat.com/errata/RHSA-2022:8634

Comment 66 errata-xmlrpc 2022-12-15 01:58:20 UTC
This issue has been addressed in the following products:

  Red Hat Migration Toolkit for Containers 1.7

Via RHSA-2022:9047 https://access.redhat.com/errata/RHSA-2022:9047

Comment 80 errata-xmlrpc 2023-01-24 12:49:39 UTC
This issue has been addressed in the following products:

  RHEL-8-CNV-4.12
  RHEL-7-CNV-4.12

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

Comment 81 errata-xmlrpc 2023-01-24 13:35:23 UTC
This issue has been addressed in the following products:

  RHEL-8-CNV-4.12

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

Comment 92 errata-xmlrpc 2023-03-06 18:39:59 UTC
This issue has been addressed in the following products:

  OpenShift Custom Metrics Autoscaler 2

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

Comment 94 errata-xmlrpc 2023-03-15 19:55:39 UTC
This issue has been addressed in the following products:

  Red Hat OpenStack Platform 16.1
  Red Hat OpenStack Platform 16.2

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

Comment 95 errata-xmlrpc 2023-03-30 00:43:37 UTC
This issue has been addressed in the following products:

  STF-1.5-RHEL-8

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

Comment 97 errata-xmlrpc 2023-05-09 07:34:47 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 9

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

Comment 101 errata-xmlrpc 2023-05-16 08:09:08 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 8

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

Comment 102 errata-xmlrpc 2023-05-16 08:13:51 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 8

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

Comment 104 Product Security DevOps Team 2023-05-17 00:34:53 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-2022-30632

Comment 105 errata-xmlrpc 2023-06-15 16:00:23 UTC
This issue has been addressed in the following products:

  Red Hat Ceph Storage 6.1

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

Comment 107 errata-xmlrpc 2024-04-30 09:45:03 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 9

Via RHSA-2024:2180 https://access.redhat.com/errata/RHSA-2024:2180