Bug 2044457 (CVE-2022-22822)

Summary: CVE-2022-22822 expat: Integer overflow in addBinding in xmlparse.c
Product: [Other] Security Response Reporter: Pedro Sampaio <psampaio>
Component: vulnerabilityAssignee: Red Hat Product Security <security-response-team>
Status: CLOSED ERRATA QA Contact:
Severity: medium Docs Contact:
Priority: medium    
Version: unspecifiedCC: abrt-devel-list, adudiak, aprice, bdettelb, caswilli, cschalle, csutherl, dfreiber, doconnor, drow, erack, fhrdina, fjansen, gotiwari, gzaronik, hkataria, jburrell, jclere, jdobes, jforrest, jhorak, jkoehler, jmitchel, jorton, jsamir, jtanner, jwong, jwon, kaycoth, kholdawa, krathod, kshier, lcouzens, lphiri, micjohns, mpierce, mskarbek, mturk, mvyas, nobody, oezr, omaciel, orabin, pjindal, plodge, psegedy, rblanco, rcritten, stcannon, sthirugn, stransky, szappis, tcarlin, teagle, tfister, tkasparek, tkorbar, tpopela, tsasak, vkrizan, vkumar, vmugicag, yguenane
Target Milestone: ---Keywords: Security
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: expat 2.4.3 Doc Type: If docs needed, set a value
Doc Text:
expat (libexpat) is susceptible to a software flaw that causes process interruption. When processing a large number of prefixed XML attributes on a single tag libexpat can terminate unexpectedly due to integer overflow. The highest threat from this vulnerability is to availability confidentiality and integrity.
Story Points: ---
Clone Of: Environment:
Last Closed: 2022-05-05 01:45:29 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: 2053208, 2044458, 2052254, 2052255, 2052256, 2052257, 2052258, 2052259, 2052260, 2058567, 2058568, 2058569, 2058570, 2058571, 2058572, 2060192, 2060197, 2060199, 2060203, 2060208, 2060210    
Bug Blocks: 2044492    

Description Pedro Sampaio 2022-01-24 16:29:38 UTC
addBinding in xmlparse.c in Expat (aka libexpat) before 2.4.3 has an integer overflow. 

References:

https://github.com/libexpat/libexpat/pull/539
http://www.openwall.com/lists/oss-security/2022/01/17/3

Comment 1 Pedro Sampaio 2022-01-24 16:29:58 UTC
Created expat tracking bugs for this issue:

Affects: fedora-all [bug 2044458]

Comment 10 errata-xmlrpc 2022-03-16 16:16:38 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 8

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

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

  Red Hat Enterprise Linux 7

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

Comment 12 Product Security DevOps Team 2022-05-05 01:45:25 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-22822

Comment 14 errata-xmlrpc 2022-10-26 20:07:30 UTC
This issue has been addressed in the following products:

  Red Hat JBoss Core Services

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

Comment 15 errata-xmlrpc 2022-10-26 20:20:53 UTC
This issue has been addressed in the following products:

  JBoss Core Services on RHEL 7
  JBoss Core Services for RHEL 8

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

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

  Red Hat Enterprise Linux 8

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