Логотип exploitDog
Консоль
Логотип exploitDog

exploitDog

redhat логотип

CVE-2022-40674

Опубликовано: 14 сент. 2022
Источник: redhat
CVSS3: 8.1
EPSS Низкий

Описание

libexpat before 2.4.9 has a use-after-free in the doContent function in xmlparse.c.

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.

Отчет

This flaw is rated as important because this flaw can easily compromise the confidentiality, integrity, or availability of resources but a successful attack can not execute arbitrary code, or allow remote users to cause a denial of service because attack complexity is high and depends on conditions beyond the attacker's control.

Меры по смягчению последствий

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.

Затронутые пакеты

ПлатформаПакетСостояниеРекомендацияРелиз
Red Hat Enterprise Linux 8firefox:flatpak/firefoxOut of support scope
Red Hat Enterprise Linux 8thunderbird:flatpak/thunderbirdOut of support scope
Red Hat Enterprise Linux 8xmlrpc-cNot affected
Red Hat Enterprise Linux 9firefox:flatpak/firefoxAffected
Red Hat Enterprise Linux 9thunderbird:flatpak/thunderbirdAffected
Red Hat Enterprise Linux 6 Extended Lifecycle SupportexpatFixedRHSA-2022:692112.10.2022
Red Hat Enterprise Linux 6 Extended Lifecycle Supportcompat-expat1FixedRHSA-2022:696717.10.2022
Red Hat Enterprise Linux 7expatFixedRHSA-2022:683406.10.2022
Red Hat Enterprise Linux 7firefoxFixedRHSA-2022:699718.10.2022
Red Hat Enterprise Linux 7thunderbirdFixedRHSA-2022:699818.10.2022

Показывать по

Дополнительная информация

Статус:

Important
Дефект:
CWE-416
https://bugzilla.redhat.com/show_bug.cgi?id=2130769expat: a use-after-free in the doContent function in xmlparse.c

EPSS

Процентиль: 69%
0.00625
Низкий

8.1 High

CVSS3

Связанные уязвимости

CVSS3: 8.1
ubuntu
почти 3 года назад

libexpat before 2.4.9 has a use-after-free in the doContent function in xmlparse.c.

CVSS3: 8.1
nvd
почти 3 года назад

libexpat before 2.4.9 has a use-after-free in the doContent function in xmlparse.c.

CVSS3: 8.1
msrc
почти 3 года назад

Описание отсутствует

CVSS3: 8.1
debian
почти 3 года назад

libexpat before 2.4.9 has a use-after-free in the doContent function i ...

suse-cvrf
почти 3 года назад

Security update for expat

EPSS

Процентиль: 69%
0.00625
Низкий

8.1 High

CVSS3