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

exploitDog

redhat логотип

CVE-2025-0395

Опубликовано: 22 янв. 2025
Источник: redhat
CVSS3: 5.5
EPSS Низкий

Описание

When the assert() function in the GNU C Library versions 2.13 to 2.40 fails, it does not allocate enough space for the assertion failure message string and size information, which may lead to a buffer overflow if the message string size aligns to page size.

A flaw was found in the GNU C Library (glibc). A buffer overflow condition via the assert() function may be triggered due to glibc not allocating enough space for the assertion failure message string and size information. In certain conditions, a local attacker can exploit this, potentially leading to an application crash or other undefined behavior.

Отчет

The bug is with glib assert() function that is typically used to identify logic errors in programs. The specific vulnerability stems in not enough being allocated to fit an arbitrary length error statement that is passed to the assert() function. The lack of any check on the string length causes the buffer overflow.

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

ПлатформаПакетСостояниеРекомендацияРелиз
Red Hat Enterprise Linux 10glibcNot affected
Red Hat Enterprise Linux 6compat-glibcOut of support scope
Red Hat Enterprise Linux 6glibcOut of support scope
Red Hat Enterprise Linux 7compat-glibcOut of support scope
Red Hat Enterprise Linux 7glibcWill not fix
Red Hat OpenShift Container Platform 4rhcosFix deferred
Red Hat Enterprise Linux 8glibcFixedRHSA-2025:382814.04.2025
Red Hat Enterprise Linux 8glibcFixedRHSA-2025:382814.04.2025
Red Hat Enterprise Linux 9glibcFixedRHSA-2025:424428.04.2025
Red Hat Enterprise Linux 9glibcFixedRHSA-2025:424428.04.2025

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

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

Статус:

Moderate
Дефект:
CWE-131
https://bugzilla.redhat.com/show_bug.cgi?id=2339460glibc: buffer overflow in the GNU C Library's assert()

EPSS

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

5.5 Medium

CVSS3

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

CVSS3: 6.2
ubuntu
около 1 года назад

When the assert() function in the GNU C Library versions 2.13 to 2.40 fails, it does not allocate enough space for the assertion failure message string and size information, which may lead to a buffer overflow if the message string size aligns to page size.

CVSS3: 6.2
nvd
около 1 года назад

When the assert() function in the GNU C Library versions 2.13 to 2.40 fails, it does not allocate enough space for the assertion failure message string and size information, which may lead to a buffer overflow if the message string size aligns to page size.

CVSS3: 2.9
msrc
около 1 месяца назад

When the assert() function in the GNU C Library versions 2.13 to 2.40 fails, it does not allocate enough space for the assertion failure message string and size information, which may lead to a buffer overflow if the message string size aligns to page size.

CVSS3: 6.2
debian
около 1 года назад

When the assert() function in the GNU C Library versions 2.13 to 2.40 ...

suse-cvrf
около 1 года назад

Security update for glibc

EPSS

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

5.5 Medium

CVSS3