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

exploitDog

redhat логотип

CVE-2022-49043

Опубликовано: 26 янв. 2025
Источник: redhat
CVSS3: 5.9

Описание

xmlXIncludeAddNode in xinclude.c in libxml2 before 2.11.0 has a use-after-free.

A flaw was found in libxml2 where improper handling of memory allocation failures in libxml2 can lead to crashes, memory leaks, or inconsistent states. While an attacker cannot directly control allocation failures, they may trigger denial-of-service conditions under extreme system stress.

Отчет

This vulnerability marked as moderate instead of important because memory allocation failures are not typically controllable by an attacker, limiting their exploitability. While improper handling of malloc failures can lead to crashes, memory leaks, or inconsistent states, it does not directly result in privilege escalation or arbitrary code execution. Additionally, in most real-world scenarios, failures due to memory exhaustion occur under extreme system stress rather than as part of an intentional attack vector. Within regulated environments, a combination of the following controls acts as a significant barrier to successfully exploiting a CWE-416: Use After Free vulnerability and therefore downgrades the severity of this particular CVE from Moderate to Low. Access to the platform is granted only after successful hard token-based multi-factor authentication (MFA) and is governed by least privilege to ensure that only authorized users and roles can execute or modify code. Red Hat also enforces least functionality, enabling only essential features, services, and ports. Hardening guidelines ensure the most restrictive settings required for operations, while baseline configurations enforce safe memory allocation and deallocation practices to reduce the risk of use-after-free vulnerabilities. The environment employs IPS/IDS and antimalware solutions to detect and prevent malicious code and provide real-time visibility into memory usage, lowering the risk of arbitrary code execution. Static code analysis and peer reviews enforce strong input validation and error handling, reducing the likelihood of denial-of-service (DoS) attacks. In the event of successful exploitation, process isolation prevents a compromised process from accessing memory freed by another, containing potential impact. Finally, memory protection mechanisms such as Data Execution Prevention (DEP) and Address Space Layout Randomization (ASLR) enhance resilience against memory-related vulnerabilities.

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

Mitigation for this issue is either not available or the currently available options do not meet the Red Hat Product Security criteria comprising ease of use and deployment, applicability to widespread installation base or stability.

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

ПлатформаПакетСостояниеРекомендацияРелиз
Red Hat Enterprise Linux 10libxml2Not affected
Red Hat Enterprise Linux 6libxml2Will not fix
Red Hat Enterprise Linux 7libxml2Will not fix
Red Hat JBoss Core Serviceslibxml2Affected
Discovery 1 for RHEL 9discovery/discovery-server-rhel9FixedRHSA-2025:148713.02.2025
Discovery 1 for RHEL 9discovery/discovery-ui-rhel9FixedRHSA-2025:148713.02.2025
Red Hat Enterprise Linux 8libxml2FixedRHSA-2025:151717.02.2025
Red Hat Enterprise Linux 8libxml2FixedRHSA-2025:151717.02.2025
Red Hat Enterprise Linux 8.8 Extended Update Supportlibxml2FixedRHSA-2025:250710.03.2025
Red Hat Enterprise Linux 9libxml2FixedRHSA-2025:135012.02.2025

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

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

Статус:

Moderate
Дефект:
CWE-416
https://bugzilla.redhat.com/show_bug.cgi?id=2342118libxml: use-after-free in xmlXIncludeAddNode

5.9 Medium

CVSS3

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

CVSS3: 8.1
ubuntu
5 месяцев назад

xmlXIncludeAddNode in xinclude.c in libxml2 before 2.11.0 has a use-after-free.

CVSS3: 8.1
nvd
5 месяцев назад

xmlXIncludeAddNode in xinclude.c in libxml2 before 2.11.0 has a use-after-free.

CVSS3: 8.1
msrc
5 месяцев назад

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

CVSS3: 8.1
debian
5 месяцев назад

xmlXIncludeAddNode in xinclude.c in libxml2 before 2.11.0 has a use-af ...

suse-cvrf
4 месяца назад

Security update for libxml2

5.9 Medium

CVSS3