Bug 2129709 (CVE-2022-38751)

Summary: CVE-2022-38751 snakeyaml: Uncaught exception in java.base/java.util.regex.Pattern$Ques.match
Product: [Other] Security Response Reporter: Sandipan Roy <saroy>
Component: vulnerabilityAssignee: Red Hat Product Security <security-response-team>
Status: CLOSED ERRATA QA Contact:
Severity: medium Docs Contact:
Priority: medium    
Version: unspecifiedCC: abenaiss, aboyko, aileenc, alazarot, anstephe, asoldano, ataylor, avibelli, balejosg, bbaranow, bbuckingham, bcourt, bgeorges, bmaxwell, boliveir, brian.stansberry, btotty, cdewolf, chazlett, clement.escoffier, cmoulliard, dandread, darran.lofthouse, didiksupriadi41, dkreling, dosoudil, ehelms, emingora, eric.wittmann, etirelli, fedoraproject.org, fjuma, fmongiar, gmalinko, gsmet, hamadhan, hhorak, ibek, ikanello, iweiss, janstey, jaromir.capik, java-sig-commits, jcantril, jerboaa, jnethert, jochrist, jolee, jorton, jpavlik, jpechane, jpoth, jrokos, jross, jschatte, jscholz, jsherril, jwon, kverlaen, ldemasi, lgao, loleary, lthon, lzap, martin.gieseking, mhulan, mizdebsk, mmccune, mmclaugh, mnovotny, mokumar, mo, mosmerov, msochure, msvehla, myarboro, nboldt, nmoumoul, nwallace, orabin, pantinor, pcreech, pdelbell, pdrozd, peholase, periklis, pgallagh, pjindal, pmackay, probinso, pskopek, rchan, rgodfrey, rguimara, rkieley, rrajasek, rruss, rstancel, rsvoboda, sbiarozk, scorneli, sdouglas, sgehwolf, smaestri, spinder, spotrh, sthorger, theute, tom.jenkinson, tzimanyi
Target Milestone: ---Keywords: Security
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
A flaw was found in the snakeyaml package due to a stack-overflow in parsing YAML files. By persuading a victim to open a specially-crafted file, a remote attacker could cause the application to crash.
Story Points: ---
Clone Of: Environment:
Last Closed: 2022-12-09 19:32:49 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: 2130441, 2130436, 2130437, 2130438, 2130439, 2130440, 2130442, 2130469, 2132658, 2132667, 2132668, 2132669, 2132670, 2132671, 2159176, 2159443    
Bug Blocks: 2124261    

Description Sandipan Roy 2022-09-26 06:02:47 UTC
Using snakeYAML to parse untrusted YAML files may be vulnerable to Denial of Service attacks (DOS). If the parser is running on user supplied input, an attacker may supply content that causes the parser to crash by stackoverflow.

https://bitbucket.org/snakeyaml/snakeyaml/issues/530/stackoverflow-oss-fuzz-47039
https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=47039

Comment 2 Sandipan Roy 2022-09-28 07:29:07 UTC
Created liblouisutdml tracking bugs for this issue:

Affects: fedora-all [bug 2130437]


Created picocli tracking bugs for this issue:

Affects: fedora-all [bug 2130438]


Created snakeyaml tracking bugs for this issue:

Affects: epel-all [bug 2130436]
Affects: fedora-all [bug 2130439]


Created texlive-base tracking bugs for this issue:

Affects: fedora-all [bug 2130440]

Comment 5 errata-xmlrpc 2022-10-05 14:50:52 UTC
This issue has been addressed in the following products:

  Red Hat build of Eclipse Vert.x 4.3.3

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

Comment 14 errata-xmlrpc 2022-11-17 13:40:33 UTC
This issue has been addressed in the following products:

  Red Hat Data Grid 8.4.0

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

Comment 15 errata-xmlrpc 2022-12-07 08:19:56 UTC
This issue has been addressed in the following products:

  Red Hat JBoss AMQ

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

Comment 16 Product Security DevOps Team 2022-12-09 19:32:44 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-38751

Comment 19 Nick Boldt 2023-01-10 01:39:24 UTC
For those wondering if the fix is live, see initial comment and click through to comment stating it's in: snakeyaml 1.31

Comment 20 errata-xmlrpc 2023-03-01 21:43:13 UTC
This issue has been addressed in the following products:

  Red Hat Single Sign-On 7.6 for RHEL 7

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

Comment 21 errata-xmlrpc 2023-03-01 21:45:39 UTC
This issue has been addressed in the following products:

  Red Hat Single Sign-On 7.6 for RHEL 8

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

Comment 22 errata-xmlrpc 2023-03-01 21:48:12 UTC
This issue has been addressed in the following products:

  Red Hat Single Sign-On 7.6 for RHEL 9

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

Comment 23 errata-xmlrpc 2023-03-01 21:50:56 UTC
This issue has been addressed in the following products:

  RHEL-8 based Middleware Containers

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

Comment 24 errata-xmlrpc 2023-03-01 21:59:08 UTC
This issue has been addressed in the following products:

  Red Hat Single Sign-On

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

Comment 25 errata-xmlrpc 2023-05-03 13:19:42 UTC
This issue has been addressed in the following products:

  Red Hat Satellite 6.13 for RHEL 8

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

Comment 26 errata-xmlrpc 2023-05-03 14:05:44 UTC
This issue has been addressed in the following products:

  RHINT Camel-Springboot 3.20.1

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

Comment 27 errata-xmlrpc 2023-06-15 15:23:51 UTC
This issue has been addressed in the following products:

  RHINT Camel-Springboot 3.18.3.P2

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