Advisory

ALSA-2022:0951

Also known as: CVE-2021-45960, CVE-2021-46143, CVE-2022-22822, CVE-2022-22823, CVE-2022-22824, CVE-2022-22825, CVE-2022-22826, CVE-2022-22827, CVE-2022-23852, CVE-2022-25235, CVE-2022-25236, CVE-2022-25315

Summary

Important: expat security update

Details

Expat is a C library for parsing XML documents.
Security Fix(es):

  • expat: Malformed 2- and 3-byte UTF-8 sequences can lead to arbitrary code execution (CVE-2022-25235)
  • expat: Namespace-separator characters in "xmlns[:prefix]" attribute values can lead to arbitrary code execution (CVE-2022-25236)
  • expat: Integer overflow in storeRawNames() (CVE-2022-25315)
  • expat: Large number of prefixed XML attributes on a single tag can crash libexpat (CVE-2021-45960)
  • expat: Integer overflow in doProlog in xmlparse.c (CVE-2021-46143)
  • expat: Integer overflow in addBinding in xmlparse.c (CVE-2022-22822)
  • expat: Integer overflow in build_model in xmlparse.c (CVE-2022-22823)
  • expat: Integer overflow in defineAttribute in xmlparse.c (CVE-2022-22824)
  • expat: Integer overflow in lookup in xmlparse.c (CVE-2022-22825)
  • expat: Integer overflow in nextScaffoldPart in xmlparse.c (CVE-2022-22826)
  • expat: Integer overflow in storeAtts in xmlparse.c (CVE-2022-22827)
  • expat: Integer overflow in function XML_GetBuffer (CVE-2022-23852)

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.

Severity

Not rated by the source.

Dates

Published
2022-03-16 00:00 UTC
Modified
2026-10-29 11:01 UTC

Affected packages and fixes

expat

RPM packages (rpm) · AlmaLinux 8

Affected

  • introduced 0, fixed 2.2.5-8.el8_6.2 (ecosystem)

Fixed versions

2.2.5-8.el8_6.2

Fix

  • Fixed version 2.2.5-8.el8_6.2
    sudo dnf upgrade expat-2.2.5-8.el8_6.2

expat-devel

RPM packages (rpm) · AlmaLinux 8

Affected

  • introduced 0, fixed 2.2.5-8.el8_6.2 (ecosystem)

Fixed versions

2.2.5-8.el8_6.2

Fix

  • Fixed version 2.2.5-8.el8_6.2
    sudo dnf upgrade expat-devel-2.2.5-8.el8_6.2

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: AlmaLinux OSV database · MIT

Sources & licences