Amazon Linux 1 Security Advisory: ALAS-2022-1654
Advisory Release Date: 2022-12-01 17:34 Pacific
Advisory Updated Date: 2022-12-10 00:37 Pacific
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. (CVE-2022-40674)
Affected Packages:
expat
Issue Correction:
Run yum update expat to update your system.
i686:
expat-2.1.0-15.32.amzn1.i686
expat-debuginfo-2.1.0-15.32.amzn1.i686
expat-devel-2.1.0-15.32.amzn1.i686
src:
expat-2.1.0-15.32.amzn1.src
x86_64:
expat-debuginfo-2.1.0-15.32.amzn1.x86_64
expat-devel-2.1.0-15.32.amzn1.x86_64
expat-2.1.0-15.32.amzn1.x86_64