Lucene search

K
redhatcveRedhat.comRH:CVE-2022-40674
HistorySep 29, 2022 - 5:18 a.m.

CVE-2022-40674

2022-09-2905:18:54
redhat.com
access.redhat.com
78

0.006 Low

EPSS

Percentile

77.6%

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.

Mitigation

There is no known mitigation other than restricting applications using the expat library from processing XML content. Please update the affected packages as soon as possible.