RHSA-2022:6831: Important: expat security update

Published Oct 6, 2022
·
Updated

Expat is a C library for parsing XML documents.Security Fix(es): expat: a use-after-free in the doContent function in xmlparse.c (CVE-2022-40674) For more details about the security issue(s), including the impact, a CVSS score, acknowledgments, and other related information, refer to the CVE page(s) listed in the References section.

Affected Software

16 affected componentsFixes available
redhat/expat<2.2.5-4.el8_4.4
2.2.5-4.el8_4.4
redhat/expat<2.2.5-4.el8_4.4
2.2.5-4.el8_4.4
redhat/expat-debuginfo<2.2.5-4.el8_4.4
2.2.5-4.el8_4.4
redhat/expat-debuginfo<2.2.5-4.el8_4.4
2.2.5-4.el8_4.4
redhat/expat-debugsource<2.2.5-4.el8_4.4
2.2.5-4.el8_4.4
redhat/expat-debugsource<2.2.5-4.el8_4.4
2.2.5-4.el8_4.4
redhat/expat-devel<2.2.5-4.el8_4.4
2.2.5-4.el8_4.4
redhat/expat-devel<2.2.5-4.el8_4.4
2.2.5-4.el8_4.4
redhat/expat<2.2.5-4.el8_4.4
2.2.5-4.el8_4.4
redhat/expat-debuginfo<2.2.5-4.el8_4.4
2.2.5-4.el8_4.4
redhat/expat-debugsource<2.2.5-4.el8_4.4
2.2.5-4.el8_4.4
redhat/expat-devel<2.2.5-4.el8_4.4
2.2.5-4.el8_4.4
redhat/expat<2.2.5-4.el8_4.4.aa
2.2.5-4.el8_4.4.aa
redhat/expat-debuginfo<2.2.5-4.el8_4.4.aa
2.2.5-4.el8_4.4.aa
redhat/expat-debugsource<2.2.5-4.el8_4.4.aa
2.2.5-4.el8_4.4.aa
redhat/expat-devel<2.2.5-4.el8_4.4.aa
2.2.5-4.el8_4.4.aa

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade redhat/expat to a version that resolves this vulnerability.

    Fixed in 2.2.5-4.el8_4.4
  2. Upgrade

    Upgrade redhat/expat-debuginfo to a version that resolves this vulnerability.

    Fixed in 2.2.5-4.el8_4.4
  3. Upgrade

    Upgrade redhat/expat-debugsource to a version that resolves this vulnerability.

    Fixed in 2.2.5-4.el8_4.4
  4. Upgrade

    Upgrade redhat/expat-devel to a version that resolves this vulnerability.

    Fixed in 2.2.5-4.el8_4.4
  5. Upgrade

    Upgrade redhat/expat to a version that resolves this vulnerability.

    Fixed in 2.2.5-4.el8_4.4.aa
  6. Upgrade

    Upgrade redhat/expat-debuginfo to a version that resolves this vulnerability.

    Fixed in 2.2.5-4.el8_4.4.aa
  7. Upgrade

    Upgrade redhat/expat-debugsource to a version that resolves this vulnerability.

    Fixed in 2.2.5-4.el8_4.4.aa
  8. Upgrade

    Upgrade redhat/expat-devel to a version that resolves this vulnerability.

    Fixed in 2.2.5-4.el8_4.4.aa
  9. Upgrade

    Upgrade expat to a version that resolves this vulnerability.

    Patch CVE-2022-40674
  10. Operational

    After installing the updated expat packages that address CVE-2022-40674, restart any applications using the Expat library for the update to take effect.

Event History

Oct 6, 2022
Advisory Published
via Red Hat·12:00 AM

Frequently Asked Questions

1

What is the severity of RHSA-2022:6831?

The severity of RHSA-2022:6831 is classified as important.

2

How do I fix RHSA-2022:6831?

To fix RHSA-2022:6831, update the expat package to version 2.2.5-4.el8_4.4 or later.

3

What does the vulnerability in RHSA-2022:6831 affect?

The vulnerability in RHSA-2022:6831 affects the Expat C library used for parsing XML documents.

4

What is CVE-2022-40674 related to RHSA-2022:6831?

CVE-2022-40674 identifies a use-after-free vulnerability in the doContent function within the xmlparse.c file.

5

Is there a workaround for RHSA-2022:6831?

There is no specific workaround for RHSA-2022:6831; updating the affected packages is recommended.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203