Skip to content
OpenAdvisories
High ALAS2-2022-1877 1 CVE

Important: expat security update (Amazon Linux 2)

Published Oct 31, 2022 · Updated Nov 8, 2022

Summary

Package updates are available for Amazon Linux 2 that fix the following vulnerabilities: CVE-2022-40674: A vulnerability was found in expat. With this flaw, it is possible to create a situation in which parsing is suspended while substituting in an internal entity so that XML_ResumeParser directly uses the internalEntityProcessor as its processor. If the subsequent parse includes some unclosed tags, this will return without calling storeRawNames to ensure that the raw versions of the tag names are stored in memory other than the parse buffer itself. Issues occur if the parse buffer is changed or reallocated (for example, if processing a file line by line), problems occur. Using this vulnerability in the doContent function allows an attacker to triage a denial of service or potentially arbitrary code execution.

Fixed packages 4

ReleasePackageFixed in
Amazon Linux · 2 expat 0:2.1.0-15.amzn2.0.1
Amazon Linux · 2 expat-debuginfo 0:2.1.0-15.amzn2.0.1
Amazon Linux · 2 expat-devel 0:2.1.0-15.amzn2.0.1
Amazon Linux · 2 expat-static 0:2.1.0-15.amzn2.0.1

Vulnerabilities 1

References

  • web
    https://alas.aws.amazon.com/cve/html/CVE-2022-40674.html