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

exploitDog

redhat логотип

CVE-2025-48945

Опубликовано: 16 июн. 2025
Источник: redhat
CVSS3: 5.5

Описание

pycares is a Python module which provides an interface to c-ares. c-ares is a C library that performs DNS requests and name resolutions asynchronously. Prior to version 4.9.0, pycares is vulnerable to a use-after-free condition that occurs when a Channel object is garbage collected while DNS queries are still pending. This results in a fatal Python error and interpreter crash. The vulnerability has been fixed in pycares 4.9.0 by implementing a safe channel destruction mechanism.

A flaw was found in pycares. A use-after-free condition arises when a Channel object is garbage collected while associated DNS queries remain pending, leading to a fatal Python error and interpreter crash. This vulnerability allows a local attacker to trigger the crash by initiating DNS queries and then manipulating the object lifetime. This condition causes a denial of service resulting from interpreter termination.

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

To mitigate this flaw avoid creating Channel objects per-request.

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

ПлатформаПакетСостояниеРекомендацияРелиз
Red Hat Ansible Automation Platform 2automation-controllerNot affected
Red Hat Ansible Automation Platform 2python3.11-pycaresNot affected
Red Hat Ansible Automation Platform 2python3x-pycaresNot affected
Red Hat Ansible Automation Platform 2python-pycaresNot affected
Red Hat Satellite 6python-pycaresNot affected
Red Hat Satellite 6satellite-capsule:el8/python-pycaresNot affected
Red Hat Satellite 6satellite:el8/python-pycaresNot affected
Red Hat Update Infrastructure 4 for Cloud Providerspython-pycaresNot affected

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

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

Статус:

Moderate
Дефект:
CWE-416
https://bugzilla.redhat.com/show_bug.cgi?id=2373046pycares: pycares Channel Use-After-Free

5.5 Medium

CVSS3

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

ubuntu
около 2 месяцев назад

pycares is a Python module which provides an interface to c-ares. c-ares is a C library that performs DNS requests and name resolutions asynchronously. Prior to version 4.9.0, pycares is vulnerable to a use-after-free condition that occurs when a Channel object is garbage collected while DNS queries are still pending. This results in a fatal Python error and interpreter crash. The vulnerability has been fixed in pycares 4.9.0 by implementing a safe channel destruction mechanism.

nvd
около 2 месяцев назад

pycares is a Python module which provides an interface to c-ares. c-ares is a C library that performs DNS requests and name resolutions asynchronously. Prior to version 4.9.0, pycares is vulnerable to a use-after-free condition that occurs when a Channel object is garbage collected while DNS queries are still pending. This results in a fatal Python error and interpreter crash. The vulnerability has been fixed in pycares 4.9.0 by implementing a safe channel destruction mechanism.

debian
около 2 месяцев назад

pycares is a Python module which provides an interface to c-ares. c-ar ...

5.5 Medium

CVSS3