Bug 2056354 (CVE-2022-25314) - CVE-2022-25314 expat: Integer overflow in copyString()
Summary: CVE-2022-25314 expat: Integer overflow in copyString()
Keywords:
Status: CLOSED ERRATA
Alias: CVE-2022-25314
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Red Hat Product Security
QA Contact:
URL:
Whiteboard:
Depends On: 2058345 2056355 2056356 2057097 2057098 2057099 2057100 2057432 2058346 2070460 2078826 2078933
Blocks: 2056373
TreeView+ depends on / blocked
 
Reported: 2022-02-21 04:45 UTC by Avinash Hanwate
Modified: 2022-12-03 23:03 UTC (History)
39 users (show)

Fixed In Version: expat 2.4.5
Doc Type: If docs needed, set a value
Doc Text:
An integer overflow flaw was found in expat. This issue affects the encoding name parameter at the parser creation time, which is often hard-coded (rather than user input), takes a value in the gigabytes to trigger, and on a 64-bit machine. This flaw can cause a denial of service.
Clone Of:
Environment:
Last Closed: 2022-12-03 23:03:19 UTC


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHSA-2022:5244 0 None None None 2022-06-28 14:58:40 UTC
Red Hat Product Errata RHSA-2022:5314 0 None None None 2022-06-28 18:31:40 UTC
Red Hat Product Errata RHSA-2022:7143 0 None None None 2022-10-26 20:21:50 UTC
Red Hat Product Errata RHSA-2022:7144 0 None None None 2022-10-26 20:08:20 UTC
Red Hat Product Errata RHSA-2022:7811 0 None None None 2022-11-08 10:34:20 UTC

Description Avinash Hanwate 2022-02-21 04:45:04 UTC
In Expat (aka libexpat) before 2.4.5, there is an integer overflow in copyString.

https://github.com/libexpat/libexpat/pull/560
http://www.openwall.com/lists/oss-security/2022/02/19/1

Comment 1 Avinash Hanwate 2022-02-21 04:45:40 UTC
Created expat tracking bugs for this issue:

Affects: fedora-all [bug 2056356]


Created mingw-expat tracking bugs for this issue:

Affects: fedora-all [bug 2056355]

Comment 2 Mauro Matteo Cascella 2022-02-22 17:57:12 UTC
Upstream commit:
https://github.com/libexpat/libexpat/commit/efcb347440ade24b9f1054671e6bd05e60b4cafd

Comment 5 Mauro Matteo Cascella 2022-02-23 11:52:01 UTC
Created xmlrpc-c tracking bugs for this issue:

Affects: fedora-all [bug 2057432]

Comment 10 errata-xmlrpc 2022-06-28 14:58:35 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 9

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

Comment 11 errata-xmlrpc 2022-06-28 18:31:35 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 8

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

Comment 12 errata-xmlrpc 2022-10-26 20:08:17 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 13 errata-xmlrpc 2022-10-26 20:21:45 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 15 errata-xmlrpc 2022-11-08 10:34:16 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 8

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

Comment 16 Product Security DevOps Team 2022-12-03 23:03:14 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-25314


Note You need to log in before you can comment on or make changes to this bug.